diff options
author | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2018-10-11 19:08:34 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.m.gray@gmail.com> | 2018-10-11 19:08:34 +0300 |
commit | e5ae0be4381e7ca9a0e226a75132fb77916648a1 (patch) | |
tree | efcb0d23844295a98efcbf4ee8683383bf9013d6 /app | |
parent | 27dfc9f0ff67a439b4185df04817c6c5f93c23b4 (diff) | |
parent | 3b2e58c3e462c0e58620e44398808f3275333cea (diff) |
Merge branch 'gt-update-application-copy-secret-to-clipboard-data' into 'master'
Update copy to clipboard button data for application secret
Closes #52572
See merge request gitlab-org/gitlab-ce!22268
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin/applications/show.html.haml | 2 | ||||
-rw-r--r-- | app/views/doorkeeper/applications/show.html.haml | 2 |
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') |