diff options
author | Paul Slaughter <pslaughter@gitlab.com> | 2018-10-03 01:44:18 -0500 |
---|---|---|
committer | Paul Slaughter <pslaughter@gitlab.com> | 2018-10-03 13:18:20 -0500 |
commit | 5a286eb7a3a0c395d35c722ce6a067aca47473f2 (patch) | |
tree | 1eb9364a353cf0dca945e073f7b7f74b246307f2 /app/assets/javascripts/diffs/components/commit_item.vue | |
parent | c375171bfd4b25d8cf4d7a95e2c65c655c7d647c (diff) | |
download | gitlab-ce-5a286eb7a3a0c395d35c722ce6a067aca47473f2.tar.gz |
Add signature badge to diffs/commit_item
**Notes:**
- Also exposes commit.signature_html in diffs.json
Diffstat (limited to 'app/assets/javascripts/diffs/components/commit_item.vue')
-rw-r--r-- | app/assets/javascripts/diffs/components/commit_item.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/assets/javascripts/diffs/components/commit_item.vue b/app/assets/javascripts/diffs/components/commit_item.vue index 5758588e82e..4028002febd 100644 --- a/app/assets/javascripts/diffs/components/commit_item.vue +++ b/app/assets/javascripts/diffs/components/commit_item.vue @@ -102,6 +102,10 @@ export default { ></pre> </div> <div class="commit-actions flex-row d-none d-sm-flex"> + <div + v-if="commit.signatureHtml" + v-html="commit.signatureHtml" + ></div> <div class="commit-sha-group"> <div class="label label-monospace" |