aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore
diff options
context:
space:
mode:
authorBaoshuo Ren <i@baoshuo.ren>2022-07-08 04:17:41 +0800
committerGitHub <noreply@github.com>2022-07-07 22:17:41 +0200
commitc273dea5085aece451b10d78799d879c28e8a752 (patch)
treee8501fe8004c23469f1d4a7ff212f747d58e3c94 /templates/explore
parent3f513f9e54970ee1f3443edbe77077ff62dbd018 (diff)
downloadgitea-c273dea5085aece451b10d78799d879c28e8a752.tar.gz
gitea-c273dea5085aece451b10d78799d879c28e8a752.zip
Add tooltip to repo icons in explore page (#20241)
* Add label to repo icons in explore page Co-authored-by: silverwind <me@silverwind.io>
Diffstat (limited to 'templates/explore')
-rw-r--r--templates/explore/repo_list.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl
index 10b503b219..cd75f48520 100644
--- a/templates/explore/repo_list.tmpl
+++ b/templates/explore/repo_list.tmpl
@@ -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>