X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9d3b419aad3069db13fc0169049a30fbc2b2a288..e5b5faad7228253147bc489402ef7640b071eaaf:/app/views/notes/mine.html.erb?ds=sidebyside
diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb
index d7d866337..666c7dc8f 100644
--- a/app/views/notes/mine.html.erb
+++ b/app/views/notes/mine.html.erb
@@ -17,7 +17,7 @@
<% @notes.each do |note| -%>
class="creator"<% end %>>
- <% if note.status == "closed" %>
+ <% if note.closed? %>
<%= image_tag("closed_note_marker.png", :alt => 'closed') %>
<% else %>
<%= image_tag("open_note_marker.png", :alt => 'open') %>
@@ -26,8 +26,8 @@
| <%= link_to note.id.to_s, :controller => "browse", :action => "note", :id => note.id %> |
<%= note_author(note.author) %> |
<%= note.comments.first.body.to_html %> |
- <%= friendly_date(note.created_at) %> |
- <%= friendly_date(note.updated_at) %> |
+ <%= t 'note.mine.ago_html', :when => friendly_date(note.created_at) %> |
+ <%= t 'note.mine.ago_html', :when => friendly_date(note.updated_at) %> |
<% end -%>