summaryrefslogtreecommitdiff
path: root/app/views/projects/notes/_more_actions_dropdown.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/notes/_more_actions_dropdown.html.haml')
-rw-r--r--app/views/projects/notes/_more_actions_dropdown.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/notes/_more_actions_dropdown.html.haml b/app/views/projects/notes/_more_actions_dropdown.html.haml
index 5930209a682..7e854186973 100644
--- a/app/views/projects/notes/_more_actions_dropdown.html.haml
+++ b/app/views/projects/notes/_more_actions_dropdown.html.haml
@@ -6,6 +6,8 @@
%span.icon
= custom_icon('ellipsis_v')
%ul.dropdown-menu.more-actions-dropdown.dropdown-open-left
+ %li
+ = clipboard_button(text: noteable_note_url(note), title: "Copy reference to clipboard", button_text: 'Copy link', hide_tooltip: true, hide_button_icon: true)
- unless is_current_user
%li
= link_to new_abuse_report_path(user_id: note.author.id, ref_url: noteable_note_url(note)) do