X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e54f9ed6af7ab3475948ab47b45ccdcc283cd49b..e01df312b8fee6f67bf84b4c8293b57789b6fe2c:/app/views/notes/mine.html.erb diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb index c58548b47..fd0e29165 100644 --- a/app/views/notes/mine.html.erb +++ b/app/views/notes/mine.html.erb @@ -1,19 +1,21 @@ -

<%= @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.creator' %><%= t'note.mine.description' %><%= t'note.mine.created_at' %> <%= t'note.mine.last_changed' %>
<% if note.status == "closed" %> <%= image_tag("closed_note_marker.png", :alt => 'closed') %> @@ -22,14 +24,10 @@ <% 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 %> <%= note.comments.first.body.to_html %> <%= l note.created_at %><%= l note.updated_at %><%= 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) %>