X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..a5f412468107055f38b3f537b4bb8a01aec1db34:/app/views/notes/mine.html.erb
diff --git a/app/views/notes/mine.html.erb b/app/views/notes/mine.html.erb
index e019c1bfe..2966b81bb 100644
--- a/app/views/notes/mine.html.erb
+++ b/app/views/notes/mine.html.erb
@@ -1,6 +1,6 @@
<% content_for :heading do %>
-
<%= @heading %>
- <%= raw @description %>
+ <%= t "notes.mine.heading", :user => @user.display_name %>
+ <%= t "notes.mine.subheading_html", :user => link_to(@user.display_name, user_path(@user)) %>
<% end %>
<%= render :partial => "notes_paging_nav" %>
@@ -15,7 +15,7 @@
<%= t ".last_changed" %> |
<% @notes.each do |note| -%>
- class="creator"<% end %>>
+
class="creator"<% end %>>
<% if note.closed? %>
<%= image_tag("closed_note_marker.png", :alt => "closed") %>
@@ -23,7 +23,7 @@
<%= image_tag("open_note_marker.png", :alt => "open") %>
<% end %>
|
- <%= link_to note.id.to_s, :controller => "browse", :action => "note", :id => note.id %> |
+ <%= 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) %> |