File tree 1 file changed +12
-10
lines changed 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 13
13
{{$commitRepoLink := $.RepoLink}}{{if $.CommitRepoLink}}{{$commitRepoLink = $.CommitRepoLink}}{{end}}
14
14
{{range .Commits}}
15
15
<tr>
16
- <td class="author tw-flex">
17
- {{$userName := .Author.Name}}
18
- {{if .User}}
19
- {{if and .User.FullName DefaultShowFullName}}
20
- {{$userName = .User.FullName}}
16
+ <td class="author">
17
+ <div class="tw-flex">
18
+ {{$userName := .Author.Name}}
19
+ {{if .User}}
20
+ {{if and .User.FullName DefaultShowFullName}}
21
+ {{$userName = .User.FullName}}
22
+ {{end}}
23
+ {{ctx.AvatarUtils.Avatar .User 28 "tw-mr-2"}}<a class="muted author-wrapper" href="{{.User.HomeLink}}">{{$userName}}</a>
24
+ {{else}}
25
+ {{ctx.AvatarUtils.AvatarByEmail .Author.Email .Author.Name 28 "tw-mr-2"}}
26
+ <span class="author-wrapper">{{$userName}}</span>
21
27
{{end}}
22
- {{ctx.AvatarUtils.Avatar .User 28 "tw-mr-2"}}<a class="muted author-wrapper" href="{{.User.HomeLink}}">{{$userName}}</a>
23
- {{else}}
24
- {{ctx.AvatarUtils.AvatarByEmail .Author.Email .Author.Name 28 "tw-mr-2"}}
25
- <span class="author-wrapper">{{$userName}}</span>
26
- {{end}}
28
+ </div>
27
29
</td>
28
30
<td class="sha">
29
31
{{$class := "ui sha label"}}
You can’t perform that action at this time.
0 commit comments