From 2ed67c2ec686f08db448177c17b2a326f7180193 Mon Sep 17 00:00:00 2001 From: Amolith Date: Sat, 18 Oct 2025 12:01:55 -0600 Subject: [PATCH] fix: pluralize comment count in bug listing Display '1 comment' instead of '1 comments' when a bug has exactly one comment. Implements: bug-224db6f Co-authored-by: Crush --- pkg/web/templates/bugs.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkg/web/templates/bugs.html b/pkg/web/templates/bugs.html index 50a7b9471c6da896fd364294beb3f698ab9b96d0..29a25ae18360f8b99ecc6a3d395bd5a391b6a303 100644 --- a/pkg/web/templates/bugs.html +++ b/pkg/web/templates/bugs.html @@ -30,11 +30,11 @@ {{.Title}} {{if .Labels}}{{range $i, $label := .Labels}}{{if $i}} {{end}}{{$label.Name}}{{end}}{{end}} -