Skip to content

Commit

Permalink
Fix hardcoded GitHub icon used as migrated release avatar (go-gitea#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
wackbyte authored and silverwind committed Feb 20, 2024
1 parent 86af260 commit 6bf6d87
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 6bf6d87

Please sign in to comment.