summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-09-06 20:58:17 +0530
committerkushalpandya <kushal@gitlab.com>2017-09-06 20:58:17 +0530
commit754f2e38297933bfde65f8f21427e274b7e29f3a (patch)
tree0f6ed4ee2e9215176f8f6c176e5a920046e18fab
parentcdd8f2f345aeb3fb05bbe8f567e72b717f388636 (diff)
downloadgitlab-ce-754f2e38297933bfde65f8f21427e274b7e29f3a.tar.gz
Prevent `btn-transparent` class from being added on `Copy link` action
-rw-r--r--app/views/projects/notes/_more_actions_dropdown.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/_more_actions_dropdown.html.haml b/app/views/projects/notes/_more_actions_dropdown.html.haml
index 7e854186973..88085c7185b 100644
--- a/app/views/projects/notes/_more_actions_dropdown.html.haml
+++ b/app/views/projects/notes/_more_actions_dropdown.html.haml
@@ -7,7 +7,7 @@
= 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)
+ = clipboard_button(text: noteable_note_url(note), title: 'Copy reference to clipboard', button_text: 'Copy link', class: 'btn-clipboard', 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