Skip to content

Commit 3a35259

Browse files
renbaoshuosilverwind
authored and
Sysoev, Vladimir
committed
Add tooltip to repo icons in explore page (go-gitea#20241)
* Add label to repo icons in explore page Co-authored-by: silverwind <[email protected]>
1 parent 4cef189 commit 3a35259

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+
<span class="tooltip" data-content="{{$.locale.Tr "repo.fork"}}" data-position="bottom center">{{svg "octicon-repo-forked"}}</span>
3636
{{else if .IsMirror}}
37-
{{svg "octicon-mirror"}}
37+
<span class="tooltip" data-content="{{$.locale.Tr "mirror"}}" data-position="bottom center">{{svg "octicon-mirror"}}</span>
3838
{{end}}
3939
</div>
4040
</div>

0 commit comments

Comments
 (0)