diff options
author | Sergey Dryabzhinsky <sergey.dryabzhinsky@gmail.com> | 2018-05-10 11:58:04 +0300 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2018-05-10 04:58:04 -0400 |
commit | 7e450542d98f28ea4e05e70ed96951ddabc8af77 (patch) | |
tree | 07488a7918ffc2be211216c2a88ba134aa38474e /templates/repo/header.tmpl | |
parent | 45545e897caea97849e9179c6b207630665130b2 (diff) |
templates/repo: use correct Semantic UI icon styles to fix star and watch icons (#5218)
* Update font-awesome to 4.7.0
* Fix font-awesome styles overrided by semantic
* Revert back
* Revert back 2
* Just use right `semantic` icon styles
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r-- | templates/repo/header.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index cce2dbfc..77685c5e 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -17,7 +17,7 @@ <div class="ui right"> <div class="ui labeled button" tabindex="0"> <a class="ui basic button" href="{{$.RepoLink}}/action/{{if $.IsWatchingRepo}}un{{end}}watch?redirect_to={{$.Link}}"> - <i class="icon fa-eye{{if not $.IsWatchingRepo}}-slash{{end}}"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}} + <i class="eye{{if not $.IsWatchingRepo}} slash outline{{end}} icon"></i>{{if $.IsWatchingRepo}}{{$.i18n.Tr "repo.unwatch"}}{{else}}{{$.i18n.Tr "repo.watch"}}{{end}} </a> <a class="ui basic label" href="{{.Link}}/watchers"> {{.NumWatches}} @@ -25,7 +25,7 @@ </div> <div class="ui labeled button" tabindex="0"> <a class="ui basic 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="star{{if not $.IsStaringRepo}} outline{{end}} icon"></i>{{if $.IsStaringRepo}}{{$.i18n.Tr "repo.unstar"}}{{else}}{{$.i18n.Tr "repo.star"}}{{end}} </a> <a class="ui basic label" href="{{.Link}}/stars"> {{.NumStars}} |