+
+
diff --git a/src-ui/src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html
index 7bb192a90..72541e7c0 100644
--- a/src-ui/src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html
+++ b/src-ui/src/app/components/common/edit-dialog/correspondent-edit-dialog/correspondent-edit-dialog.component.html
@@ -8,8 +8,12 @@
diff --git a/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html
index 63f235b43..25bddad76 100644
--- a/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html
+++ b/src-ui/src/app/components/common/edit-dialog/custom-field-edit-dialog/custom-field-edit-dialog.component.html
@@ -7,7 +7,9 @@
-
Data type cannot be changed after a field is created
+ @if (typeFieldDisabled) {
+
Data type cannot be changed after a field is created
+ }
diff --git a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html
index 12e70f3cd..c88961ecc 100644
--- a/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html
+++ b/src-ui/src/app/components/common/edit-dialog/storage-path-edit-dialog/storage-path-edit-dialog.component.html
@@ -9,8 +9,12 @@
-
-
+ @if (patternRequired) {
+
+ }
+ @if (patternRequired) {
+
+ }
diff --git a/src-ui/src/app/components/common/edit-dialog/tag-edit-dialog/tag-edit-dialog.component.html b/src-ui/src/app/components/common/edit-dialog/tag-edit-dialog/tag-edit-dialog.component.html
index 1a9ee58da..1067951b3 100644
--- a/src-ui/src/app/components/common/edit-dialog/tag-edit-dialog/tag-edit-dialog.component.html
+++ b/src-ui/src/app/components/common/edit-dialog/tag-edit-dialog/tag-edit-dialog.component.html
@@ -1,26 +1,30 @@
-
diff --git a/src-ui/src/app/components/common/input/url/url.component.html b/src-ui/src/app/components/common/input/url/url.component.html
index 5c94f0635..cca0ee259 100644
--- a/src-ui/src/app/components/common/input/url/url.component.html
+++ b/src-ui/src/app/components/common/input/url/url.component.html
@@ -1,12 +1,14 @@
-
diff --git a/src-ui/src/app/components/common/page-header/page-header.component.html b/src-ui/src/app/components/common/page-header/page-header.component.html
index b77b6e445..e3e631434 100644
--- a/src-ui/src/app/components/common/page-header/page-header.component.html
+++ b/src-ui/src/app/components/common/page-header/page-header.component.html
@@ -2,7 +2,9 @@
{{title}}
- {{subTitle}}
+ @if (subTitle) {
+ {{subTitle}}
+ }
+
diff --git a/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html b/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html
index b7a1b1397..ef413a67c 100644
--- a/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html
+++ b/src-ui/src/app/components/common/permissions-filter-dropdown/permissions-filter-dropdown.component.html
@@ -1,82 +1,94 @@
-
-
-
-
- {{title}}
- selected
-
-
-
-
-
-
-
-
-
-
- All
-
-
-
-
-
-
-
-
-
- My documents
-
-
-
-
-
-
-
-
-
- Shared with me
-
-
-
-
-
-
-
-
-
- Unowned
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+ {{title}}
+ selected
+
+
+
+
+
+ @if (selectionModel.ownerFilter === OwnerFilterType.NONE) {
+
+
+
+ }
+
+ All
+
+
+
+
+ @if (selectionModel.ownerFilter === OwnerFilterType.SELF) {
+
+
+
+ }
+
+
+ My documents
+
+
+
+
+ @if (selectionModel.ownerFilter === OwnerFilterType.NOT_SELF) {
+
+
+
+ }
+
+
+ Shared with me
+
+
+
+
+ @if (selectionModel.ownerFilter === OwnerFilterType.UNOWNED) {
+
+
+
+ }
+
+
+ Unowned
+
+
+
+
+ @if (selectionModel.ownerFilter === OwnerFilterType.OTHERS) {
+
+
+
+ }
+
+
+
+
+
+
+ @if (selectionModel.ownerFilter === OwnerFilterType.NONE || selectionModel.ownerFilter === OwnerFilterType.NOT_SELF) {
+
+ }
+
diff --git a/src-ui/src/app/components/common/permissions-select/permissions-select.component.html b/src-ui/src/app/components/common/permissions-select/permissions-select.component.html
index f3e85a543..a2aa4a5c0 100644
--- a/src-ui/src/app/components/common/permissions-select/permissions-select.component.html
+++ b/src-ui/src/app/components/common/permissions-select/permissions-select.component.html
@@ -9,19 +9,23 @@
Delete
View
-
- {{type.key}}:
-
-
-
- All
-
-
-
-
- {{action.key}}
-
-
-
{{error}}
+ @for (type of PermissionType | keyvalue; track type) {
+
+ {{type.key}}:
+
+
+ All
+
+ @for (action of PermissionAction | keyvalue; track action) {
+
+
+ {{action.key}}
+
+ }
+
+ }
+ @if (error) {
+
{{error}}
+ }
diff --git a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html
index b6423b796..8c98d91b7 100644
--- a/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html
+++ b/src-ui/src/app/components/common/profile-edit-dialog/profile-edit-dialog.component.html
@@ -1,53 +1,57 @@
-
-
- + {{moreTags}}
-
+ @for (t of getTagsLimited$() | async; track t) {
+
+ }
+ @if (moreTags) {
+
+ + {{moreTags}}
+
+ }
-
-
-
-
-
- {{document.notes.length}}
-
+ @if (notesEnabled && document.notes.length) {
+
+
+
+
+
+ {{document.notes.length}}
+
+ }
-
+ @if (document.correspondent) {
{{(document.correspondent$ | async)?.name ?? privateName}} :
-
+ }
{{document.title | documentTitle}}
@@ -62,18 +64,26 @@
Views
-
- selected
-
+ @if (savedViewIsModified) {
+
+ selected
+
+ }
-
- {{view.name}}
- 0">
-
+ @if (!list.activeSavedViewId) {
+ @for (view of savedViewService.allViews; track view) {
+
{{view.name}}
+ }
+ @if (savedViewService.allViews.length > 0) {
+
+ }
+ }
- Save "{{list.activeSavedViewTitle}}"
+ @if (list.activeSavedViewId) {
+ Save "{{list.activeSavedViewTitle}}"
+ }
Save as...
@@ -90,165 +100,191 @@
-
+ @if (list.isReloading) {
Loading...
-
-
0">{list.collectionSize, plural, =1 {Selected {{list.selected.size}} of one document} other {Selected {{list.selected.size}} of {{list.collectionSize || 0}} documents}}
-
- {list.collectionSize, plural, =1 {One document} other {{{list.collectionSize || 0}} documents}} (filtered)
-
-
-
-
- Reset filters
-
+ }
+ @if (list.selected.size > 0) {
+
{list.collectionSize, plural, =1 {Selected {{list.selected.size}} of one document} other {Selected {{list.selected.size}} of {{list.collectionSize || 0}} documents}}
+ }
+ @if (!list.isReloading) {
+ @if (list.selected.size === 0) {
+
{list.collectionSize, plural, =1 {One document} other {{{list.collectionSize || 0}} documents}}
+ } @if (isFiltered) {
+
(filtered)
+ }
+ }
+ @if (!list.isReloading && isFiltered) {
+
+
+
+ Reset filters
+
+ }
+
+ @if (list.collectionSize) {
+
+ }
-
-
-
+
-
-
-
-
-
- Error while loading documents : {{list.error}}
-
-
-
-
-
-
-
-
- 15" class="mt-3">
+
-
-
+ @if (list.error ) {
+
Error while loading documents : {{list.error}}
+ } @else {
+ @if (displayMode === 'largeCards') {
+
+ @for (d of list.documents; track trackByDocumentId($index, d)) {
+
+
+ }
+
+ }
+ @if (displayMode === 'details') {
+
+ }
+ @if (displayMode === 'smallCards') {
+
+ @for (d of list.documents; track trackByDocumentId($index, d)) {
+
+ }
+
+ }
+ @if (list.documents?.length > 15) {
+
+
+
+ }
+ }
diff --git a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html
index 460b9e0fb..6fec313f8 100644
--- a/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html
+++ b/src-ui/src/app/components/document-list/filter-editor/filter-editor.component.html
@@ -5,17 +5,25 @@
{{textFilterTargetName}}
- {{t.name}}
+ @for (t of textFilterTargets; track t) {
+ {{t.name}}
+ }
-
- {{m.label}}
-
-
-
-
-
-
+ @if (textFilterTarget === 'asn') {
+
+ @for (m of textFilterModifiers; track m) {
+ {{m.label}}
+ }
+
+ }
+ @if (_textFilter) {
+
+
+
+
+
+ }
@@ -31,7 +39,7 @@
(selectionModelChange)="updateRules()"
(opened)="onTagsDropdownOpen()"
[documentCounts]="tagDocumentCounts"
- [allowSelectNone]="true">
+ [allowSelectNone]="true">
+ [allowSelectNone]="true">
+ [allowSelectNone]="true">
+ [allowSelectNone]="true">