1
0
Fork 0

Missing signed commit display translation (#2134)

This commit is contained in:
Lauris BH 2017-07-10 04:46:06 +03:00 committed by Lunny Xiao
parent 89cd4dd424
commit 5e9bcb6301
2 changed files with 4 additions and 2 deletions

View file

@ -581,6 +581,8 @@ commits.message = Message
commits.date = Date
commits.older = Older
commits.newer = Newer
commits.signed_by = Signed by
commits.gpg_key_id = GPG key ID
ext_issues = Ext Issues
ext_issues.desc = Ext Issues link to an external issue management page

View file

@ -45,9 +45,9 @@
{{if .Verification.Verified }}
<div class="ui bottom attached positive message" style="text-align: initial;color: black;">
<i class="green lock icon"></i>
<span style="color: #2C662D;">Signed by :</span>
<span style="color: #2C662D;">{{.i18n.Tr "repo.commits.signed_by"}}:</span>
<a href="{{.Verification.SigningUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a> <{{.Commit.Committer.Email}}>
<span class="pull-right"><span style="color: #2C662D;">GPG key ID:</span> {{.Verification.SigningKey.KeyID}}</span>
<span class="pull-right"><span style="color: #2C662D;">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> {{.Verification.SigningKey.KeyID}}</span>
</div>
{{else}}
<div class="ui bottom attached message" style="text-align: initial;color: black;">