|
|
|
@@ -5,14 +5,17 @@ |
|
|
|
{{if .LatestCommitUser}} |
|
|
|
<img class="ui avatar image img-12" src="{{.LatestCommitUser.RelAvatarLink}}" /> |
|
|
|
{{if .LatestCommitUser.FullName}} |
|
|
|
<a href="{{AppSubUrl}}/{{.LatestCommitUser.Name}}"><strong>{{.LatestCommitUser.FullName}}</strong></a> |
|
|
|
<a id="1" href="{{AppSubUrl}}/{{.LatestCommitUser.Name}}"><strong>{{.LatestCommitUser.FullName}}</strong></a> |
|
|
|
<a id="1" href="{{AppSubUrl}}/{{.LatestCommitUser.Committer.Name}}"><strong>{{.LatestCommitUser.Committer.Name}}</strong></a> |
|
|
|
{{else}} |
|
|
|
<a href="{{AppSubUrl}}/{{.LatestCommitUser.Name}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a> |
|
|
|
<a id="2" href="{{AppSubUrl}}/{{.LatestCommitUser.Name}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a> |
|
|
|
<a id="2" href="{{AppSubUrl}}/{{.LatestCommitUser.Committer.Name}}"><strong>{{if .LatestCommit.Committer}}{{.LatestCommit.Committer.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a> |
|
|
|
{{end}} |
|
|
|
{{else}} |
|
|
|
{{if .LatestCommit.Author}} |
|
|
|
<img class="ui avatar image img-12" src="{{AvatarLink .LatestCommit.Author.Email}}" /> |
|
|
|
<strong>{{.LatestCommit.Author.Name}}</strong> |
|
|
|
<strong id="3">{{.LatestCommit.Author.Name}}</strong> |
|
|
|
<strong id="4">{{.LatestCommit.Committer.Name}}</strong> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
<a rel="nofollow" class="ui sha label {{if .LatestCommit.Signature}} isSigned {{if .LatestCommitVerification.Verified }} isVerified{{if eq .LatestCommitVerification.TrustStatus "trusted"}}{{else if eq .LatestCommitVerification.TrustStatus "untrusted"}}Untrusted{{else}}Unmatched{{end}}{{else if .LatestCommitVerification.Warning}} isWarning{{end}}{{end}}" href="{{.RepoLink}}/commit/{{.LatestCommit.ID}}"> |
|
|
|
|