Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.21.12.1^2
zouap 4 years ago
parent
commit
c2a771ebd0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      templates/repo/view_list.tmpl

+ 2
- 2
templates/repo/view_list.tmpl View File

@@ -6,10 +6,10 @@
<img class="ui avatar image img-12" src="{{.LatestCommitUser.RelAvatarLink}}" />
{{if .LatestCommitUser.FullName}}
<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>
<strong id="6">{{.LatestCommit.Committer.Name}}</strong>
{{else}}
<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>
<strong id="6">{{.LatestCommit.Committer.Name}}</strong>
{{end}}
{{else}}
{{if .LatestCommit.Author}}


Loading…
Cancel
Save