Skip to content

Commit

Permalink
Add label to repo icons in explore page
Browse files Browse the repository at this point in the history
  • Loading branch information
renbaoshuo committed Jul 5, 2022
1 parent a168609 commit 88c443a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/explore/repo_list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
{{end}}
{{end}}
{{if .IsFork}}
{{svg "octicon-repo-forked"}}
<i class="ui icon tooltip" data-content="{{$.locale.Tr "repo.fork"}}" data-position="bottom center">{{svg "octicon-repo-forked"}}</i>
{{else if .IsMirror}}
{{svg "octicon-mirror"}}
<i class="ui icon tooltip" data-content="{{$.locale.Tr "mirror"}}" data-position="bottom center">{{svg "octicon-mirror"}}</i>
{{end}}
</div>
</div>
Expand Down

0 comments on commit 88c443a

Please sign in to comment.