summaryrefslogtreecommitdiff
path: root/app/views/projects/commit/_signature.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/commit/_signature.html.haml')
-rw-r--r--app/views/projects/commit/_signature.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/projects/commit/_signature.html.haml b/app/views/projects/commit/_signature.html.haml
new file mode 100644
index 00000000000..60fa52557ef
--- /dev/null
+++ b/app/views/projects/commit/_signature.html.haml
@@ -0,0 +1,5 @@
+- if signature
+ - if signature.valid_signature?
+ = render partial: 'projects/commit/valid_signature_badge', locals: { signature: signature }
+ - else
+ = render partial: 'projects/commit/invalid_signature_badge', locals: { signature: signature }