File tree 2 files changed +1
-2
lines changed
2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ func NewFuncMap() template.FuncMap {
53
53
// -----------------------------------------------------------------
54
54
// svg / avatar / icon
55
55
"svg" : svg .RenderHTML ,
56
- "avatarHTML" : AvatarHTML ,
57
56
"EntryIcon" : base .EntryIcon ,
58
57
"MigrationIcon" : MigrationIcon ,
59
58
"ActionIcon" : ActionIcon ,
Original file line number Diff line number Diff line change 86
86
{{range $push.Commits}}
87
87
{{$commitLink := printf "%s/commit/%s" $repoLink .Sha1}}
88
88
<div class="flex-item">
89
- {{avatarHTML ( $push.AvatarLink $.Context .AuthorEmail) 16 "" .AuthorName}}
89
+ <img class="ui avatar" src="{{ $push.AvatarLink $.Context .AuthorEmail}}" title="{{ .AuthorName}}" width="16" height="16">
90
90
<a class="commit-id" href="{{$commitLink}}">{{ShortSha .Sha1}}</a>
91
91
<span class="text truncate light grey">
92
92
{{RenderCommitMessage $.Context .Message $repoLink $.ComposeMetas}}
You can’t perform that action at this time.
0 commit comments