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 }}