X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/7614534bdb738821e20d04bbf44c4628313ae24f..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 410e13047..5a34bad5e 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 @user and diary_entry.user.id != @user.id %> +