{{if $.IsSplitStyle}} {{range $k, $line := $.section.Lines}} {{if eq .GetType 4}} {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 5) }} {{svg "octicon-fold-down"}} {{end}} {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4) }} {{svg "octicon-fold-up"}} {{end}} {{if eq $line.GetExpandDirection 2}} {{svg "octicon-fold"}} {{end}} {{$.section.GetComputedInlineDiffFor $line}} {{else}} {{if $line.LeftIdx}}{{end}} {{if $line.LeftIdx}}{{$.section.GetComputedInlineDiffFor $line}}{{end}} {{if $line.RightIdx}}{{end}} {{if $line.RightIdx}}{{$.section.GetComputedInlineDiffFor $line}}{{end}} {{end}} {{end}} {{else}} {{range $k, $line := $.section.Lines}} {{if eq .GetType 4}} {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 5) }} {{svg "octicon-fold-down"}} {{end}} {{if or (eq $line.GetExpandDirection 3) (eq $line.GetExpandDirection 4) }} {{svg "octicon-fold-up"}} {{end}} {{if eq $line.GetExpandDirection 2}} {{svg "octicon-fold"}} {{end}} {{else}} {{end}} {{$.section.GetComputedInlineDiffFor $line}} {{end}} {{end}}