forked from gitea/gitea
1
0
Fork 0

Fix hardcoded GitHub icon used as migrated release avatar (#28910)

This commit is contained in:
wackbyte 2024-01-23 20:07:13 -05:00 committed by GitHub
parent 1ca947baec
commit fd97613b65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@
<p class="text grey"> <p class="text grey">
<span class="author"> <span class="author">
{{if .OriginalAuthor}} {{if .OriginalAuthor}}
{{svg "octicon-mark-github" 20 "gt-mr-2"}}{{.OriginalAuthor}} {{svg (MigrationIcon .Repo.GetOriginalURLHostname) 20 "gt-mr-2"}}{{.OriginalAuthor}}
{{else if .Publisher}} {{else if .Publisher}}
{{ctx.AvatarUtils.Avatar .Publisher 20 "gt-mr-2"}} {{ctx.AvatarUtils.Avatar .Publisher 20 "gt-mr-2"}}
<a href="{{.Publisher.HomeLink}}">{{.Publisher.GetDisplayName}}</a> <a href="{{.Publisher.HomeLink}}">{{.Publisher.GetDisplayName}}</a>