X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cf4cfc530ae54abee7b6a0dccbc9d4603ab35611..732e1ab03a3b0f003dd8dc10e505d8d952fa18b9:/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 76a6666f3..5a34bad5e 100644 --- a/app/views/diary_entry/_diary_entry.html.erb +++ b/app/views/diary_entry/_diary_entry.html.erb @@ -31,11 +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 @user and diary_entry.user.id != @user.id %>