{{ if .Data.Sync }}{{ .Data.Sync.repo }}{{ else }}{{ .Data.Id }}{{ end }}
{{ if .Data.Sync }} {{ if eq .Data.Sync.state "Failing" }} failing {{ else if eq .Data.Sync.state "Disabled" }} disabled {{ else }} healthy {{ end }} {{ if .Data.Sync.branch }} {{ .Data.Sync.branch }} {{ end }} {{ end }}
Overview
Last invocation
{{ if $s.last_exec }} {{ template "time_ago" $s.last_exec }} {{ if $s.commit_short }} {{ $s.commit_short }} {{ end }} {{ end }} {{ if $s.failure_count }} {{ $s.failure_count }} failed runs {{ end }}This sync has not run yet
{{ else }} {{ if $s.error }}{{ .Data.AppsError }}
{{ else if .Data.Apps }} {{ template "app_table" (dict "Apps" .Data.Apps "AppPath" .AppPath "Perms" .Data.Perms "ShowActions" false) }} {{ else }}No apps have been applied by this sync yet
{{ end }}