]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/comments.html.erb
Use close button instead of geolink in sidebar content
[rails.git] / app / views / diary_entries / comments.html.erb
index 5f08f8d30a68efe79ebf67ec1a9a0e370a15ede9..e3a7ff23e12f8f8f5baf7012874d8745ff4d2724 100644 (file)
@@ -1,5 +1,6 @@
 <% content_for :heading do %>
-  <h1><%= t(".has_commented_on", :display_name => @user.display_name) %></h1>
+  <h1><%= t ".heading", :user => @user.display_name %></h1>
+  <p><%= t ".subheading_html", :user => link_to(@user.display_name, user_path(@user)) %></p>
 <% end %>
 
 <% if @comments.empty? %>