forked from NYANDEV/forgejo
Missing signed commit display translation (#2134)
This commit is contained in:
parent
89cd4dd424
commit
5e9bcb6301
2 changed files with 4 additions and 2 deletions
|
@ -581,6 +581,8 @@ commits.message = Message
|
||||||
commits.date = Date
|
commits.date = Date
|
||||||
commits.older = Older
|
commits.older = Older
|
||||||
commits.newer = Newer
|
commits.newer = Newer
|
||||||
|
commits.signed_by = Signed by
|
||||||
|
commits.gpg_key_id = GPG key ID
|
||||||
|
|
||||||
ext_issues = Ext Issues
|
ext_issues = Ext Issues
|
||||||
ext_issues.desc = Ext Issues link to an external issue management page
|
ext_issues.desc = Ext Issues link to an external issue management page
|
||||||
|
|
|
@ -45,9 +45,9 @@
|
||||||
{{if .Verification.Verified }}
|
{{if .Verification.Verified }}
|
||||||
<div class="ui bottom attached positive message" style="text-align: initial;color: black;">
|
<div class="ui bottom attached positive message" style="text-align: initial;color: black;">
|
||||||
<i class="green lock icon"></i>
|
<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}}>
|
<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>
|
</div>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="ui bottom attached message" style="text-align: initial;color: black;">
|
<div class="ui bottom attached message" style="text-align: initial;color: black;">
|
||||||
|
|
Loading…
Reference in a new issue