X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1a2bdacf1769d3157b895b662b6e43a2aa59d9e6..7dbf8d83369cb73929080c4ba23fdd7dcd0184df:/app/views/diary_entry/_diary_entry.html.erb diff --git a/app/views/diary_entry/_diary_entry.html.erb b/app/views/diary_entry/_diary_entry.html.erb index 763915e46..ce311c168 100644 --- a/app/views/diary_entry/_diary_entry.html.erb +++ b/app/views/diary_entry/_diary_entry.html.erb @@ -31,6 +31,12 @@ <%= link_to t('diary_entry.diary_entry.edit_link'), :action => 'edit', :display_name => diary_entry.user.display_name, :id => diary_entry.id %> <% end %> + <% if current_user and diary_entry.user != current_user %> +