Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-12-06 00:13:48 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-12-06 00:13:48 +0300
commit339b91536372cb04b4528725aae408145628ca69 (patch)
tree0f74e9659c715544da2ef72772756450a89d2b4b /app/views/projects
parentc8419b0227e069a7403f41589f1d0ef690e762f1 (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.haml33
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(":", " ")