aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/commit_page.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/commit_page.tmpl')
-rw-r--r--templates/repo/commit_page.tmpl18
1 files changed, 9 insertions, 9 deletions
diff --git a/templates/repo/commit_page.tmpl b/templates/repo/commit_page.tmpl
index 6260d2e965..01cbd5182d 100644
--- a/templates/repo/commit_page.tmpl
+++ b/templates/repo/commit_page.tmpl
@@ -113,13 +113,13 @@
<span class="ui text">{{.i18n.Tr .Verification.Reason}}</span>
<span class="pull-right"><span class="ui text">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> <i class="warning icon"></i>{{.Verification.SigningKey.KeyID}}</span>
{{else}}
- <i class="unlock icon"></i>
- {{.i18n.Tr .Verification.Reason}}
- {{if .Verification.SigningKey}}
- {{if ne .Verification.SigningKey.KeyID ""}}
- <span class="pull-right"><span class="ui text">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> <i class="warning icon"></i>{{.Verification.SigningKey.KeyID}}</span>
- {{end}}
- {{end}}
+ <i class="unlock icon"></i>
+ {{.i18n.Tr .Verification.Reason}}
+ {{if .Verification.SigningKey}}
+ {{if ne .Verification.SigningKey.KeyID ""}}
+ <span class="pull-right"><span class="ui text">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> <i class="warning icon"></i>{{.Verification.SigningKey.KeyID}}</span>
+ {{end}}
+ {{end}}
{{end}}
</div>
{{end}}
@@ -130,9 +130,9 @@
{{if .NoteAuthor}}
<a href="{{.NoteAuthor.HomeLink}}">
{{if .NoteAuthor.FullName}}
- <strong>{{.NoteAuthor.FullName}}</strong>
+ <strong>{{.NoteAuthor.FullName}}</strong>
{{else}}
- <strong>{{.NoteCommit.Author.Name}}</strong>
+ <strong>{{.NoteCommit.Author.Name}}</strong>
{{end}}
</a>
{{else}}