BigW Consortium Gitlab

Correct 'report as abuse' nesting in _more_actions_dropdown.html.haml

parent 4cc175f8
......@@ -6,10 +6,10 @@
%li
= button_tag 'Edit comment', class: 'js-note-edit btn btn-transparent'
%li.divider
- if current_user != note.author
%li
= link_to new_abuse_report_path(user_id: note.author.id, ref_url: noteable_note_url(note)) do
Report as abuse
- if current_user != note.author
%li
= link_to new_abuse_report_path(user_id: note.author.id, ref_url: noteable_note_url(note)) do
Report as abuse
- if note_editable
%li
= link_to note_url(note), method: :delete, data: { confirm: 'Are you sure you want to delete this comment?' }, remote: true, class: 'js-note-delete' do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment