0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-25 07:42:47 +01:00

Fix starring icon after semantic ui update (#4628)

This commit is contained in:
Lauris BH 2018-08-07 21:36:21 +03:00 committed by techknowlogick
parent a42900c17f
commit 5ae8408725

View file

@ -24,7 +24,7 @@
</div>
<div class="ui compact labeled button" tabindex="0">
<a class="ui compact button" href="{{$.RepoLink}}/action/{{if $.IsStaringRepo}}un{{end}}star?redirect_to={{$.Link}}">
<i class="icon fa-star{{if not $.IsStaringRepo}}-o{{end}}"></i>{{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}}
<i class="icon star{{if not $.IsStaringRepo}} outline{{end}}"></i>{{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}}
</a>
<a class="ui basic label" href="{{.Link}}/stars">
{{.NumStars}}