X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4755096a720bf4efe35a4eef23da8bb2b8c97658..0e6d4f18dabf9ccf00567886d8e373dbef1f6966:/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 d12942a7b..6a2a21abc 100644 --- a/app/views/diary_entry/view.html.erb +++ b/app/views/diary_entry/view.html.erb @@ -21,6 +21,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 %>