From: Harry Wood Date: Mon, 27 Jun 2022 12:03:39 +0000 (+0100) Subject: Move note reporting link to bottom of the sidebar X-Git-Tag: live~1109^2~1 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/7eae946b9ab6ca317373d70f088498720002f2b8 Move note reporting link to bottom of the sidebar Move the 'report this note' and surrounding sentence down the sidebar beneath the commont/resolve form to give it less prominence. --- diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 1f80a9b5b..cd3ae4889 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -841,6 +841,10 @@ tr.turn:hover { } } + form.note-comment-resolve { + margin: 10px 0px 40px 0px; + } + .subscribe-buttons input { font-size: 90%; line-height: 15px; diff --git a/app/views/browse/note.html.erb b/app/views/browse/note.html.erb index 24240d6df..0706dbb46 100644 --- a/app/views/browse/note.html.erb +++ b/app/views/browse/note.html.erb @@ -28,10 +28,6 @@

<%= t "javascripts.notes.show.anonymous_warning" %>

<% end -%> - <% if current_user && current_user != @note.author %> -

<%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %>

- <% end %> - <% if @note_comments.length > 1 %>