X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4d91fe3dd95c1058cb8d24fd4c900223e30b9059..2a44ff581f4c547a3637ea52567a3398b1d8bfe0:/app/views/notes/mine.html.erb diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb index 50c15cd9d..13824419e 100644 --- a/app/views/notes/mine.html.erb +++ b/app/views/notes/mine.html.erb @@ -1,35 +1,33 @@ -

<%= @heading %>

-

<%= raw @description %>

+<% content_for :heading do %> +

<%= @heading %>

+

<%= raw @description %>

+<% end %> <%= render :partial => 'notes_paging_nav' %> - +
- - - - - + + + + + <% @notes.each do |note| -%> - bgcolor="#EEEEEE"<% end %>> + class="creator"<% end %>> - <% if note.author.nil? %> - - <% else %> - - <% end %> - - - + + + + <% end -%>
<%= t'note.mine.id' %><%= t'changeset.changesets.user' %><%= t'changeset.changesets.comment' %><%= t'changeset.changesets.saved_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') %> <% end %> <%= link_to note.id.to_s, :controller => "browse", :action => "note", :id => note.id %> <%= note.author_name %> <%= link_to h(note.author_name), :controller => "user", :action => "view", :display_name => note.author_name %> <%= htmlize note.comments.first.body %> <%= l note.created_at %><%= l note.updated_at %><%= 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) %>