Skip to content

Commit

Permalink
Add tooltip to repo icons in explore page (go-gitea#20241)
Browse files Browse the repository at this point in the history
* Add label to repo icons in explore page

Co-authored-by: silverwind <me@silverwind.io>
  • Loading branch information
2 people authored and Sysoev, Vladimir committed Aug 10, 2022
1 parent 4cef189 commit 3a35259
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"}}
<span class="tooltip" data-content="{{$.locale.Tr "repo.fork"}}" data-position="bottom center">{{svg "octicon-repo-forked"}}</span>
{{else if .IsMirror}}
{{svg "octicon-mirror"}}
<span class="tooltip" data-content="{{$.locale.Tr "mirror"}}" data-position="bottom center">{{svg "octicon-mirror"}}</span>
{{end}}
</div>
</div>
Expand Down

0 comments on commit 3a35259

Please sign in to comment.