diff --git a/client/src/app/site/modules/chip-select/components/chip-select/chip-select.component.html b/client/src/app/site/modules/chip-select/components/chip-select/chip-select.component.html index f4d31bde32..a8bf31ad94 100644 --- a/client/src/app/site/modules/chip-select/components/chip-select/chip-select.component.html +++ b/client/src/app/site/modules/chip-select/components/chip-select/chip-select.component.html @@ -11,8 +11,7 @@ } -} -@if (chips.length < 1) { +} @else { {{ 'Logout' | translate }} - } - @if (!user) { + } @else if (!user) {
- } - @if (!templateRef) { + } @else { } - @if (!isLast && !useMidpoint) { - , - } - @if (!isLast && useMidpoint) { -  ·  - } - @if (isLast && ellipsed) { + @if (!isLast) { + @if (!useMidpoint) { + , + } @else { +  ·  + } + } @else if (ellipsed) { } diff --git a/client/src/app/ui/modules/file-list/components/file-list/file-list.component.html b/client/src/app/ui/modules/file-list/components/file-list/file-list.component.html index 576874d196..4ce0af3401 100644 --- a/client/src/app/ui/modules/file-list/components/file-list/file-list.component.html +++ b/client/src/app/ui/modules/file-list/components/file-list/file-list.component.html @@ -22,8 +22,7 @@ {{ directory.getTitle() }} - } - @if (last && shouldShowFileMenuFn(directory)) { + } @else if (shouldShowFileMenuFn(directory)) { - } - @if (last && !shouldShowFileMenuFn(directory)) { + } @else { {{ directory.getTitle() }} diff --git a/client/src/app/ui/modules/file-upload/components/file-upload/file-upload.component.html b/client/src/app/ui/modules/file-upload/components/file-upload/file-upload.component.html index fc81f309bd..a2ec708c14 100644 --- a/client/src/app/ui/modules/file-upload/components/file-upload/file-upload.component.html +++ b/client/src/app/ui/modules/file-upload/components/file-upload/file-upload.component.html @@ -35,8 +35,7 @@ @if (!parallel) { - } - @if (parallel) { + } @else { } diff --git a/client/src/app/ui/modules/head-bar/components/head-bar/head-bar.component.html b/client/src/app/ui/modules/head-bar/components/head-bar/head-bar.component.html index 610c4212e5..96007c60a6 100644 --- a/client/src/app/ui/modules/head-bar/components/head-bar/head-bar.component.html +++ b/client/src/app/ui/modules/head-bar/components/head-bar/head-bar.component.html @@ -3,29 +3,26 @@
@if (!editMode) { @if (!showBackButton) { - @if (vp.isMobile && !customMenu) { + } - @if (customMenu && !multiSelectMode) { + } - } - - @if (showBackButton) { + } @else { + } - } - - - @if (editMode) { + } @else { + - } - @if ((vp.isMobileSubject | async) === false && hasSorting) { - + @if (hasSorting) { + @if (vp.isMobileSubject | async) { + + } @else { + + } } @@ -100,7 +101,11 @@ } - @if (searchService && !showSearchIconOnly) { + @if (showSearchIconOnly) { + + } @else if (searchService) { } - @if (showSearchIconOnly) { - - }
@@ -152,8 +152,6 @@ {{ sortService.getSortLabel(defaultOption) | translate }}  ({{ 'Default' | translate }}) - } - @if (defaultOption) { } @for (option of sortOptionsWithoutDefault; track option) { diff --git a/client/src/app/ui/modules/scrolling-table/components/scrolling-table/scrolling-table.component.html b/client/src/app/ui/modules/scrolling-table/components/scrolling-table/scrolling-table.component.html index 91200f3023..c852dd08ba 100644 --- a/client/src/app/ui/modules/scrolling-table/components/scrolling-table/scrolling-table.component.html +++ b/client/src/app/ui/modules/scrolling-table/components/scrolling-table/scrolling-table.component.html @@ -20,8 +20,7 @@ > @if (definition.labelTemplate) { - } - @if (!definition.labelTemplate) { + } @else { {{ definition.labelString }} } diff --git a/client/src/app/ui/modules/search-selector/components/base-search-selector/base-search-selector.component.html b/client/src/app/ui/modules/search-selector/components/base-search-selector/base-search-selector.component.html index 5eee3dac7f..f66aeebccb 100644 --- a/client/src/app/ui/modules/search-selector/components/base-search-selector/base-search-selector.component.html +++ b/client/src/app/ui/modules/search-selector/components/base-search-selector/base-search-selector.component.html @@ -97,8 +97,7 @@ } - } - @if (!multiple) { + } @else { @if (contentForm.value) { @if (!loaded) { - } - @if (loaded) { + } @else { } diff --git a/client/src/app/ui/modules/sidenav/modules/easter-egg/modules/chess-dialog/components/chess-dialog/chess-dialog.component.html b/client/src/app/ui/modules/sidenav/modules/easter-egg/modules/chess-dialog/components/chess-dialog/chess-dialog.component.html index 957dbd3289..15357cc862 100644 --- a/client/src/app/ui/modules/sidenav/modules/easter-egg/modules/chess-dialog/components/chess-dialog/chess-dialog.component.html +++ b/client/src/app/ui/modules/sidenav/modules/easter-egg/modules/chess-dialog/components/chess-dialog/chess-dialog.component.html @@ -10,16 +10,15 @@

{{ 'Playing against' | translate }} {{ opponentName }}
}
- @if (inMeeting && state === 'start') { + @if (!inMeeting) { +
+ {{ 'Open a meeting to play chess' | translate }} +
+ } @else if (state === 'start') {
} - @if (!inMeeting) { -
- {{ 'Open a meeting to play chess' | translate }} -
- }