summaryrefslogtreecommitdiffstats
path: root/templates/explore
diff options
context:
space:
mode:
authorOtto Richter <git@otto.splvs.net>2024-03-11 17:58:51 +0100
committerOtto Richter <git@otto.splvs.net>2024-03-19 23:38:08 +0100
commit9e69ef9c51cded6321e4cca39d33a64e9801d910 (patch)
treef801ffc52c4a8cd9a3f5ed8492a457fc6e3d999c /templates/explore
parentMerge pull request '[BUG] Fix manual merge button' (#2696) from gusted/forgej... (diff)
downloadforgejo-9e69ef9c51cded6321e4cca39d33a64e9801d910.tar.xz
forgejo-9e69ef9c51cded6321e4cca39d33a64e9801d910.zip
Label stars/forks link in repo explore
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 848afd305c..0c466dffaf 100644
--- a/templates/explore/repo_list.tmpl
+++ b/templates/explore/repo_list.tmpl
@@ -37,10 +37,10 @@
</a>
{{end}}
{{if not $.DisableStars}}
- <a class="text grey flex-text-inline" href="{{.Link}}/stars">{{svg "octicon-star" 16}}{{.NumStars}}</a>
+ <a class="text grey flex-text-inline" href="{{.Link}}/stars" aria-label="{{ctx.Locale.TrN .NumStars "explore.stars_one" "explore.stars_few" .NumStars}}">{{svg "octicon-star" 16}}{{.NumStars}}</a>
{{end}}
{{if not $.DisableForks}}
- <a class="text grey flex-text-inline" href="{{.Link}}/forks">{{svg "octicon-git-branch" 16}}{{.NumForks}}</a>
+ <a class="text grey flex-text-inline" href="{{.Link}}/forks" aria-label="{{ctx.Locale.TrN .NumForks "explore.forks_one" "explore.forks_few" .NumForks}}">{{svg "octicon-git-branch" 16}}{{.NumForks}}</a>
{{end}}
</div>
</div>