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

pull/28902/head^2
wackbyte 10 months ago committed by GitHub
parent 1ca947baec
commit fd97613b65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      templates/repo/release/list.tmpl

@ -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>

Loading…
Cancel
Save