X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/49f3bdddca927916b45ac18cd9e51da5825c386f..2882a65d21fd5758c2a90d1cbd808103ab7b8000:/app/views/diary_comments/index.html.erb 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 -%>