{{ define "files_table" }} {{ range $idx, $file := . }} {{ template "file_table" $file }} {{ end }}
ID
Source ID
Location ID
Version Filename Status API Status
Original
Autogenerated
Leave On Remote
Produce Versions
Metadata Groups
Watermark
Class Extension Info Reference Remote URL Created
{{ end }} {{ define "file_table" }} {{ $cls := "version" }} {{ if .IsOriginal }} {{ $cls = "original" }} {{ end }} {{ if .HasChildren }} ▶︎ {{ end }} {{ .Id }} {{ if .IdSource }} {{ .IdSource }} {{ end }} {{ .LocationID }} {{ if .VersionName }} {{ .VersionName }} {{ else }} ORIGINAL {{ end }} {{ .Filename }} {{ .Status.API }} {{ .Status }} {{ len .Metadata }} {{ .Class }} {{ .Extension }} {{ .CompileInfo }} {{ if .Reference }} {{ .Reference }} {{ end }} {{ .RemoteUrl }} {{ Datetime .CreatedAt }} {{ range $idx, $version := .Children }} {{ template "file_table" $version }} {{ end }} {{ end }}