{{ $ := . }}

Queues

Queue Offset Limit

{{ $.Info }}

{{ if ge .Prev 0 }} < {{ end }} {{ if ge .Next 0 }} > {{ end }}

{{ if .StatusMessage }}

{{ .StatusMessage }}

{{ end }} {{ if eq $.Queue "file" }}

→ Show files

{{ range $idx, $q := $.FileQueue }} {{ else }} {{ end }}
ID Created At Action File ID Priority Status Last Status At Start After
{{ $q.ID }} {{ Datetime $q.CreatedAt }} {{ $q.Action }} {{ $q.FileID }} {{ $q.Priority }} {{ $q.Status }} {{ Datetime $q.LastStatusAt }} {{ Datetime $q.StartAfter }}
File queue is empty.
{{ end }} {{ if eq $.Queue "index" }}

→ Show objects

→ Show objects (with index counts)

{{ range $idx, $q := $.IndexQueue }} {{ else }} {{ end }}
ID Created At Type Action Object ID Priority Status Last Status At
{{ $q.ID }} {{ Datetime $q.CreatedAt }} {{ $q.Type }} {{ $q.Action }} {{ template "type_linker" (dict "type" $q.Type "id" $q.ObjectID) }} {{ $q.Priority }} {{ $q.Status }} {{ Datetime $q.LastStatusAt }}
Index queue is empty.
{{ end }}

{{ if ge .Prev 0 }} < {{ end }} {{ if ge .Next 0 }} > {{ end }}