diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 18:40:28 +0300 |
commit | b595cb0c1dec83de5bdee18284abe86614bed33b (patch) | |
tree | 8c3d4540f193c5ff98019352f554e921b3a41a72 /app/assets/javascripts/deploy_keys/components/key.vue | |
parent | 2f9104a328fc8a4bddeaa4627b595166d24671d0 (diff) |
Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42
Diffstat (limited to 'app/assets/javascripts/deploy_keys/components/key.vue')
-rw-r--r-- | app/assets/javascripts/deploy_keys/components/key.vue | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/app/assets/javascripts/deploy_keys/components/key.vue b/app/assets/javascripts/deploy_keys/components/key.vue index 8a7d3430063..d811bb3b0bf 100644 --- a/app/assets/javascripts/deploy_keys/components/key.vue +++ b/app/assets/javascripts/deploy_keys/components/key.vue @@ -115,10 +115,20 @@ export default { <div role="rowheader" class="table-mobile-header">{{ s__('DeployKeys|Deploy key') }}</div> <div class="table-mobile-content" data-qa-selector="key_container"> <strong class="title" data-qa-selector="key_title_content"> {{ deployKey.title }} </strong> - <div class="fingerprint" data-qa-selector="key_md5_fingerprint_content"> - {{ __('MD5') }}:{{ deployKey.fingerprint }} - </div> - <div class="fingerprint">{{ __('SHA256') }}:{{ deployKey.fingerprint_sha256 }}</div> + <dl> + <dt>{{ __('SHA256') }}</dt> + <dd class="fingerprint" data-qa-selector="key_sha256_fingerprint_content"> + {{ deployKey.fingerprint_sha256 }} + </dd> + <template v-if="deployKey.fingerprint"> + <dt> + {{ __('MD5') }} + </dt> + <dd class="fingerprint" data-qa-selector="key_md5_fingerprint_content"> + {{ deployKey.fingerprint }} + </dd> + </template> + </dl> </div> </div> <div class="table-section section-30 section-wrap"> |