diff options
author | haseeb <haseebeqx@yahoo.com> | 2018-03-07 18:36:16 +0530 |
---|---|---|
committer | haseeb <haseebeqx@yahoo.com> | 2018-03-07 18:36:16 +0530 |
commit | 101c37085f5342189b64a04f19c742cbd91e01f4 (patch) | |
tree | 1fd6ce9b4410624479c36f4a9a118a0e2bb5d111 /app/views/shared | |
parent | c5cd31142bd40fe2529d2c5009cbb1ae664d9c1d (diff) | |
download | gitlab-ce-101c37085f5342189b64a04f19c742cbd91e01f4.tar.gz |
changes based on review
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/snippets/_header.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/shared/snippets/_header.html.haml b/app/views/shared/snippets/_header.html.haml index 43567bae619..836230ae8ee 100644 --- a/app/views/shared/snippets/_header.html.haml +++ b/app/views/shared/snippets/_header.html.haml @@ -34,17 +34,17 @@ .input-group .input-group-btn %button.btn.embed-toggle{ 'data-toggle': 'dropdown', type: 'button' } - %span#embed-action= _("Embed") + %span.js-embed-action= _("Embed") = sprite_icon('angle-down', size: 12) %ul.dropdown-menu.dropdown-menu-selectable.embed-toggle-list %li - %button#embed-btn.btn.btn-transparent.is-active{ type: 'button' } + %button.js-embed-btn.btn.btn-transparent.is-active{ type: 'button' } %strong.embed-toggle-list-item= _("Embed") %li - %button#share-btn.btn.btn-transparent{ type: 'button' } + %button.js-share-btn.btn.btn-transparent{ type: 'button' } %strong.embed-toggle-list-item= _("Share") - %input#snippet-url-area.snippet-embed-input.form-control{ type: "text", autocomplete: 'off', value: snippet_embed } + %input.js-snippet-url-area.snippet-embed-input.form-control{ type: "text", autocomplete: 'off', value: snippet_embed } .input-group-btn - %button#clipboard-btn.btn.btn-default{ title: "Copy to clipboard", type: "button", data: { toggle: "tooltip", placement: "bottom", title: "Copy source to clipboard", container: "body", clipboard_target: '#snippet-url-area' } } + %button.js-clipboard-btn.btn.btn-default.has-tooltip{ title: "Copy to clipboard", 'data-clipboard-target': '#snippet-url-area' } = sprite_icon('duplicate', size: 16) .clearfix |