summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_signature.html.haml
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-06-23 22:52:43 +0200
committerAlexis Reigel <mail@koffeinfrei.org>2017-07-27 15:43:36 +0200
commit78b5264511a76e481110236e9c14764d9c1b953a (patch)
tree4668a172d537a2a7de8459e19e4c178ec292ba86 /app/views/projects/commit/_signature.html.haml
parent2ea951454a535ba16693c083c122218b8608329b (diff)
downloadgitlab-ce-78b5264511a76e481110236e9c14764d9c1b953a.tar.gz
add gpg commit popover badges
Diffstat (limited to 'app/views/projects/commit/_signature.html.haml')
-rw-r--r--app/views/projects/commit/_signature.html.haml4
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)