X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2fcee9625dcd192d0c524f27d9cb182c883e31b4..3ea2c30c58bb23247296fc212fcf7426668248a6:/app/views/notes/show.html.erb diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index fda8946b6..3a1224676 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -49,6 +49,8 @@
+
<% if current_user.moderator? -%> <%= submit_tag t(".hide"), :name => "hide", :class => "btn btn-light", @@ -65,6 +67,10 @@ :url => comment_api_note_url(@note, "json") } %>
+ <% else -%> +

+ <%= link_to t(".log_in_to_comment"), login_path(:referer => request.fullpath) %> +

<% end -%> <% else %>