X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/49f3bdddca927916b45ac18cd9e51da5825c386f..7d4cc85a312cb79fd1c4b0f22626722bea1d736d:/app/views/diary_comments/index.html.erb?ds=sidebyside diff --git a/app/views/diary_comments/index.html.erb b/app/views/diary_comments/index.html.erb index 0dd03d9d0..e68b3fb6b 100644 --- a/app/views/diary_comments/index.html.erb +++ b/app/views/diary_comments/index.html.erb @@ -5,30 +5,6 @@ <% if @comments.empty? %>

<%= t ".no_comments" %>

- <% else %> - - - - - - - - - <% @comments.each do |comment| -%> - - - - - - <% end -%> -
<%= t ".post" %><%= t ".when" %><%= t ".comment" %>
"><%= link_to comment.diary_entry.title, diary_entry_path(comment.diary_entry.user, comment.diary_entry) %>"> - <%= friendly_date_ago(comment.created_at) %> - "><%= comment.body.to_html %>
- - <%= render "shared/pagination", - :newer_key => "diary_comments.index.newer_comments", - :older_key => "diary_comments.index.older_comments", - :newer_id => @newer_comments_id, - :older_id => @older_comments_id %> + <%= render :partial => "page" %> <% end -%>