Skip to content

Commit 6103623

Browse files
authored
1 parent 40cdc84 commit 6103623

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

templates/repo/commits_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<td class="author tw-flex">
1717
{{$userName := .Author.Name}}
1818
{{if .User}}
19-
{{if .User.FullName}}
19+
{{if and .User.FullName DefaultShowFullName}}
2020
{{$userName = .User.FullName}}
2121
{{end}}
2222
{{ctx.AvatarUtils.Avatar .User 28 "tw-mr-2"}}<a class="muted author-wrapper" href="{{.User.HomeLink}}">{{$userName}}</a>

templates/repo/graph/commits.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<span class="author tw-flex tw-items-center tw-mr-2">
6262
{{$userName := $commit.Commit.Author.Name}}
6363
{{if $commit.User}}
64-
{{if $commit.User.FullName}}
64+
{{if and $commit.User.FullName DefaultShowFullName}}
6565
{{$userName = $commit.User.FullName}}
6666
{{end}}
6767
<span class="tw-mr-1">{{ctx.AvatarUtils.Avatar $commit.User}}</span>

templates/repo/latest_commit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{{else}}
44
{{if .LatestCommitUser}}
55
{{ctx.AvatarUtils.Avatar .LatestCommitUser 24 "tw-mr-1"}}
6-
{{if .LatestCommitUser.FullName}}
6+
{{if and .LatestCommitUser.FullName DefaultShowFullName}}
77
<a class="muted author-wrapper" title="{{.LatestCommitUser.FullName}}" href="{{.LatestCommitUser.HomeLink}}"><strong>{{.LatestCommitUser.FullName}}</strong></a>
88
{{else}}
99
<a class="muted author-wrapper" title="{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}" href="{{.LatestCommitUser.HomeLink}}"><strong>{{if .LatestCommit.Author}}{{.LatestCommit.Author.Name}}{{else}}{{.LatestCommitUser.Name}}{{end}}</strong></a>

0 commit comments

Comments
 (0)