]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entry/_diary_comment.rhtml
Couple of bugfixes, brackets and quotes
[rails.git] / app / views / diary_entry / _diary_comment.rhtml
index 2e7d0a53103392e7d907269d2ff2439405d48446..45cce0b25326f32dd7a6fb1877ac6c5ea344d964 100644 (file)
@@ -1,3 +1,3 @@
-<h4>Comment from <%= link_to diary_comment.user.display_name, :controller => 'user', :action => 'view', :display_name => diary_comment.user.display_name %>  at <%= diary_comment.created_at %></h4>
+<h4 id="comment<%= diary_comment.id %>"><%= t('diary_entry.comment_from', :link_user => (link_to h(diary_comment.user.display_name), :controller => 'user', :action => 'view', :display_name => diary_comment.user.display_name), :comment_created_at => l(diary_comment.created_at)) %></h4>
 <%= htmlize(diary_comment.body) %>
 <hr />