X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52611a5bfa69165179bd871b925b5f8b14942e2e..801271363d2ce19b7b2d25e9181e7e035d39e35d:/app/views/notes/mine.html.erb diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb index fd0e29165..13824419e 100644 --- a/app/views/notes/mine.html.erb +++ b/app/views/notes/mine.html.erb @@ -8,16 +8,16 @@
- | <%= 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.status == "closed" %> + <% if note.closed? %> <%= image_tag("closed_note_marker.png", :alt => 'closed') %> <% else %> <%= image_tag("open_note_marker.png", :alt => 'open') %> @@ -25,9 +25,9 @@ | <%= link_to note.id.to_s, :controller => "browse", :action => "note", :id => note.id %> | <%= 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) %> |