debian-mirror-gitlab/app/views/projects/commit/_signature.html.haml
2020-05-25 16:23:42 +05:30

3 lines
195 B
Text

- if signature
- uri = "projects/commit/#{"x509/" if x509_signature?(signature)}"
= render partial: "#{uri}#{signature.verification_status}_signature_badge", locals: { signature: signature }