{{ define "repo/fragments/diff" }} {{ template "diffTopbar" . }} {{ block "diffLayout" . }} {{ end }} {{ template "fragments/resizable" }} {{ end }} {{ define "diffTopbar" }} {{ $diff := index . 0 }} {{ $opts := index . 1 }} {{ $root := "" }} {{ if gt (len .) 2 }} {{ $root = index . 2 }} {{ end }} {{ block "filesCheckbox" $ }} {{ end }} {{ block "subsCheckbox" $ }} {{ end }}
No differences found between the selected revisions.
{{ $reason }}
{{ else }} {{ if $isSplit }} {{- template "repo/fragments/splitDiff" .Split -}} {{ else }} {{- template "repo/fragments/unifiedDiff" . -}} {{ end }} {{- end -}}