From ed0e4a667dc718ec6339c1be81c239d230a62ea0 Mon Sep 17 00:00:00 2001 From: Julien Voisin Date: Wed, 6 Aug 2025 02:50:09 +0200 Subject: [PATCH] refactor(template): reindent and merge tags in `feed_list.html` - Fix some indentation - Factorize/merge some - Remove superfluous spaces - Reindent some nested tags --- .../template/templates/common/feed_list.html | 38 ++++++++++--------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/internal/template/templates/common/feed_list.html b/internal/template/templates/common/feed_list.html index a72cfb1d..21fe71a7 100644 --- a/internal/template/templates/common/feed_list.html +++ b/internal/template/templates/common/feed_list.html @@ -10,7 +10,7 @@

{{ if and (.Icon) (gt .Icon.IconID 0) }} - + {{ end }} {{ if .Disabled }} 🚫 {{ end }} {{ .Title }} @@ -19,11 +19,9 @@ {{ plural "page.unread_entry_count" .UnreadCount .UnreadCount }} - - + {{ plural "page.total_entry_count" .NumberOfVisibleEntries .NumberOfVisibleEntries }} - - + {{ if ne .ParsingErrorCount 0 }} -
- {{ plural "page.feeds.error_count" .ParsingErrorCount .ParsingErrorCount }} - - {{ .ParsingErrorMsg }} -
+
+ {{ plural "page.feeds.error_count" .ParsingErrorCount .ParsingErrorCount }} + - {{ .ParsingErrorMsg }} +
{{ end }} {{ end }}