{{ $ := . }}

Queues

Queue Offset Limit

{{ $.Info }}

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

{{ if eq $.Queue "file" }} {{ range $idx, $q := $.FileQueue }} {{ 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 }}
{{ end }} {{ if eq $.Queue "index" }} {{ range $idx, $q := $.IndexQueue }} {{ 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 }}
{{ end }}

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