diff --git a/appview/pages/templates/repo/fragments/diff.html b/appview/pages/templates/repo/fragments/diff.html index d6836235..af614302 100644 --- a/appview/pages/templates/repo/fragments/diff.html +++ b/appview/pages/templates/repo/fragments/diff.html @@ -23,7 +23,7 @@ {{ block "subsCheckbox" $ }} {{ end }} -
+
{{ template "filesToggle" . }} @@ -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 }} + {{ if $root }} {{ if $root.IsInterdiff }} @@ -70,9 +70,7 @@ {{ template "collapseToggle" }} - + {{ template "repo/fragments/diffOpts" $opts }} {{ block "subsToggle" $ }} {{ end }} diff --git a/appview/pages/templates/repo/pulls/pull.html b/appview/pages/templates/repo/pulls/pull.html index f3993b9e..08ea9b32 100644 --- a/appview/pages/templates/repo/pulls/pull.html +++ b/appview/pages/templates/repo/pulls/pull.html @@ -246,7 +246,15 @@ {{ $lastIdx := index . 2 }} {{ $root := index . 3 }} {{ $round := $item.RoundNumber }} -