Skip to content

Commit 88c443a

Browse files
committed
Add label to repo icons in explore page
1 parent a168609 commit 88c443a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/explore/repo_list.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
{{end}}
3333
{{end}}
3434
{{if .IsFork}}
35-
{{svg "octicon-repo-forked"}}
35+
<i class="ui icon tooltip" data-content="{{$.locale.Tr "repo.fork"}}" data-position="bottom center">{{svg "octicon-repo-forked"}}</i>
3636
{{else if .IsMirror}}
37-
{{svg "octicon-mirror"}}
37+
<i class="ui icon tooltip" data-content="{{$.locale.Tr "mirror"}}" data-position="bottom center">{{svg "octicon-mirror"}}</i>
3838
{{end}}
3939
</div>
4040
</div>

0 commit comments

Comments
 (0)