X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5efe07f164ae62bd758a24c571b8b2f6089ed696..d2d5d48f2993f2ffca415362a40b8a02127bd4a8:/app/views/notes/mine.html.erb diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb index 666c7dc8f..2751e1559 100644 --- a/app/views/notes/mine.html.erb +++ b/app/views/notes/mine.html.erb @@ -1,35 +1,35 @@ <% content_for :heading do %> -
<%= raw @description %>
+<%= t "notes.mine.subheading_html", :user => link_to(@user.display_name, user_path(@user)) %>
<% end %> -<%= render :partial => 'notes_paging_nav' %> +<%= render :partial => "notes_paging_nav" %>- | <%= t'note.mine.id' %> | -<%= t'note.mine.creator' %> | -<%= t'note.mine.description' %> | -<%= t'note.mine.created_at' %> | -<%= t'note.mine.last_changed' %> | +<%= t ".id" %> | +<%= t ".creator" %> | +<%= t ".description" %> | +<%= t ".created_at" %> | +<%= t ".last_changed" %> |
---|---|---|---|---|---|---|---|---|---|---|
<% if note.closed? %> - <%= image_tag("closed_note_marker.png", :alt => 'closed') %> + <%= image_tag("closed_note_marker.png", :alt => "closed", :size => "25x40") %> <% else %> - <%= image_tag("open_note_marker.png", :alt => 'open') %> + <%= image_tag("open_note_marker.png", :alt => "open", :size => "25x40") %> <% end %> | -<%= link_to note.id.to_s, :controller => "browse", :action => "note", :id => note.id %> | +<%= link_to note.id, browse_note_path(note) %> | <%= 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) %> | +<%= note.comments.first.body.to_html %> | +<%= t ".ago_html", :when => friendly_date(note.created_at) %> | +<%= t ".ago_html", :when => friendly_date(note.updated_at) %> |