X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/732e1ab03a3b0f003dd8dc10e505d8d952fa18b9..99df5f6179b63bac322ddcc6581350082f4b8846:/app/views/diary_entry/view.html.erb diff --git a/app/views/diary_entry/view.html.erb b/app/views/diary_entry/view.html.erb index 8bc2b6469..23a5230c1 100644 --- a/app/views/diary_entry/view.html.erb +++ b/app/views/diary_entry/view.html.erb @@ -25,6 +25,11 @@ <%= richtext_area :diary_comment, :body, :cols => 80, :rows => 15 %> <%= submit_tag t('diary_entry.view.save_button') %> <% end %> + <% if @user and @entry.subscribers.exists?(@user.id) %> +
+ <% elsif @user %> + + <% end %> <% end %> <%= if_not_logged_in(:div) do %>