From c14d3e80e8f4243768eef8af6a6fa9df9ea5fedd Mon Sep 17 00:00:00 2001 From: Francesco Siddi Date: Tue, 31 Jan 2023 13:58:34 +0100 Subject: [PATCH] Remove label color from global issue filters (#22660) The use of ui colors (red, green, etc) should be limited to actionable or dismissable entries. Before this commit, a green/red label was used to display issues count on each repository. This did not add any meaningful information to the list. Removing the label reduces ambiguity and makes the list easier to scan visually. ![label_compare](https://user-images.githubusercontent.com/451841/215360696-a881b765-207d-4ffa-8bec-398f8e5dab1e.jpg) --------- Co-authored-by: delvh --- templates/user/dashboard/issues.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/user/dashboard/issues.tmpl b/templates/user/dashboard/issues.tmpl index 1a0271d8f0..4ff6772a72 100644 --- a/templates/user/dashboard/issues.tmpl +++ b/templates/user/dashboard/issues.tmpl @@ -30,7 +30,7 @@
All -
{{CountFmt .TotalIssueCount}}
+ {{CountFmt .TotalIssueCount}}
{{range .Repos}} {{with $Repo := .}} @@ -49,7 +49,7 @@ {{- end -}} ]&sort={{$.SortType}}&state={{$.State}}&q={{$.Keyword}}" title="{{.FullName}}"> {{$Repo.FullName}} -
{{CountFmt (index $.Counts $Repo.ID)}}
+ {{CountFmt (index $.Counts $Repo.ID)}} {{end}} {{end}}