Skip to content

Commit

Permalink
Fix hardcoded GitHub icon used as migrated release avatar
Browse files Browse the repository at this point in the history
Unhardcodes the avatar of migrated release authors from `"octicon-mark-github"` to the host-specific one provided by `MigrationIcon`.
  • Loading branch information
wackbyte committed Jan 24, 2024
1 parent 82acf22 commit 888e1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/release/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<p class="text grey">
<span class="author">
{{if .OriginalAuthor}}
{{svg "octicon-mark-github" 20 "gt-mr-2"}}{{.OriginalAuthor}}
{{svg (MigrationIcon .Repo.GetOriginalURLHostname) 20 "gt-mr-2"}}{{.OriginalAuthor}}
{{else if .Publisher}}
{{ctx.AvatarUtils.Avatar .Publisher 20 "gt-mr-2"}}
<a href="{{.Publisher.HomeLink}}">{{.Publisher.GetDisplayName}}</a>
Expand Down

0 comments on commit 888e1f6

Please sign in to comment.