0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-06-09 14:50:16 +02:00

fix(icon): use repo-forked icon to display forks count (#37731)

This could avoid confusion about what the icon means. It can be
considered as for Pull Requests count by mistaken if we use that icon.
This commit is contained in:
Gary Wang 2026-05-17 03:08:43 +08:00 committed by GitHub
parent ae69aec295
commit edf0dfd1df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -48,7 +48,7 @@
</a>
{{end}}
<a class="flex-text-inline" href="{{.Link}}/forks">
<span class="tw-contents" aria-label="{{ctx.Locale.Tr "repo.forks"}}">{{svg "octicon-git-branch" 16}}</span>
<span class="tw-contents" aria-label="{{ctx.Locale.Tr "repo.forks"}}">{{svg "octicon-repo-forked" 16}}</span>
<span {{if ge .NumForks 1000}}data-tooltip-content="{{.NumForks}}"{{end}}>{{CountFmt .NumForks}}</span>
</a>
</div>