File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 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 {
5353 // -----------------------------------------------------------------
5454 // svg / avatar / icon
5555 "svg" : svg .RenderHTML ,
56- "avatarHTML" : AvatarHTML ,
5756 "EntryIcon" : base .EntryIcon ,
5857 "MigrationIcon" : MigrationIcon ,
5958 "ActionIcon" : ActionIcon ,
Original file line number Diff line number Diff line change 8686 {{range $push.Commits}}
8787 {{$commitLink := printf "%s/commit/%s" $repoLink .Sha1}}
8888 <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">
9090 <a class="commit-id" href="{{$commitLink}}">{{ShortSha .Sha1}}</a>
9191 <span class="text truncate light grey">
9292 {{RenderCommitMessage $.Context .Message $repoLink $.ComposeMetas}}
You can’t perform that action at this time.
0 commit comments