diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-06 16:36:57 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 15:43:37 +0200 |
commit | 8ccce9d54541de5cbc8e5ce4a33fcefd402bdda4 (patch) | |
tree | aeee97b1c6dbe8e302fbcfdc0ea53fe1419ea7cb /app/views/projects/commit/_signature_badge.html.haml | |
parent | 3729c3a7c7cdfeed7a0fc363d18a67e9956bdf07 (diff) | |
download | gitlab-ce-8ccce9d54541de5cbc8e5ce4a33fcefd402bdda4.tar.gz |
use existing status-box css class for gpg badge
Diffstat (limited to 'app/views/projects/commit/_signature_badge.html.haml')
-rw-r--r-- | app/views/projects/commit/_signature_badge.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/commit/_signature_badge.html.haml b/app/views/projects/commit/_signature_badge.html.haml index 2e046c1f684..88eb0505424 100644 --- a/app/views/projects/commit/_signature_badge.html.haml +++ b/app/views/projects/commit/_signature_badge.html.haml @@ -1,7 +1,7 @@ -- css_classes = %w(btn btn-xs gpg-badge) + css_classes +- css_classes = %w(btn status-box gpg-status-box) + css_classes - title = capture do - .gpg-badge-popover-title + .gpg-popover-title = title - content = capture do @@ -11,7 +11,7 @@ GPG key ID: = signature.gpg_key_primary_keyid - = link_to('Learn about signing commits', help_page_path('workflow/gpg_signed_commits/index.md'), class: 'gpg-badge-popover-help-link') + = link_to('Learn about signing commits', help_page_path('workflow/gpg_signed_commits/index.md'), class: 'gpg-popover-help-link') %button{ class: css_classes, data: { toggle: 'popover', html: 'true', placement: 'auto bottom', title: title, content: content } } = label |