From 904c3497d7c874e8b12b4908421586313e1103fa Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Sun, 18 Jan 2026 22:52:49 +0200 Subject: [PATCH] appview/pages: finesse diff template Signed-off-by: Anirudh Oppiliappan --- appview/pages/templates/repo/fragments/diff.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/appview/pages/templates/repo/fragments/diff.html b/appview/pages/templates/repo/fragments/diff.html index 282b81f0..d6836235 100644 --- a/appview/pages/templates/repo/fragments/diff.html +++ b/appview/pages/templates/repo/fragments/diff.html @@ -31,7 +31,7 @@ {{ $stat := $diff.Stats }} {{ $count := len $diff.ChangedFiles }} {{ template "repo/fragments/diffStatPill" $stat }} - {{ $count }} changed file{{ if ne $count 1 }}s{{ end }} + {{ $count }} changed file{{ if ne $count 1 }}s{{ end }} {{ if $root }} {{ if $root.IsInterdiff }} @@ -70,7 +70,9 @@ {{ template "collapseToggle" }} - {{ template "repo/fragments/diffOpts" $opts }} + {{ block "subsToggle" $ }} {{ end }} -- 2.51.2