diff --git a/appview/pages/templates/repo/fragments/diffOpts.html b/appview/pages/templates/repo/fragments/diffOpts.html index 23bad8db..edb995d2 100644 --- a/appview/pages/templates/repo/fragments/diffOpts.html +++ b/appview/pages/templates/repo/fragments/diffOpts.html @@ -1,30 +1,27 @@ {{ define "repo/fragments/diffOpts" }} -
- options - {{ $active := "unified" }} - {{ if .Split }} - {{ $active = "split" }} - {{ end }} + {{ $active := "unified" }} + {{ if .Split }} + {{ $active = "split" }} + {{ end }} - {{ $unified := - (dict - "Key" "unified" - "Value" "unified" - "Icon" "square-split-vertical" - "Meta" "") }} - {{ $split := - (dict - "Key" "split" - "Value" "split" - "Icon" "square-split-horizontal" - "Meta" "") }} - {{ $values := list $unified $split }} + {{ $unified := + (dict + "Key" "unified" + "Value" "unified" + "Icon" "square-split-vertical" + "Meta" "") }} + {{ $split := + (dict + "Key" "split" + "Value" "split" + "Icon" "square-split-horizontal" + "Meta" "") }} + {{ $values := list $unified $split }} - {{ template "fragments/tabSelector" - (dict - "Name" "diff" - "Values" $values - "Active" $active) }} -
+ {{ template "fragments/tabSelector" + (dict + "Name" "diff" + "Values" $values + "Active" $active) }} {{ end }}