X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c3b8897c44531788f06a51e24470e97a3abfb7b8..2ce7060757ecfe242ddcb045084551b6bde21368:/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 971993a9b..9dc800cff 100644 --- a/app/views/diary_entry/comments.html.erb +++ b/app/views/diary_entry/comments.html.erb @@ -13,12 +13,12 @@ <%= link_to comment.diary_entry.title, :action => :view, :display_name => comment.diary_entry.user.display_name, :id => comment.diary_entry.id %> <%= t 'diary_entry.comments.ago', :ago => time_ago_in_words(comment.created_at) %> - <%= comment.body %> + <%= comment.body.to_html %> <% 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 %> +