From 3e9a97b9cebccb395e8acd7b7609133457f84477 Mon Sep 17 00:00:00 2001 From: Gusted Date: Wed, 10 Apr 2024 23:50:06 +0200 Subject: [PATCH] [BUG] Fix tooltip for 1000+ stars/forks - The tooltip attribute should be inside the `` element not outside of it. - Regression of 854164f40b9d18e624182084a8c9f2f7bce96a64 --- templates/explore/repo_list.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index a59235abc..6381f1217 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -38,15 +38,15 @@ {{end}} {{if not $.DisableStars}} - + {{svg "octicon-star" 16}} - {{if ge .NumStars 1000}}data-tooltip-content="{{.NumStars}}"{{end}}{{CountFmt .NumStars}} + {{CountFmt .NumStars}} {{end}} {{if not $.DisableForks}} - + {{svg "octicon-git-branch" 16}} - {{if ge .NumForks 1000}}data-tooltip-content="{{.NumForks}}"{{end}}{{CountFmt .NumForks}} + {{CountFmt .NumForks}} {{end}}