X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/48b85a7fee26f11217a6ef5141c1dce9ca239bb1..9ab15f38ea72ccd0a6b6715a9b8014c1f4ce1ad8:/app/views/diary_entries/_diary_entry.html.erb
diff --git a/app/views/diary_entries/_diary_entry.html.erb b/app/views/diary_entries/_diary_entry.html.erb
index 6616417a1..4080b8f95 100644
--- a/app/views/diary_entries/_diary_entry.html.erb
+++ b/app/views/diary_entries/_diary_entry.html.erb
@@ -15,7 +15,7 @@
-
+
<%= diary_entry.body.to_html %>
@@ -23,31 +23,33 @@
<%= render :partial => "location", :object => diary_entry %>
<% end %>
-
- <% if params[:action] == 'index' %>
- - <%= link_to t(".comment_link"), diary_entry_path(diary_entry.user, diary_entry, :anchor => "newcomment") %>
- - <%= link_to t(".reply_link"), new_message_path(diary_entry.user, :message => { :title => "Re: #{diary_entry.title}" }) %>
- - <%= link_to t(".comment_count", :count => diary_entry.visible_comments.count), diary_entry_path(diary_entry.user, diary_entry, :anchor => "comments") %>
- <% end %>
+
+