X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4755096a720bf4efe35a4eef23da8bb2b8c97658..e8942437c018e2b0db14776fdfeab576faf723b8:/app/views/diary_entry/view.html.erb?ds=sidebyside diff --git a/app/views/diary_entry/view.html.erb b/app/views/diary_entry/view.html.erb index d12942a7b..3c2264d3e 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 current_user and @entry.subscribers.exists?(current_user.id) %> +
+ <% elsif current_user %> + + <% end %> <% end %> <%= if_not_logged_in(:div) do %>