diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-06 00:13:48 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-06 00:13:48 +0300 |
commit | 339b91536372cb04b4528725aae408145628ca69 (patch) | |
tree | 0f74e9659c715544da2ef72772756450a89d2b4b /app/views/projects | |
parent | c8419b0227e069a7403f41589f1d0ef690e762f1 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/commit/x509/_certificate_details.html.haml | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/app/views/projects/commit/x509/_certificate_details.html.haml b/app/views/projects/commit/x509/_certificate_details.html.haml index cea216d0d9d..22d297248f8 100644 --- a/app/views/projects/commit/x509/_certificate_details.html.haml +++ b/app/views/projects/commit/x509/_certificate_details.html.haml @@ -1,17 +1,18 @@ -.gpg-popover-certificate-details - %strong= _('Certificate Subject') - - if signature.x509_certificate.revoked? - %strong.cred= _('(revoked)') - %ul - - x509_subject(signature.x509_certificate.subject, ["CN", "O"]).map do |key, value| - %li= key + "=" + value - %li= _('Subject Key Identifier:') - %li.unstyled= signature.x509_certificate.subject_key_identifier.gsub(":", " ") +- if signature.x509_certificate + .gpg-popover-certificate-details + %strong= _('Certificate Subject') + - if signature.x509_certificate.revoked? + %strong.cred= _('(revoked)') + %ul + - x509_subject(signature.x509_certificate.subject, ["CN", "O"]).map do |key, value| + %li= key + "=" + value + %li= _('Subject Key Identifier:') + %li.unstyled= signature.x509_certificate.subject_key_identifier.gsub(":", " ") -.gpg-popover-certificate-details - %strong= _('Certificate Issuer') - %ul - - x509_subject(signature.x509_certificate.x509_issuer.subject, ["CN", "OU", "O"]).map do |key, value| - %li= key + "=" + value - %li= _('Subject Key Identifier:') - %li.unstyled= signature.x509_certificate.x509_issuer.subject_key_identifier.gsub(":", " ") + .gpg-popover-certificate-details + %strong= _('Certificate Issuer') + %ul + - x509_subject(signature.x509_certificate.x509_issuer.subject, ["CN", "OU", "O"]).map do |key, value| + %li= key + "=" + value + %li= _('Subject Key Identifier:') + %li.unstyled= signature.x509_certificate.x509_issuer.subject_key_identifier.gsub(":", " ") |