summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-10-10 17:31:39 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-10-10 17:34:17 +0300
commit3b2e58c3e462c0e58620e44398808f3275333cea (patch)
treee821293a848aa8526cb2710f1982abfcc33bfd7e /app
parent8f13e0710cb457a17fceeb4e87c2efdd2df8ae19 (diff)
downloadgitlab-ce-3b2e58c3e462c0e58620e44398808f3275333cea.tar.gz
Update copy to clipboard button data for application secret
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/applications/show.html.haml2
-rw-r--r--app/views/doorkeeper/applications/show.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/admin/applications/show.html.haml b/app/views/admin/applications/show.html.haml
index e69143abe45..df3eeba907c 100644
--- a/app/views/admin/applications/show.html.haml
+++ b/app/views/admin/applications/show.html.haml
@@ -22,7 +22,7 @@
.input-group
%input.label.label-monospace{ id: "secret", type: "text", autocomplete: 'off', value: @application.secret, readonly: true }
.input-group-append
- = clipboard_button(target: '#application_id', title: _("Copy secret to clipboard"), class: "btn btn btn-default")
+ = clipboard_button(target: '#secret', title: _("Copy secret to clipboard"), class: "btn btn btn-default")
%tr
%td
= _('Callback URL')
diff --git a/app/views/doorkeeper/applications/show.html.haml b/app/views/doorkeeper/applications/show.html.haml
index 776bbc36ec2..cac00f9c854 100644
--- a/app/views/doorkeeper/applications/show.html.haml
+++ b/app/views/doorkeeper/applications/show.html.haml
@@ -25,7 +25,7 @@
.input-group
%input.label.label-monospace{ id: "secret", type: "text", autocomplete: 'off', value: @application.secret, readonly: true }
.input-group-append
- = clipboard_button(target: '#application_id', title: _("Copy secret to clipboard"), class: "btn btn btn-default")
+ = clipboard_button(target: '#secret', title: _("Copy secret to clipboard"), class: "btn btn btn-default")
%tr
%td
= _('Callback URL')