this repo has no description
1{{ define "repo/fragments/diffOpts" }}
2 {{ $active := "unified" }}
3 {{ if .Split }}
4 {{ $active = "split" }}
5 {{ end }}
6
7 {{ $unified :=
8 (dict
9 "Key" "unified"
10 "Value" "unified"
11 "Icon" "square-split-vertical"
12 "Meta" "") }}
13 {{ $split :=
14 (dict
15 "Key" "split"
16 "Value" "split"
17 "Icon" "square-split-horizontal"
18 "Meta" "") }}
19 {{ $values := list $unified $split }}
20
21 {{ template "fragments/tabSelector"
22 (dict
23 "Name" "diff"
24 "Values" $values
25 "Active" $active) }}
26{{ end }}
27