X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/732e1ab03a3b0f003dd8dc10e505d8d952fa18b9..948fd8c8faf1016d:/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 8bc2b6469..5079074e8 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 current_user and @entry.subscribers.exists?(current_user.id) %> +
+ <% elsif current_user %> + + <% end %> <% end %> <%= if_not_logged_in(:div) do %>