@if (!tasksService.completedFileTasks && tasksService.loading) {
Loading...
} @if (activeTab !== 'started' && activeTab !== 'queued') { } @for (task of tasks | slice: (page-1) * pageSize : page * pageSize; track task) { @if (activeTab !== 'started' && activeTab !== 'queued') { } }
Name CreatedResultsInfo Actions
{{ task.task_file_name }} {{ task.date_created | customDate:'short' }} @if (task.result?.length > 50) {
{{ task.result | slice:0:50 }}…
} @if (task.result?.length <= 50) { {{ task.result }} }
{{ task.result | slice:0:300 }}@if (task.result.length > 300) {
                  …
                }
@if (task.result?.length > 300) {
(click for full output) }
@if (task.status === PaperlessTaskStatus.Failed) { } @if (task.related_document) { }
{{ task.result }}
@if (tasks.length > 0) {
{tasks.length, plural, =1 {One {{this.activeTabLocalized}} task} other {{{tasks.length || 0}} total {{this.activeTabLocalized}} tasks}} @if (selectedTasks.size > 0) {  ({{selectedTasks.size}} selected) }
} @if (tasks.length > pageSize) { }