diff options
Diffstat (limited to 'templates/explore/repo_list.tmpl')
-rw-r--r-- | templates/explore/repo_list.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index a59235abc1..6381f1217e 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -38,15 +38,15 @@ </a> {{end}} {{if not $.DisableStars}} - <a class="flex-text-inline" href="{{.Link}}/stars" aria-label="{{ctx.Locale.TrN .NumStars "explore.stars_one" "explore.stars_few" .NumStars}}"> + <a class="flex-text-inline" href="{{.Link}}/stars" aria-label="{{ctx.Locale.TrN .NumStars "explore.stars_one" "explore.stars_few" .NumStars}}" {{if ge .NumStars 1000}}data-tooltip-content="{{.NumStars}}"{{end}}> {{svg "octicon-star" 16}} - {{if ge .NumStars 1000}}data-tooltip-content="{{.NumStars}}"{{end}}{{CountFmt .NumStars}} + {{CountFmt .NumStars}} </a> {{end}} {{if not $.DisableForks}} - <a class="flex-text-inline" href="{{.Link}}/forks" aria-label="{{ctx.Locale.TrN .NumForks "explore.forks_one" "explore.forks_few" .NumForks}}"> + <a class="flex-text-inline" href="{{.Link}}/forks" aria-label="{{ctx.Locale.TrN .NumForks "explore.forks_one" "explore.forks_few" .NumForks}}" {{if ge .NumForks 1000}}data-tooltip-content="{{.NumForks}}"{{end}}> {{svg "octicon-git-branch" 16}} - {{if ge .NumForks 1000}}data-tooltip-content="{{.NumForks}}"{{end}}{{CountFmt .NumForks}} + {{CountFmt .NumForks}} </a> {{end}} </div> |