From 55457ef7fbe9671e581937b6a97d635dbc93a41d Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 20 May 2024 10:12:48 -0700 Subject: [PATCH] Add titles to dashboard widget elements --- src-ui/messages.xlf | 94 +++++++++++-------- .../saved-view-widget.component.html | 14 +-- 2 files changed, 64 insertions(+), 44 deletions(-) diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf index c122c5d05..5edab40e9 100644 --- a/src-ui/messages.xlf +++ b/src-ui/messages.xlf @@ -253,6 +253,18 @@ src/app/app.component.ts 85 + + src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html + 37 + + + src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html + 40 + + + src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html + 43 + src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html 73 @@ -2123,10 +2135,6 @@ src/app/components/common/input/permissions/permissions-form/permissions-form.component.html 53 - - src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html - 43 - src/app/components/document-list/document-card-large/document-card-large.component.html 57 @@ -5177,6 +5185,51 @@ 39 + + Filter by correspondent + + src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html + 47 + + + src/app/components/document-list/document-card-large/document-card-large.component.html + 20 + + + src/app/components/document-list/document-list.component.html + 275 + + + + Filter by document type + + src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html + 57 + + + src/app/components/document-list/document-card-large/document-card-large.component.html + 79 + + + src/app/components/document-list/document-list.component.html + 310 + + + + Filter by storage path + + src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html + 62 + + + src/app/components/document-list/document-card-large/document-card-large.component.html + 85 + + + src/app/components/document-list/document-list.component.html + 317 + + View Preview @@ -6366,17 +6419,6 @@ 819 - - Filter by correspondent - - src/app/components/document-list/document-card-large/document-card-large.component.html - 20 - - - src/app/components/document-list/document-list.component.html - 275 - - Filter by tag @@ -6402,28 +6444,6 @@ 75 - - Filter by document type - - src/app/components/document-list/document-card-large/document-card-large.component.html - 79 - - - src/app/components/document-list/document-list.component.html - 310 - - - - Filter by storage path - - src/app/components/document-list/document-card-large/document-card-large.component.html - 85 - - - src/app/components/document-list/document-list.component.html - 317 - - Created: diff --git a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html b/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html index df1a01058..3591f817f 100644 --- a/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html +++ b/src-ui/src/app/components/dashboard/widgets/saved-view-widget/saved-view-widget.component.html @@ -34,32 +34,32 @@ @switch (field) { @case (DisplayField.ADDED) { - {{doc.added | customDate}} + {{doc.added | customDate}} } @case (DisplayField.CREATED) { - {{doc.created_date | customDate}} + {{doc.created_date | customDate}} } @case (DisplayField.TITLE) { - {{doc.title | documentTitle}} + {{doc.title | documentTitle}} } @case (DisplayField.CORRESPONDENT) { @if (doc.correspondent) { - {{(doc.correspondent$ | async)?.name}} + {{(doc.correspondent$ | async)?.name}} } } @case (DisplayField.TAGS) { @for (t of doc.tags$ | async; track t) { - + } } @case (DisplayField.DOCUMENT_TYPE) { @if (doc.document_type) { - {{(doc.document_type$ | async)?.name}} + {{(doc.document_type$ | async)?.name}} } } @case (DisplayField.STORAGE_PATH) { @if (doc.storage_path) { - {{(doc.storage_path$ | async)?.name}} + {{(doc.storage_path$ | async)?.name}} } } }