From 352bdb4da6186a2cfe4b45d18a4e904d272a9347 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 13 Jan 2024 13:18:11 -0800 Subject: [PATCH] Enhancement: show selected tasks count --- src-ui/messages.xlf | 17 ++++++++++++----- .../components/admin/tasks/tasks.component.html | 7 ++++++- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index b04f86ebc..2b22142ee 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -1641,35 +1641,42 @@ {VAR_PLURAL, plural, =1 {One task} other { total tasks}} src/app/components/admin/tasks/tasks.component.html - 113 + 114 + + + +  ( selected) + + src/app/components/admin/tasks/tasks.component.html + 116 Failed src/app/components/admin/tasks/tasks.component.html - 123,125 + 128,130 Complete src/app/components/admin/tasks/tasks.component.html - 131,133 + 136,138 Started src/app/components/admin/tasks/tasks.component.html - 139,141 + 144,146 Queued src/app/components/admin/tasks/tasks.component.html - 147,149 + 152,154 diff --git a/src-ui/src/app/components/admin/tasks/tasks.component.html b/src-ui/src/app/components/admin/tasks/tasks.component.html index bc1fdeabb..21895b75d 100644 --- a/src-ui/src/app/components/admin/tasks/tasks.component.html +++ b/src-ui/src/app/components/admin/tasks/tasks.component.html @@ -110,7 +110,12 @@
@if (tasks.length > 0) { -
{tasks.length, plural, =1 {One {{this.activeTabLocalized}} task} other {{{tasks.length || 0}} total {{this.activeTabLocalized}} tasks}}
+
+ {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) {