Skip to content

Commit 08da261

Browse files
wackbyteHenry Goodman
authored and
Henry Goodman
committed
Fix hardcoded GitHub icon used as migrated release avatar (go-gitea#28910)
1 parent 854d3f0 commit 08da261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/release/list.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
<p class="text grey">
5656
<span class="author">
5757
{{if .OriginalAuthor}}
58-
{{svg "octicon-mark-github" 20 "gt-mr-2"}}{{.OriginalAuthor}}
58+
{{svg (MigrationIcon .Repo.GetOriginalURLHostname) 20 "gt-mr-2"}}{{.OriginalAuthor}}
5959
{{else if .Publisher}}
6060
{{ctx.AvatarUtils.Avatar .Publisher 20 "gt-mr-2"}}
6161
<a href="{{.Publisher.HomeLink}}">{{.Publisher.GetDisplayName}}</a>

0 commit comments

Comments
 (0)