X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/54aa89a4bf8118a3fdec2d60acba6aeb7beaa8c8..7b05c1c060f3f85f47413ec7db984180514d3ba6:/app/views/diary_comments/index.html.erb?ds=inline 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 -%>