summaryrefslogtreecommitdiff
path: root/app/views/projects/triggers/_trigger.html.haml
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-04-06 21:10:14 +0000
committerRobert Speicher <robert@gitlab.com>2017-04-06 21:10:14 +0000
commit12c18ee546c10bd6af0dbeb5d86f16836863356b (patch)
tree5b748409f1bc25262cab2308dbe1b38e70e5e487 /app/views/projects/triggers/_trigger.html.haml
parent00e00cacf8cb4ce3bfb733bae47e7e594e91e294 (diff)
downloadgitlab-ce-12c18ee546c10bd6af0dbeb5d86f16836863356b.tar.gz
Copy diff file path as GFM
Diffstat (limited to 'app/views/projects/triggers/_trigger.html.haml')
-rw-r--r--app/views/projects/triggers/_trigger.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/triggers/_trigger.html.haml b/app/views/projects/triggers/_trigger.html.haml
index ed68e0ed56d..9b5f63ae81a 100644
--- a/app/views/projects/triggers/_trigger.html.haml
+++ b/app/views/projects/triggers/_trigger.html.haml
@@ -2,7 +2,7 @@
%td
- if can?(current_user, :admin_trigger, trigger)
%span= trigger.token
- = clipboard_button(clipboard_text: trigger.token, title: "Copy trigger token to clipboard")
+ = clipboard_button(text: trigger.token, title: "Copy trigger token to clipboard")
- else
%span= trigger.short_token