X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/53fc883a91acf926d5102e6305ba87c30f5b30ab..3720004d9c5df84363ec221ed685efbe12399590:/app/views/diary_entry/comments.html.erb diff --git a/app/views/diary_entry/comments.html.erb b/app/views/diary_entry/comments.html.erb index fd90b7501..4e0350896 100644 --- a/app/views/diary_entry/comments.html.erb +++ b/app/views/diary_entry/comments.html.erb @@ -1,5 +1,5 @@ <% content_for :heading do %> -

<%= t('diary_entry.comments.has_commented_on', :display_name => @this_user.display_name) %>

+

<%= t('diary_entry.comments.has_commented_on', :display_name => @user.display_name) %>

<% end %> @@ -18,7 +18,7 @@ <% end -%>
- +
+ <%= link_to t('diary_entry.comments.older_comments') , { :page => @comment_pages.current.next} if @comment_pages.current.next %> + <%= link_to t('diary_entry.comments.newer_comments'), { :page => @comment_pages.current.previous } if @comment_pages.current.previous %> +