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>2022-07-09 15:08:17 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-09 15:08:17 +0300
commit0e26adf3e663234407a431f6e5eea9255440f4a3 (patch)
tree35b024671e78842713192684084feb29f58a1532 /app/assets/javascripts/deploy_keys
parent3834f7913d10b1e549b0c16bf12cd35dd5c97bb4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/deploy_keys')
-rw-r--r--app/assets/javascripts/deploy_keys/components/key.vue18
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">