src-ui/src/app/components/admin/tasks/tasks.component.html
Clear selection{{dismissButtonText}} Dismiss all Auto refresh
@if (!tasksService.completedFileTasks && tasksService.loading) {
Loading... }
All @for (section of sections; track section) { {{ sectionLabel(section) }} @if (sectionCount(section) > 0) { {{sectionCount(section)}} } }
Filter by:
{{selectedTaskTypeLabel}} All types @for (option of taskTypeOptions; track option.value) { {{option.label}} }
{{selectedTriggerSourceLabel}} All sources @for (option of triggerSourceOptions; track option.value) { {{option.label}} }
{{filterTargetName}} @for (t of filterTargets; track t.id) { {{t.name}} }
@if (filterText?.length) { } Search tasks
@if (isFiltered) { Reset filters }
{tasks.length, plural, =1 {1 task} other {{{tasks.length}} tasks}}
| Check all | Name | Created | @if (sectionShowsResults(section)) { Results | } Info | Actions | | --- | --- | --- | --- | --- | --- | @for (task of tasks; track task.id) { |
| {{ taskDisplayName(task) }}
@if (taskShowsSeparateTypeLabel(task)) { {{ task.task_type_display }}• } {{ task.trigger_source_display }} | {{ task.date_created | customDate:'short' }} | @if (sectionShowsResults(section)) { @if (taskHasLongResultMessage(task)) { {{ taskResultPreview(task) }} } @if (taskHasResultMessage(task) && !taskHasLongResultMessage(task)) { {{ taskResultMessage(task) }} } @if (duplicateDocumentId(task)) { {{ duplicateTaskLabel(task) }} }
{{ taskResultPopoverMessage(task) }}@if (taskResultMessageOverflowsPopover(task)) {
…
}
@if (taskResultMessageOverflowsPopover(task)) {
(click for full output) } | } |
Dismiss @if (task.related_document_ids?.[0]) { Open Document }
|
|
@if (taskHasResultMessage(task)) {
Result message
{{ taskResultMessage(task) }}
} @if (duplicateDocumentId(task); as duplicateDocumentId) {
Duplicate
{{ duplicateTaskLabel(task) }} Open
}
Input data
{{ task.input_data | json }}
Result data
{{ (task.result_data ?? {}) | json }}
| }
@if (visibleSections.length > 0) { @for (section of visibleSections; track section) {
} } @else { No tasks match the current filters. }