File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 30
30
<tr>
31
31
<td class="author">
32
32
{{if .User}}
33
- <img class="ui avatar image" src="{{.User.RelAvatarLink}}" alt=""/> <a href="{{AppSubUrl}}/{{.User.Name}}">{{.Author.Name}}</a>
33
+ {{if .User.FullName}}
34
+ <img class="ui avatar image" src="{{.User.RelAvatarLink}}" alt=""/> <a href="{{AppSubUrl}}/{{.User.Name}}">{{.User.FullName}}</a>
35
+ {{else}}
36
+ <img class="ui avatar image" src="{{.User.RelAvatarLink}}" alt=""/> <a href="{{AppSubUrl}}/{{.User.Name}}">{{.Author.Name}}</a>
37
+ {{end}}
34
38
{{else}}
35
39
<img class="ui avatar image" src="{{AvatarLink .Author.Email}}" alt=""/> {{.Author.Name}}
36
40
{{end}}
Original file line number Diff line number Diff line change 14
14
<div class="ui attached info segment">
15
15
{{if .Author}}
16
16
<img class="ui avatar image" src="{{.Author.RelAvatarLink}}" />
17
- <a href="{{.Author.HomeLink}}"><strong>{{.Commit.Author.Name}}</strong></a> {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}}
17
+ {{if .Author.FullName}}
18
+ <a href="{{.Author.HomeLink}}"><strong>{{.Author.FullName}}</strong></a> {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}}
19
+ {{else}}
20
+ <a href="{{.Author.HomeLink}}"><strong>{{.Commit.Author.Name}}</strong></a> {{if .IsSigned}}<{{.Commit.Author.Email}}>{{end}}
21
+ {{end}}
18
22
{{else}}
19
23
<img class="ui avatar image" src="{{AvatarLink .Commit.Author.Email}}" />
20
24
<strong>{{.Commit.Author.Name}}</strong>
Original file line number Diff line number Diff line change 4
4
<th class="four wide">
5
5
{{if .LatestCommitUser}}
6
6
<img class="ui avatar image img-12" src="{{.LatestCommitUser.RelAvatarLink}}" />
7
- <a href="{{AppSubUrl}}/{{.LatestCommitUser.Name}}"><strong>{{.LatestCommit.Author.Name}}</strong></a>
7
+ {{if .LatestCommitUser.FullName}}
8
+ <a href="{{AppSubUrl}}/{{.LatestCommitUser.Name}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
9
+ {{else}}
10
+ <a href="{{AppSubUrl}}/{{.LatestCommitUser.Name}}"><strong>{{.LatestCommit.Author.Name}}</strong></a>
11
+ {{end}}
8
12
{{else}}
9
13
<img class="ui avatar image img-12" src="{{AvatarLink .LatestCommit.Author.Email}}" />
10
14
<strong>{{.LatestCommit.Author.Name}}</strong>
You can’t perform that action at this time.
0 commit comments