diff options
author | Alexis Reigel <mail@koffeinfrei.org> | 2017-06-23 22:52:43 +0200 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-07-27 15:43:36 +0200 |
commit | 78b5264511a76e481110236e9c14764d9c1b953a (patch) | |
tree | 4668a172d537a2a7de8459e19e4c178ec292ba86 /app/views/projects/commit | |
parent | 2ea951454a535ba16693c083c122218b8608329b (diff) | |
download | gitlab-ce-78b5264511a76e481110236e9c14764d9c1b953a.tar.gz |
add gpg commit popover badges
Diffstat (limited to 'app/views/projects/commit')
-rw-r--r-- | app/views/projects/commit/_signature.html.haml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/projects/commit/_signature.html.haml b/app/views/projects/commit/_signature.html.haml index 48665ede6eb..00120a665c5 100644 --- a/app/views/projects/commit/_signature.html.haml +++ b/app/views/projects/commit/_signature.html.haml @@ -1,4 +1,2 @@ - if signature - %a.btn.disabled.btn-xs{ class: ('btn-success' if signature.valid_signature?) } - %i.fa.fa-key{ class: ('fa-inverse' if signature.valid_signature?) } - = signature.valid_signature? ? 'Verified' : 'Unverified' + = commit_gpg_signature_badge(signature) |