Move the 'report this note' and surrounding sentence down the sidebar beneath the commont/resolve form to give it less prominence.
+ form.note-comment-resolve {
+ margin: 10px 0px 40px 0px;
+ }
+
.subscribe-buttons input {
font-size: 90%;
line-height: 15px;
.subscribe-buttons input {
font-size: 90%;
line-height: 15px;
<p class='alert alert-warning'><%= t "javascripts.notes.show.anonymous_warning" %></p>
<% end -%>
<p class='alert alert-warning'><%= t "javascripts.notes.show.anonymous_warning" %></p>
<% end -%>
- <% if current_user && current_user != @note.author %>
- <p class="text-muted"><%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %></p>
- <% end %>
-
<% if @note_comments.length > 1 %>
<div class='note-comments'>
<ul class="list-unstyled">
<% if @note_comments.length > 1 %>
<div class='note-comments'>
<ul class="list-unstyled">
<% if @note.status == "open" %>
<% if current_user -%>
<% if @note.status == "open" %>
<% if current_user -%>
+ <form class="note-comment-resolve" action="#">
<div class="mb-3">
<textarea class="form-control" name="text" cols="40" rows="5" maxlength="2000"></textarea>
</div>
<div class="mb-3">
<textarea class="form-control" name="text" cols="40" rows="5" maxlength="2000"></textarea>
</div>
</form>
<% end -%>
<% else %>
</form>
<% end -%>
<% else %>
+ <form class="note-comment-resolve" action="#">
<input type="hidden" name="text" value="" autocomplete="off">
<div class="btn-wrapper">
<% if current_user and current_user.moderator? -%>
<input type="hidden" name="text" value="" autocomplete="off">
<div class="btn-wrapper">
<% if current_user and current_user.moderator? -%>
+
+ <% if current_user && current_user != @note.author %>
+ <p class="text-muted"><%= t "javascripts.notes.show.report_link_html", :link => report_link(t(".report"), @note) %></p>
+ <% end %>