X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0d3a9ed9cb47ce3b89ea9eaffbb589f9a9ff6d22..6c3a31d06c8b8dab8b141c5ae54aaad55614b721:/app/views/notes/mine.html.erb diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb index 50c15cd9d..666c7dc8f 100644 --- a/app/views/notes/mine.html.erb +++ b/app/views/notes/mine.html.erb @@ -1,35 +1,33 @@ -
<%= raw @description %>
+<% content_for :heading do %> +<%= raw @description %>
+<% end %> <%= render :partial => 'notes_paging_nav' %> -<%= t'note.mine.id' %> | -<%= t'changeset.changesets.user' %> | -<%= t'changeset.changesets.comment' %> | -<%= t'changeset.changesets.saved_at' %> | +<%= t'note.mine.creator' %> | +<%= t'note.mine.description' %> | +<%= t'note.mine.created_at' %> | <%= t'note.mine.last_changed' %> | |||
---|---|---|---|---|---|---|---|---|---|---|
- <% if note.status == "closed" %> + <% if note.closed? %> <%= image_tag("closed_note_marker.png", :alt => 'closed') %> <% else %> <%= image_tag("open_note_marker.png", :alt => 'open') %> <% end %> | <%= link_to note.id.to_s, :controller => "browse", :action => "note", :id => note.id %> | - <% if note.author.nil? %> -<%= note.author_name %> | - <% else %> -<%= link_to h(note.author_name), :controller => "user", :action => "view", :display_name => note.author_name %> | - <% end %> -<%= htmlize note.comments.first.body %> | -<%= l note.created_at %> | -<%= l note.updated_at %> | +<%= note_author(note.author) %> | +<%= note.comments.first.body.to_html %> | +<%= t 'note.mine.ago_html', :when => friendly_date(note.created_at) %> | +<%= t 'note.mine.ago_html', :when => friendly_date(note.updated_at) %> |