diff options
Diffstat (limited to 'app/views/projects/commit/x509/_verified_signature_badge.html.haml')
-rw-r--r-- | app/views/projects/commit/x509/_verified_signature_badge.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/projects/commit/x509/_verified_signature_badge.html.haml b/app/views/projects/commit/x509/_verified_signature_badge.html.haml new file mode 100644 index 00000000000..4964b1b8ee7 --- /dev/null +++ b/app/views/projects/commit/x509/_verified_signature_badge.html.haml @@ -0,0 +1,6 @@ +- title = capture do + = _('This commit was signed with a <strong>verified</strong> signature and the committer email is verified to belong to the same user.').html_safe + +- locals = { signature: signature, title: title, label: _('Verified'), css_class: 'valid', icon: 'status_success_borderless', show_user: true } + += render partial: 'projects/commit/signature_badge', locals: locals |