X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a5f412468107055f38b3f537b4bb8a01aec1db34..3159c3c3f715250ef97e468eb155b868322b0426:/app/views/notes/mine.html.erb diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb index 2966b81bb..266349b30 100644 --- a/app/views/notes/mine.html.erb +++ b/app/views/notes/mine.html.erb @@ -6,28 +6,30 @@ <%= render :partial => "notes_paging_nav" %>
- | <%= t ".id" %> | -<%= t ".creator" %> | -<%= t ".description" %> | -<%= t ".created_at" %> | -<%= t ".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, browse_note_path(note) %> | <%= note_author(note.author) %> | <%= note.comments.first.body.to_html %> | -<%= t ".ago_html", :when => friendly_date(note.created_at) %> | -<%= t ".ago_html", :when => friendly_date(note.updated_at) %> | +<%= friendly_date_ago(note.created_at) %> | +<%= friendly_date_ago(note.updated_at) %> |