Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Migrate templates to self-closing tags

Alexander Brandon Coles718b07cf1922
diff --git a/docs/development/concepts/inline-editing/README.md b/docs/development/concepts/inline-editing/README.md
index 5805da6ff99..d215d980e24 100644
--- a/docs/development/concepts/inline-editing/README.md
+++ b/docs/development/concepts/inline-editing/README.md
@@ -234,8 +234,7 @@ On the example of a work package, this following code snippet would create an ed
```html
@if (workPackage) {
<edit-form [resource]="workPackage">
- <op-editable-attribute-field [resource]="workPackage" fieldName="subject">
- </op-editable-attribute-field>
+ <op-editable-attribute-field [resource]="workPackage" fieldName="subject"/>
</edit-form>
}
```
diff --git a/frontend/src/app/core/global_search/global-search-work-packages.component.ts b/frontend/src/app/core/global_search/global-search-work-packages.component.ts
index 35d1c032f6b..626007dc620 100644
--- a/frontend/src/app/core/global_search/global-search-work-packages.component.ts
+++ b/frontend/src/app/core/global_search/global-search-work-packages.component.ts
@@ -59,8 +59,7 @@ import { CurrentProjectService } from 'core-app/core/current-project/current-pro
hostDirectives: [WorkPackageIsolatedQuerySpaceDirective],
template: `
<wp-embedded-table [queryProps]="queryProps"
- [configuration]="tableConfiguration">
- </wp-embedded-table>
+ [configuration]="tableConfiguration" />
`,
standalone: false,
})
diff --git a/frontend/src/app/core/global_search/input/global-search-input.component.html b/frontend/src/app/core/global_search/input/global-search-input.component.html
index 7e16b300e6d..2c07b708ac5 100644
--- a/frontend/src/app/core/global_search/input/global-search-input.component.html
+++ b/frontend/src/app/core/global_search/input/global-search-input.component.html
@@ -22,7 +22,7 @@
[class.-input-focused]="expanded"
(click)="handleClick($event)"
>
- <op-icon icon-classes="icon5 icon-search ellipsis"></op-icon>
+ <op-icon icon-classes="icon5 icon-search ellipsis" />
</button>
<op-autocompleter
#select
diff --git a/frontend/src/app/core/routing/base/application-base.component.ts b/frontend/src/app/core/routing/base/application-base.component.ts
index 9570b138469..97ae414e336 100644
--- a/frontend/src/app/core/routing/base/application-base.component.ts
+++ b/frontend/src/app/core/routing/base/application-base.component.ts
@@ -34,7 +34,7 @@ export const appBaseSelector = 'openproject-base';
selector: appBaseSelector,
template: `
<div class="openproject-base--ui-view">
- <ui-view></ui-view>
+ <ui-view />
</div>
`,
standalone: false,
diff --git a/frontend/src/app/features/admin/types/attribute-group.component.html b/frontend/src/app/features/admin/types/attribute-group.component.html
index 8ae39855766..0968fa0047f 100644
--- a/frontend/src/app/features/admin/types/attribute-group.component.html
+++ b/frontend/src/app/features/admin/types/attribute-group.component.html
@@ -1,11 +1,9 @@
<div class="type-form-conf-group">
<div class="group-head">
<span class="group-handle icon-drag-handle"></span>
- <op-group-edit-in-place
- [name]="group.name"
+ <op-group-edit-in-place [name]="group.name"
(onValueChange)="rename($event)"
- class="group-name">
- </op-group-edit-in-place>
+ class="group-name" />
<span class="delete-group icon-small icon-close" (click)="deleteGroup.emit()"></span>
</div>
<div class="attributes" dragula="attributes" [(dragulaModel)]="group.attributes">
diff --git a/frontend/src/app/features/admin/types/query-group.component.html b/frontend/src/app/features/admin/types/query-group.component.html
index 9baf9efca6a..257c8134a7f 100644
--- a/frontend/src/app/features/admin/types/query-group.component.html
+++ b/frontend/src/app/features/admin/types/query-group.component.html
@@ -1,16 +1,14 @@
<div class="type-form-conf-group type-form-query-group">
<div class="group-head">
<span class="group-handle icon-drag-handle"></span>
- <op-group-edit-in-place
- [name]="group.name"
+ <op-group-edit-in-place [name]="group.name"
(onValueChange)="rename($event)"
- class="group-name">
- </op-group-edit-in-place>
+ class="group-name" />
<span class="delete-group icon-small icon-close" (click)="deleteGroup.emit()"></span>
</div>
<div class="type-form-query">
<span class="type-form-query-group--edit-button" (click)="editQuery.emit()">
- <op-icon icon-classes="button--icon icon-edit"></op-icon>
+ <op-icon icon-classes="button--icon icon-edit" />
{{ text.edit_query }}
</span>
</div>
diff --git a/frontend/src/app/features/admin/types/type-form-configuration.html b/frontend/src/app/features/admin/types/type-form-configuration.html
index ab507b1d661..824d39d8eb6 100644
--- a/frontend/src/app/features/admin/types/type-form-configuration.html
+++ b/frontend/src/app/features/admin/types/type-form-configuration.html
@@ -5,7 +5,7 @@
<button type="button -primary"
class="form-configuration--reset button"
(click)="resetToDefault($event)">
- <op-icon icon-classes="button--icon icon-undo"></op-icon>
+ <op-icon icon-classes="button--icon icon-undo" />
<span class="button--text" [textContent]="text.reset"></span>
</button>
</li>
@@ -13,9 +13,9 @@
<li
class="toolbar-item drop-down">
<a class="form-configuration--add-group button -primary" aria-haspopup="true">
- <op-icon icon-classes="button--icon icon-add"></op-icon>
+ <op-icon icon-classes="button--icon icon-add" />
<span class="button--text" [textContent]="text.label_group"></span>
- <op-icon icon-classes="button--dropdown-indicator"></op-icon>
+ <op-icon icon-classes="button--dropdown-indicator" />
</a>
<ul class="menu-drop-down-container">
<li>
@@ -48,18 +48,14 @@
<div id="draggable-groups" dragula="groups" [(dragulaModel)]="groups">
@for (group of groups; track group) {
@if (group.type === 'attribute') {
- <op-type-form-attribute-group
- (removeAttribute)="deactivateAttribute($event)"
+ <op-type-form-attribute-group (removeAttribute)="deactivateAttribute($event)"
(deleteGroup)="deleteGroup(group)"
- [group]="group">
- </op-type-form-attribute-group>
+ [group]="group" />
}
@if (group.type === 'query') {
- <op-type-form-query-group
- (editQuery)="editQuery(group)"
+ <op-type-form-query-group (editQuery)="editQuery(group)"
(deleteGroup)="deleteGroup(group)"
- [group]="group">
- </op-type-form-query-group>
+ [group]="group" />
}
}
</div>
diff --git a/frontend/src/app/features/bim/bcf/bcf-wp-attribute-group/bcf-wp-attribute-group.component.html b/frontend/src/app/features/bim/bcf/bcf-wp-attribute-group/bcf-wp-attribute-group.component.html
index 7d8f6d617e7..3c4f99b60cf 100644
--- a/frontend/src/app/features/bim/bcf/bcf-wp-attribute-group/bcf-wp-attribute-group.component.html
+++ b/frontend/src/app/features/bim/bcf/bcf-wp-attribute-group/bcf-wp-attribute-group.component.html
@@ -13,8 +13,7 @@
(change)="onGalleryChanged($event)"
(imagesReady)="selectViewpointInGallery()"
(previewOpen)="galleryPreviewOpen()"
- (previewClose)="galleryPreviewClose()">
- </ngx-gallery>
+ (previewClose)="galleryPreviewClose()" />
</div>
}
@if (viewerVisible && createAllowed) {
@@ -22,7 +21,7 @@
[title]="text.add_viewpoint"
class="button"
(click)="saveViewpoint(workPackage)">
- <op-icon icon-classes="button--icon icon-add"></op-icon>
+ <op-icon icon-classes="button--icon icon-add" />
<span class="button--text"> {{text.viewpoint}} </span>
</a>
}
diff --git a/frontend/src/app/features/bim/ifc_models/bcf/list/bcf-list.component.html b/frontend/src/app/features/bim/ifc_models/bcf/list/bcf-list.component.html
index 40ed2d8370e..545d13b0315 100644
--- a/frontend/src/app/features/bim/ifc_models/bcf/list/bcf-list.component.html
+++ b/frontend/src/app/features/bim/ifc_models/bcf/list/bcf-list.component.html
@@ -12,16 +12,13 @@
[configuration]="wpTableConfiguration"
(itemClicked)="handleWorkPackageClicked($event)"
(stateLinkClicked)="openStateLink($event)"
- class="work-packages-split-view--tabletimeline-content">
- </wp-table>
+ class="work-packages-split-view--tabletimeline-content" />
</div>
}
@if (showResizer) {
- <wp-resizer
- elementClass="work-packages-partitioned-page--content-right"
- localStorageKey="openProject-splitViewFlexBasis">
- </wp-resizer>
+ <wp-resizer elementClass="work-packages-partitioned-page--content-right"
+ localStorageKey="openProject-splitViewFlexBasis" />
}
<!-- GRID representation of the WP -->
@@ -32,8 +29,7 @@
<wp-grid [configuration]="wpTableConfiguration"
[showResizer]="false"
(itemClicked)="handleWorkPackageClicked($event)"
- (stateLinkClicked)="openStateLink($event)">
- </wp-grid>
+ (stateLinkClicked)="openStateLink($event)" />
</div>
}
@@ -41,6 +37,6 @@
@if (tableInformationLoaded) {
<div class="work-packages-split-view--tabletimeline-footer hide-when-print"
>
- <wp-table-pagination></wp-table-pagination>
+ <wp-table-pagination />
</div>
}
diff --git a/frontend/src/app/features/bim/ifc_models/bcf/split/left/bcf-split-left.component.html b/frontend/src/app/features/bim/ifc_models/bcf/split/left/bcf-split-left.component.html
index 3e5901a97f4..be1a1b125b8 100644
--- a/frontend/src/app/features/bim/ifc_models/bcf/split/left/bcf-split-left.component.html
+++ b/frontend/src/app/features/bim/ifc_models/bcf/split/left/bcf-split-left.component.html
@@ -1,9 +1,7 @@
@if (showViewer$ | async) {
- <op-ifc-viewer
- ></op-ifc-viewer>
+ <op-ifc-viewer />
}
@if ((showViewer$ | async) === false) {
- <op-bcf-list
- ></op-bcf-list>
+ <op-bcf-list />
}
diff --git a/frontend/src/app/features/bim/ifc_models/bcf/split/right/bcf-split-right.component.html b/frontend/src/app/features/bim/ifc_models/bcf/split/right/bcf-split-right.component.html
index 5c85421a144..82923fc0274 100644
--- a/frontend/src/app/features/bim/ifc_models/bcf/split/right/bcf-split-right.component.html
+++ b/frontend/src/app/features/bim/ifc_models/bcf/split/right/bcf-split-right.component.html
@@ -1,5 +1,4 @@
@if (showWorkPackages$ | async) {
- <op-bcf-list
- [showResizer]="true"
- ></op-bcf-list>
+ <op-bcf-list [showResizer]="true"
+ />
}
diff --git a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-export-button.component.ts b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-export-button.component.ts
index a4f5b08b82e..4e33473461a 100644
--- a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-export-button.component.ts
+++ b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-export-button.component.ts
@@ -47,7 +47,7 @@ import { JobStatusModalService } from 'core-app/features/job-status/job-status-m
class="button export-bcf-button"
[attr.href]="exportLink"
(click)="showDelayedExport($event)">
- <op-icon icon-classes="button--icon icon-export"></op-icon>
+ <op-icon icon-classes="button--icon icon-export" />
<span class="button--text"> {{text.export}} </span>
</a>
`,
diff --git a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-import-button.component.ts b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-import-button.component.ts
index aa0dd9cb814..9081664edeb 100644
--- a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-import-button.component.ts
+++ b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/bcf-import-button.component.ts
@@ -36,7 +36,7 @@ import { BcfPathHelperService } from 'core-app/features/bim/bcf/helper/bcf-path-
<a [title]="text.import_hover"
(click)="handleClick()"
class="button import-bcf-button">
- <op-icon icon-classes="button--icon icon-import"></op-icon>
+ <op-icon icon-classes="button--icon icon-import" />
<span class="button--text"> {{text.import}} </span>
</a>
`,
diff --git a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/refresh-button.component.ts b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/refresh-button.component.ts
index 5df1b280035..daee1e4ca5b 100644
--- a/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/refresh-button.component.ts
+++ b/frontend/src/app/features/bim/ifc_models/toolbar/import-export-bcf/refresh-button.component.ts
@@ -35,7 +35,7 @@ import { StateService } from '@uirouter/core';
<a [title]="text.refresh_hover"
class="button refresh-button"
(click)="refresh()">
- <op-icon icon-classes="button--icon icon-workflow"></op-icon>
+ <op-icon icon-classes="button--icon icon-workflow" />
</a>
`,
selector: 'op-refresh-button',
diff --git a/frontend/src/app/features/bim/ifc_models/toolbar/manage-ifc-models-button/bim-manage-ifc-models-button.component.ts b/frontend/src/app/features/bim/ifc_models/toolbar/manage-ifc-models-button/bim-manage-ifc-models-button.component.ts
index 853d77f17be..e030998bc45 100644
--- a/frontend/src/app/features/bim/ifc_models/toolbar/manage-ifc-models-button/bim-manage-ifc-models-button.component.ts
+++ b/frontend/src/app/features/bim/ifc_models/toolbar/manage-ifc-models-button/bim-manage-ifc-models-button.component.ts
@@ -36,7 +36,7 @@ import { IfcModelsDataService } from 'core-app/features/bim/ifc_models/pages/vie
<a
class="button"
[href]="manageIFCPath">
- <op-icon icon-classes="button--icon icon-settings2"></op-icon>
+ <op-icon icon-classes="button--icon icon-settings2" />
<span class="button--text"
[textContent]="text.manage"
aria-hidden="true"></span>
diff --git a/frontend/src/app/features/bim/ifc_models/toolbar/view-toggle/bcf-view-toggle-button.component.ts b/frontend/src/app/features/bim/ifc_models/toolbar/view-toggle/bcf-view-toggle-button.component.ts
index afeac31ea53..30dc8d31100 100644
--- a/frontend/src/app/features/bim/ifc_models/toolbar/view-toggle/bcf-view-toggle-button.component.ts
+++ b/frontend/src/app/features/bim/ifc_models/toolbar/view-toggle/bcf-view-toggle-button.component.ts
@@ -36,12 +36,12 @@ import { BcfViewService } from 'core-app/features/bim/ifc_models/pages/viewer/bc
<button class="button"
id="bcf-view-toggle-button"
opBcfViewDropdown>
- <op-icon icon-classes="button--icon {{bcfView.icon[current]}}"></op-icon>
+ <op-icon icon-classes="button--icon {{bcfView.icon[current]}}" />
<span class="button--text"
aria-hidden="true"
[textContent]="bcfView.text[current]">
</span>
- <op-icon icon-classes="button--icon icon-small icon-pulldown"></op-icon>
+ <op-icon icon-classes="button--icon icon-small icon-pulldown" />
</button>
}
`,
diff --git a/frontend/src/app/features/boards/board/add-list-modal/add-list-modal.html b/frontend/src/app/features/boards/board/add-list-modal/add-list-modal.html
index 70c38b6608b..04b590c62e9 100644
--- a/frontend/src/app/features/boards/board/add-list-modal/add-list-modal.html
+++ b/frontend/src/app/features/boards/board/add-list-modal/add-list-modal.html
@@ -38,7 +38,7 @@
type="button"
(click)="onNewActionCreated()">
<span class="icon-context">
- <op-icon icon-classes="icon-plus icon-context"></op-icon>
+ <op-icon icon-classes="icon-plus icon-context" />
{{ text.button_create }} {{ ngSelectComponent.ngSelectInstance.searchTerm }}
</span>
</button>
diff --git a/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.html b/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.html
index d0c638d2700..3a42cd16f1c 100644
--- a/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.html
+++ b/frontend/src/app/features/boards/board/board-actions/assignee/assignee-board-header.html
@@ -1,11 +1,10 @@
@if (user) {
<div class="op-assignee-board-header">
@if (user.id) {
- <op-principal
- [principal]="user"
+ <op-principal [principal]="user"
[hideName]="true"
size="mini"
- ></op-principal>
+ />
}
<h2 class="editable-toolbar-title--fixed">
<small [textContent]="text.assignee"></small>
diff --git a/frontend/src/app/features/boards/board/board-filter/board-filter.component.html b/frontend/src/app/features/boards/board/board-filter/board-filter.component.html
index d582622de0b..61ad4aae3fc 100644
--- a/frontend/src/app/features/boards/board/board-filter/board-filter.component.html
+++ b/frontend/src/app/features/boards/board/board-filter/board-filter.component.html
@@ -1 +1 @@
-<op-filter-container></op-filter-container>
+<op-filter-container />
diff --git a/frontend/src/app/features/boards/board/board-list/board-list-menu.component.html b/frontend/src/app/features/boards/board/board-list/board-list-menu.component.html
index 4f20f1d5090..898d1817d9e 100644
--- a/frontend/src/app/features/boards/board/board-list/board-list-menu.component.html
+++ b/frontend/src/app/features/boards/board/board-list/board-list-menu.component.html
@@ -1,7 +1,5 @@
@if (canDelete()) {
<ng-container class="board-list--more-menu">
- <icon-triggered-context-menu
- [menuItemsFactory]="menuItems">
- </icon-triggered-context-menu>
+ <icon-triggered-context-menu [menuItemsFactory]="menuItems" />
</ng-container>
}
diff --git a/frontend/src/app/features/boards/board/board-list/board-list.component.html b/frontend/src/app/features/boards/board/board-list/board-list.component.html
index e3913af6e81..bf89ff67b46 100644
--- a/frontend/src/app/features/boards/board/board-list/board-list.component.html
+++ b/frontend/src/app/features/boards/board/board-list/board-list.component.html
@@ -14,29 +14,24 @@
<div class="op-board-list--header"
data-test-selector="op-board-list--header">
@if (headerComponent) {
- <ndc-dynamic
- [ndcDynamicComponent]="headerComponent"
- [ndcDynamicInputs]="{ resource: actionResource }">
- </ndc-dynamic>
+ <ndc-dynamic [ndcDynamicComponent]="headerComponent"
+ [ndcDynamicInputs]="{ resource: actionResource }" />
}
<h3 class="toolbar-title--container">
@if (!headerComponent) {
- <editable-toolbar-title
- [title]="query.name"
+ <editable-toolbar-title [title]="query.name"
[smallHeader]="true"
[inFlight]="inFlight"
(onSave)="renameQuery(query, $event)"
[editable]="canRename"
[initialFocus]="initiallyFocused"
- class="-small">
- </editable-toolbar-title>
+ class="-small" />
}
</h3>
<board-list-menu class="op-board-list--menu"
data-test-selector="op-board-list--menu"
[board]="board"
- (onRemove)="deleteList()">
- </board-list-menu>
+ (onRemove)="deleteList()" />
</div>
<div class="op-board-list--query-container drop-zone"
[ngClass]="{ '-with-create-button': board.isAction || showAddButton }">
@@ -47,7 +42,7 @@
data-tour-selector="op-board-list--card-dropdown-add-button"
class="op-board-list--add-button op-board-list--card-dropdown-button button"
op-addCardDropdown>
- <op-icon icon-classes="icon-small icon-add"></op-icon>
+ <op-icon icon-classes="icon-small icon-add" />
</button>
}
</div>
@@ -59,8 +54,7 @@
[highlightingMode]="board.highlightingMode"
[showStatusButton]="showCardStatusButton()"
(itemClicked)="openFullViewOnDoubleClick($event)"
- (stateLinkClicked)="openStateLink($event)">
- </wp-card-view>
+ (stateLinkClicked)="openStateLink($event)" />
</div>
}
@if (loadingError) {
diff --git a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html
index 8c698f6a5ce..c345945cfad 100644
--- a/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html
+++ b/frontend/src/app/features/boards/board/board-partitioned-page/board-list-container.component.html
@@ -1,10 +1,9 @@
@if ((board$ | async); as board) {
@if (!board.isFree) {
- <op-enterprise-banner-frame
- class="boards-list--enterprise-banner"
+ <op-enterprise-banner-frame class="boards-list--enterprise-banner"
feature="board_view"
[dismissable]="true"
- ></op-enterprise-banner-frame>
+ />
}
@if (available) {
<div
@@ -30,8 +29,7 @@
<board-list [resource]="boardWidget"
[board]="board"
(onRemove)="removeList(board, boardWidget)"
- (visibilityChange)="changeVisibilityOfList(board, boardWidget, $event)">
- </board-list>
+ (visibilityChange)="changeVisibilityOfList(board, boardWidget, $event)" />
</div>
}
@if (showHiddenListWarning) {
@@ -45,7 +43,7 @@
<div class="boards-list--add-item -no-text-select"
(click)="addList(board)">
<div class="boards-list--add-item-text">
- <op-icon icon-classes="icon-add icon-context"></op-icon>
+ <op-icon icon-classes="icon-add icon-context" />
<span [textContent]="text.addList"></span>
</div>
</div>
diff --git a/frontend/src/app/features/boards/board/inline-add/board-inline-add-autocompleter.html b/frontend/src/app/features/boards/board/inline-add/board-inline-add-autocompleter.html
index 863415f36bc..53a584e205b 100644
--- a/frontend/src/app/features/boards/board/inline-add/board-inline-add-autocompleter.html
+++ b/frontend/src/app/features/boards/board/inline-add/board-inline-add-autocompleter.html
@@ -1,5 +1,4 @@
-<op-autocompleter
- [appendTo]="appendToContainer"
+<op-autocompleter [appendTo]="appendToContainer"
classes="wp-inline-create--reference-autocompleter"
[closeOnSelect]="false"
[placeholder]="text.placeholder"
@@ -7,4 +6,4 @@
[getOptionsFn]="autocompleterOptions.getOptionsFn"
(close)="cancel()"
(change)="addWorkPackageToQuery($event)"
-></op-autocompleter>
+ />
diff --git a/frontend/src/app/features/boards/board/toolbar-menu/boards-menu-button.component.ts b/frontend/src/app/features/boards/board/toolbar-menu/boards-menu-button.component.ts
index a645ad4c2d3..2e516b2402f 100644
--- a/frontend/src/app/features/boards/board/toolbar-menu/boards-menu-button.component.ts
+++ b/frontend/src/app/features/boards/board/toolbar-menu/boards-menu-button.component.ts
@@ -9,7 +9,7 @@ import { Observable } from 'rxjs';
class="button last board--settings-dropdown toolbar-icon"
boardsToolbarMenu
[boardsToolbarMenu-resource]="board$ | async">
- <op-icon icon-classes="button--icon icon-show-more"></op-icon>
+ <op-icon icon-classes="button--icon icon-show-more" />
</button>
`,
standalone: false,
diff --git a/frontend/src/app/features/boards/boards-root/boards-root.component.ts b/frontend/src/app/features/boards/boards-root/boards-root.component.ts
index fc20bffaee0..65eb30d4516 100644
--- a/frontend/src/app/features/boards/boards-root/boards-root.component.ts
+++ b/frontend/src/app/features/boards/boards-root/boards-root.component.ts
@@ -14,7 +14,7 @@ import {
@Component({
selector: 'boards-entry',
hostDirectives: [WorkPackageIsolatedQuerySpaceDirective],
- template: '<ui-view></ui-view>',
+ template: '<ui-view />',
providers: [
BoardConfigurationService,
BoardStatusActionService,
diff --git a/frontend/src/app/features/calendar/te-calendar/te-calendar.template.html b/frontend/src/app/features/calendar/te-calendar/te-calendar.template.html
index 3e2fc0f2bcd..d1d118c38f3 100644
--- a/frontend/src/app/features/calendar/te-calendar/te-calendar.template.html
+++ b/frontend/src/app/features/calendar/te-calendar/te-calendar.template.html
@@ -10,7 +10,7 @@
[attr.aria-label]="text.logTime"
(click)="addEventToday()"
>
- <op-icon icon-classes="button--icon icon-log_time"></op-icon>
+ <op-icon icon-classes="button--icon icon-log_time" />
<span
class="button--text"
[textContent]="text.logTime"
@@ -20,10 +20,9 @@
}
@if ((calendarOptions$ | async); as calendarOptions) {
@if (calendarOptions) {
- <full-calendar
- #ucCalendar
+ <full-calendar #ucCalendar
[options]="calendarOptions"
- ></full-calendar>
+ />
}
}
</div>
diff --git a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.template.html b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.template.html
index 2e6e2157fd7..9cea3192912 100644
--- a/frontend/src/app/features/calendar/wp-calendar/wp-calendar.template.html
+++ b/frontend/src/app/features/calendar/wp-calendar/wp-calendar.template.html
@@ -4,10 +4,9 @@
[attr.data-indicator-name]="'table'">
@if ((calendarOptions$ | async); as calendarOptions) {
@if (calendarOptions) {
- <full-calendar
- #ucCalendar
+ <full-calendar #ucCalendar
[options]="calendarOptions"
- ></full-calendar>
+ />
}
}
@if (static) {
diff --git a/frontend/src/app/features/enterprise/enterprise-banner-frame.component.html b/frontend/src/app/features/enterprise/enterprise-banner-frame.component.html
index 5f967f306af..776e0e0e1e2 100644
--- a/frontend/src/app/features/enterprise/enterprise-banner-frame.component.html
+++ b/frontend/src/app/features/enterprise/enterprise-banner-frame.component.html
@@ -1,7 +1,5 @@
@if (visible) {
- <turbo-frame
- [id]="frameID"
+ <turbo-frame [id]="frameID"
[src]="frameURL"
- >
- </turbo-frame>
+ />
}
diff --git a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.html b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.html
index 0602b217436..2cbcca9d6c8 100644
--- a/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.html
+++ b/frontend/src/app/features/in-app-notifications/center/in-app-notification-center.component.html
@@ -9,8 +9,7 @@
itemSize="100"
class="op-ian-center--viewport"
>
- <op-in-app-notification-entry
- *cdkVirtualFor="let records of notifications$ | async; trackBy: trackNotificationGroups; templateCacheSize: 0"
+ <op-in-app-notification-entry *cdkVirtualFor="let records of notifications$ | async; trackBy: trackNotificationGroups; templateCacheSize: 0"
class="op-ian-item"
[class.op-ian-item_expanded]="records[0].expanded"
[class.op-ian-item_read]="records[0].readIAN === true"
@@ -20,7 +19,7 @@
attr.data-test-selector="op-ian-notification-item-{{records[0].id}}"
[attr.data-qa-ian-read]="records[0].readIAN === true || undefined"
[attr.data-qa-ian-selected]="(selectedWorkPackage$ | async) === idFromLink(records[0]._links.resource.href)"
- ></op-in-app-notification-entry>
+ />
</cdk-virtual-scroll-viewport>
} @else {
<div class="op-ian-center--loading-indicator">
diff --git a/frontend/src/app/features/in-app-notifications/entry/actors-line/in-app-notification-actors-line.component.html b/frontend/src/app/features/in-app-notifications/entry/actors-line/in-app-notification-actors-line.component.html
index 7d70fabbc23..3eb5cd4bf94 100644
--- a/frontend/src/app/features/in-app-notifications/entry/actors-line/in-app-notification-actors-line.component.html
+++ b/frontend/src/app/features/in-app-notifications/entry/actors-line/in-app-notification-actors-line.component.html
@@ -6,13 +6,12 @@
@if (last && actors.length > 1 && actors.length < 4) {
<span textContent=" {{ text.and }} "></span>
}
- <op-principal
- class="op-ian-item--actors"
+ <op-principal class="op-ian-item--actors"
[principal]="actor"
[hideName]="false"
[hideAvatar]="true"
[link]="!deviceService.isMobile"
- ></op-principal>
+ />
@if ((idx === 0 && actors.length > 2) || (idx === 1 && actors.length > 3)) {
<span [textContent]="', '"></span>
}
diff --git a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html
index cbb7c4d55a6..bfcb2b6dcc4 100644
--- a/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html
+++ b/frontend/src/app/features/in-app-notifications/entry/in-app-notification-entry.component.html
@@ -8,7 +8,7 @@
class="op-ian-item--top-line"
>
<div class="op-ian-item--status">
- <op-in-app-notification-status [status]="workPackage.status"></op-in-app-notification-status>
+ <op-in-app-notification-status [status]="workPackage.status" />
</div>
<a
class="op-ian-item--work-package-id-link spot-link"
@@ -89,15 +89,13 @@
}
@if (!hasReminderAlert) {
@if (showDateAlert) {
- <op-in-app-notification-date-alert
- [aggregatedNotifications]="aggregatedNotifications"
- ></op-in-app-notification-date-alert>
+ <op-in-app-notification-date-alert [aggregatedNotifications]="aggregatedNotifications"
+ />
}
@if (!showDateAlert) {
- <op-in-app-notification-actors-line
- [notification]="notification"
+ <op-in-app-notification-actors-line [notification]="notification"
[aggregatedNotifications]="aggregatedNotifications"
- ></op-in-app-notification-actors-line>
+ />
}
}
</div>
diff --git a/frontend/src/app/features/in-app-notifications/entry/reminder-alert/in-app-notification-reminder-alert.component.html b/frontend/src/app/features/in-app-notifications/entry/reminder-alert/in-app-notification-reminder-alert.component.html
index 7512ade4381..ed1c599fadb 100644
--- a/frontend/src/app/features/in-app-notifications/entry/reminder-alert/in-app-notification-reminder-alert.component.html
+++ b/frontend/src/app/features/in-app-notifications/entry/reminder-alert/in-app-notification-reminder-alert.component.html
@@ -1,13 +1,9 @@
@if (hasDateAlert) {
- <op-in-app-notification-date-alert
- [aggregatedNotifications]="dateAlerts">
- </op-in-app-notification-date-alert>
+ <op-in-app-notification-date-alert [aggregatedNotifications]="dateAlerts" />
}
@if (!hasDateAlert) {
- <op-in-app-notification-relative-time
- [notification]="reminderAlert"
- [hasActorByLine]="false">
- </op-in-app-notification-relative-time>
+ <op-in-app-notification-relative-time [notification]="reminderAlert"
+ [hasActorByLine]="false" />
}
<span
diff --git a/frontend/src/app/features/invite-user-modal/button/invite-user-button.component.html b/frontend/src/app/features/invite-user-modal/button/invite-user-button.component.html
index 85c6d326a26..78adbd967bd 100644
--- a/frontend/src/app/features/invite-user-modal/button/invite-user-button.component.html
+++ b/frontend/src/app/features/invite-user-modal/button/invite-user-button.component.html
@@ -5,7 +5,7 @@
(click)="onAddNewClick($event)"
>
<span class="icon-context">
- <op-icon icon-classes="icon-user-plus icon-context"></op-icon>
+ <op-icon icon-classes="icon-user-plus icon-context" />
{{text.button}}
</span>
</button>
diff --git a/frontend/src/app/features/invite-user-modal/invite-user.component.html b/frontend/src/app/features/invite-user-modal/invite-user.component.html
index c2af72d7306..a4e63d534d9 100644
--- a/frontend/src/app/features/invite-user-modal/invite-user.component.html
+++ b/frontend/src/app/features/invite-user-modal/invite-user.component.html
@@ -4,8 +4,7 @@
></div>
}
@if (!loading && step === Steps.ProjectSelection) {
- <op-ium-project-selection
- [project]="project"
+ <op-ium-project-selection [project]="project"
[type]="type"
(save)="onProjectSelectionSave($event)"
(close)="closeMe()"
@@ -13,12 +12,11 @@
cdkFocusInitial
cdkTrapFocus
[cdkTrapFocusAutoCapture]="true"
- ></op-ium-project-selection>
+ />
}
@if (!loading && step === Steps.Principal) {
- <op-ium-principal
- [project]="project"
+ <op-ium-principal [project]="project"
[roleData]="role"
[messageData]="message"
[principalData]="principalData"
@@ -30,12 +28,11 @@
cdkFocusInitial
cdkTrapFocus
[cdkTrapFocusAutoCapture]="true"
- ></op-ium-principal>
+ />
}
@if (!loading && step === Steps.Summary) {
- <op-ium-summary
- [project]="project"
+ <op-ium-summary [project]="project"
[principalData]="principalData"
[type]="type"
[role]="role"
@@ -47,12 +44,11 @@
cdkFocusInitial
cdkTrapFocus
[cdkTrapFocusAutoCapture]="true"
- ></op-ium-summary>
+ />
}
@if (!loading && step === Steps.Success) {
- <op-ium-success
- [principal]="principalData.principal"
+ <op-ium-success [principal]="principalData.principal"
[project]="project"
[type]="type"
[createdNewPrincipal]="createdNewPrincipal"
@@ -62,5 +58,5 @@
cdkFocusInitial
cdkTrapFocus
[cdkTrapFocusAutoCapture]="true"
- ></op-ium-success>
+ />
}
diff --git a/frontend/src/app/features/invite-user-modal/principal/principal-search.component.html b/frontend/src/app/features/invite-user-modal/principal/principal-search.component.html
index 265e34ebe2b..919464657e1 100644
--- a/frontend/src/app/features/invite-user-modal/principal/principal-search.component.html
+++ b/frontend/src/app/features/invite-user-modal/principal/principal-search.component.html
@@ -51,7 +51,7 @@
<!--Invite a new user by email-->
@if (canInviteByEmail$ | async) {
<div>
- <op-icon icon-classes="icon-mail1 icon-context"></op-icon>
+ <op-icon icon-classes="icon-mail1 icon-context" />
<b>{{ text.inviteNewUser }}</b>
{{ input }}
</div>
@@ -60,7 +60,7 @@
<!--Create a new placeholder by name-->
@if (canCreateNewPlaceholder$ | async) {
<div>
- <op-icon icon-classes="icon-add icon-context"></op-icon>
+ <op-icon icon-classes="icon-add icon-context" />
<b>{{ text.createNewPlaceholder }}</b>
{{ input }}
</div>
diff --git a/frontend/src/app/features/invite-user-modal/principal/principal.component.html b/frontend/src/app/features/invite-user-modal/principal/principal.component.html
index 32acdea23d7..3b4e5750a48 100644
--- a/frontend/src/app/features/invite-user-modal/principal/principal.component.html
+++ b/frontend/src/app/features/invite-user-modal/principal/principal.component.html
@@ -13,13 +13,12 @@
required
>
@if (!(hasPrincipalSelected && isNewPrincipal)) {
- <op-ium-principal-search
- [spotFormBinding]="principalControl"
+ <op-ium-principal-search [spotFormBinding]="principalControl"
[type]="type"
[project]="project"
slot="input"
(createNew)="createNewFromInput($event)"
- ></op-ium-principal-search>
+ />
}
@if (isNewPrincipal && type === PrincipalType.User) {
@@ -59,22 +58,20 @@
</spot-form-field>
@if (isNewPrincipal && type === PrincipalType.User && userDynamicFieldConfig.schema) {
- <op-dynamic-form
- [dynamicFormGroup]="dynamicFieldsControl"
+ <op-dynamic-form [dynamicFormGroup]="dynamicFieldsControl"
[settings]="userDynamicFieldConfig"
[formUrl]="apiV3Service.users.form.path"
[handleSubmit]="false"
- ></op-dynamic-form>
+ />
}
<spot-form-field
[label]="text.role.label()"
required
>
- <op-ium-role-search
- [spotFormBinding]="roleControl"
+ <op-ium-role-search [spotFormBinding]="roleControl"
slot="input"
- ></op-ium-role-search>
+ />
<p
class="spot-form-field--description"
slot="action"
@@ -117,7 +114,7 @@
class="button button_no-margin spot-action-bar--action"
(click)="back.emit()"
>
- <op-icon icon-classes="button--icon icon-arrow-left1"></op-icon>
+ <op-icon icon-classes="button--icon icon-arrow-left1" />
{{ text.principal.backButton }}
</button>
</div>
diff --git a/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html b/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html
index ae7e7e22fc6..09098cc5c97 100644
--- a/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html
+++ b/frontend/src/app/features/invite-user-modal/project-selection/project-selection.component.html
@@ -12,13 +12,12 @@
[label]="text.project.label"
required
>
- <op-project-autocompleter
- slot="input"
+ <op-project-autocompleter slot="input"
formControlName="project"
[filters]="APIFiltersForProjects"
[mapResultsFn]="projectFilterFn.bind(this)"
appendTo=".spot-modal-overlay"
- ></op-project-autocompleter>
+ />
@if (projectControl.errors?.lackingPermission) {
<div
@@ -48,11 +47,10 @@
</spot-form-field>
<spot-form-field>
- <op-option-list
- [options]="typeOptions"
+ <op-option-list [options]="typeOptions"
formControlName="type"
slot="input"
- ></op-option-list>
+ />
@if (projectAndTypeForm?.dirty && typeControl?.invalid) {
<div
diff --git a/frontend/src/app/features/invite-user-modal/summary/summary.component.html b/frontend/src/app/features/invite-user-modal/summary/summary.component.html
index a36d6035bf1..57cf9b34764 100644
--- a/frontend/src/app/features/invite-user-modal/summary/summary.component.html
+++ b/frontend/src/app/features/invite-user-modal/summary/summary.component.html
@@ -37,7 +37,7 @@
class="button button_no-margin spot-action-bar--action"
(click)="back.emit()"
>
- <op-icon icon-classes="button--icon icon-arrow-left1"></op-icon>
+ <op-icon icon-classes="button--icon icon-arrow-left1" />
{{ text.backButton }}
</button>
</div>
diff --git a/frontend/src/app/features/team-planner/team-planner/add-work-packages/add-existing-pane.component.html b/frontend/src/app/features/team-planner/team-planner/add-work-packages/add-existing-pane.component.html
index 133f80107de..bb896e69a31 100644
--- a/frontend/src/app/features/team-planner/team-planner/add-work-packages/add-existing-pane.component.html
+++ b/frontend/src/app/features/team-planner/team-planner/add-work-packages/add-existing-pane.component.html
@@ -17,8 +17,7 @@
class="op-add-existing-pane--results"
>
@for (wp of currentWorkPackages$ | async; track wp) {
- <wp-single-card
- [workPackage]="wp"
+ <wp-single-card [workPackage]="wp"
[selectedWhenOpen]="true"
[showInfoButton]="true"
[disabledInfo]="showDisabledText(wp)"
@@ -28,7 +27,7 @@
(stateLinkClicked)="openStateLink($event)"
(cardClicked)="workPackagesCalendar.onCardClicked($event)"
(cardDblClicked)="workPackagesCalendar.onCardDblClicked($event)"
- ></wp-single-card>
+ />
}
</div>
} @else {
diff --git a/frontend/src/app/features/team-planner/team-planner/assignee/add-assignee.component.html b/frontend/src/app/features/team-planner/team-planner/assignee/add-assignee.component.html
index 6c293fe58cf..f52c7a5bac7 100644
--- a/frontend/src/app/features/team-planner/team-planner/assignee/add-assignee.component.html
+++ b/frontend/src/app/features/team-planner/team-planner/assignee/add-assignee.component.html
@@ -1,8 +1,7 @@
-<op-autocompleter
- data-test-selector="tp-add-assignee"
+<op-autocompleter data-test-selector="tp-add-assignee"
(change)="selectUser($event)"
[fetchDataDirectly]="true"
[getOptionsFn]="getOptionsFn"
resource="users"
appendTo="body"
-></op-autocompleter>
+ />
diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html
index 8d928decf7c..879733c091d 100644
--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html
+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html
@@ -11,18 +11,16 @@
data-test-selector="op-team-planner--add-existing-toggle"
data-tour-selector="op-team-planner--add-existing-toggle"
(click)="toggleAddExistingPane()">
- <op-icon icon-classes="icon-add button--icon"></op-icon>
+ <op-icon icon-classes="icon-add button--icon" />
<span
class="button--text"
[textContent]="text.add_existing">
</span>
</button>
@if ((showAddExistingPane | async)) {
- <op-add-existing-pane
- class="op-team-planner--add-existing-pane"
+ <op-add-existing-pane class="op-team-planner--add-existing-pane"
data-test-selector="add-existing-pane"
- >
- </op-add-existing-pane>
+ />
}
<button
type="button"
@@ -35,7 +33,7 @@
<span class="button--text ellipsis"
[textContent]="currentViewTitle"
aria-hidden="true"></span>
- <op-icon icon-classes="button--icon icon-small icon-pulldown hidden-for-mobile"></op-icon>
+ <op-icon icon-classes="button--icon icon-small icon-pulldown hidden-for-mobile" />
</button>
}
@@ -57,11 +55,10 @@
<div
class="tp-assignee"
>
- <op-principal
- [principal]="resource.extendedProps.principal"
+ <op-principal [principal]="resource.extendedProps.principal"
class="tp-assignee--principal op-principal_wrapped"
[hideName]="isMobile"
- ></op-principal>
+ />
<button
type="button"
class="tp-assignee--remove"
@@ -69,31 +66,27 @@
[attr.aria-label]="text.remove_assignee"
[attr.data-qa-remove-assignee]="resource.extendedProps.principal.id"
>
- <op-icon icon-classes="icon-remove"></op-icon>
+ <op-icon icon-classes="icon-remove" />
</button>
</div>
}
@if (resource && !resource.extendedProps.principal && resource.id.startsWith('skeleton')) {
- <op-principal-loading-skeleton
- ></op-principal-loading-skeleton>
+ <op-principal-loading-skeleton />
}
@if (resource && !resource.extendedProps.principal && !resource.id.startsWith('skeleton')) {
- <op-tp-add-assignee
- (selectAssignee)="addAssignee($event)"
+ <op-tp-add-assignee (selectAssignee)="addAssignee($event)"
[alreadySelected]="principalIds$ | async"
- ></op-tp-add-assignee>
+ />
}
</ng-template>
<ng-template #eventContent let-event="$implicit.event">
@if (event.source && event.source.id === 'skeleton') {
- <op-wp-loading-skeleton
- [viewBox]="event.extendedProps.viewBox"
+ <op-wp-loading-skeleton [viewBox]="event.extendedProps.viewBox"
class="op-team-planner--wp-loading-skeleton"
- ></op-wp-loading-skeleton>
+ />
}
@if ((!event.source || event.source.id === 'work_packages') && event.extendedProps.workPackage; as wp) {
- <wp-single-card
- [workPackage]="wp"
+ <wp-single-card [workPackage]="wp"
[selectedWhenOpen]="true"
[orientation]="'horizontal'"
[highlightingMode]="'type'"
@@ -108,7 +101,7 @@
(cardClicked)="workPackagesCalendar.onCardClicked($event)"
(cardDblClicked)="workPackagesCalendar.onCardDblClicked($event)"
(cardContextMenu)="workPackagesCalendar.showEventContextMenu($event)"
- ></wp-single-card>
+ />
}
</ng-template>
</full-calendar>
@@ -128,7 +121,7 @@
data-test-selector="op-team-planner--empty-state-button"
(click)="showAssigneeAddRow()"
>
- <op-icon icon-classes="icon-add button--icon"></op-icon>
+ <op-icon icon-classes="icon-add button--icon" />
<span
class="button--text"
[textContent]="text.add_assignee">
@@ -150,7 +143,7 @@
data-test-selector="tp-assignee-add-button"
data-tour-selector="tp-assignee-add-button"
>
- <op-icon icon-classes="icon-add button--icon"></op-icon>
+ <op-icon icon-classes="icon-add button--icon" />
<span
class="button--text"
[textContent]="text.add_assignee">
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.html b/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.html
index cd12d7475a4..4526502a818 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/inline-create/notification-setting-inline-create.component.html
@@ -13,13 +13,12 @@
}
@if (active) {
- <op-project-autocompleter
- (change)="selectProject($event)"
+ <op-project-autocompleter (change)="selectProject($event)"
(keydown.escape)="active = false"
[filters]="APIFilters"
[mapResultsFn]="this.mapProjectsFn.bind(this)"
[placeholder]="text.please_select"
dropdownPosition="top"
- ></op-project-autocompleter>
+ />
}
</div>
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
index 826be67dd72..8756f19b027 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/page/notifications-settings-page.component.html
@@ -172,10 +172,9 @@
</div>
}
- <op-enterprise-banner-frame
- feature="date_alerts"
+ <op-enterprise-banner-frame feature="date_alerts"
[dismissable]="true"
- ></op-enterprise-banner-frame>
+ />
<div class="op-form--section-header">
<h3 class="op-form--section-header-title">{{ text.alsoNotifyFor.title }}</h3>
@@ -244,12 +243,11 @@
</div>
@if (userId) {
- <op-notification-settings-table
- [userId]="userId"
+ <op-notification-settings-table [userId]="userId"
[settings]="form.controls.projectSettings"
formArrayName="projectSettings"
class="op-notification-settings-page--table"
- ></op-notification-settings-table>
+ />
}
<div class="generic-table--action-buttons">
diff --git a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
index 557e25147f6..4834bdd9576 100644
--- a/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
+++ b/frontend/src/app/features/user-preferences/notifications-settings/table/notification-settings-table.component.html
@@ -270,10 +270,9 @@
}
@if (userId) {
- <op-notification-setting-inline-create
- [userId]="userId"
+ <op-notification-setting-inline-create [userId]="userId"
[settings]="settings"
(selected)="addProjectSettings($event)"
data-test-selector="notification-setting-inline-create"
- ></op-notification-setting-inline-create>
+ />
}
diff --git a/frontend/src/app/features/user-preferences/reminder-settings/page/reminder-settings-page.component.html b/frontend/src/app/features/user-preferences/reminder-settings/page/reminder-settings-page.component.html
index 8f15e4e1a09..bec895d0f5b 100644
--- a/frontend/src/app/features/user-preferences/reminder-settings/page/reminder-settings-page.component.html
+++ b/frontend/src/app/features/user-preferences/reminder-settings/page/reminder-settings-page.component.html
@@ -4,10 +4,10 @@
(ngSubmit)="saveChanges()"
class="op-form"
>
- <op-immediate-reminder-settings class="op-form--fieldset"></op-immediate-reminder-settings>
- <op-reminder-settings-daily-time class="op-form--fieldset"></op-reminder-settings-daily-time>
- <op-workdays-settings class="op-form--fieldset"></op-workdays-settings>
- <op-email-alerts-settings class="op-form--fieldset"></op-email-alerts-settings>
+ <op-immediate-reminder-settings class="op-form--fieldset" />
+ <op-reminder-settings-daily-time class="op-form--fieldset" />
+ <op-workdays-settings class="op-form--fieldset" />
+ <op-email-alerts-settings class="op-form--fieldset" />
<div class="op-form--submit">
<button
class="button -primary"
diff --git a/frontend/src/app/features/user-preferences/reminder-settings/pause-reminders/pause-reminders.component.html b/frontend/src/app/features/user-preferences/reminder-settings/pause-reminders/pause-reminders.component.html
index 8c6f9ce975e..a5b12fe528e 100644
--- a/frontend/src/app/features/user-preferences/reminder-settings/pause-reminders/pause-reminders.component.html
+++ b/frontend/src/app/features/user-preferences/reminder-settings/pause-reminders/pause-reminders.component.html
@@ -15,10 +15,9 @@
</spot-selector-field>
@if ((enabled$ | async)) {
- <op-basic-range-date-picker
- [required]="enabled$ | async"
+ <op-basic-range-date-picker [required]="enabled$ | async"
[value]="selectedDates$ | async"
(valueChange)="setDates($event)"
- ></op-basic-range-date-picker>
+ />
}
</div>
diff --git a/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html b/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html
index 02b9ab18fe8..01e36dce6fc 100644
--- a/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html
+++ b/frontend/src/app/features/user-preferences/reminder-settings/reminder-time/reminder-settings-daily-time.component.html
@@ -56,7 +56,7 @@
type="button"
(click)="removeTime(selectedTimes, i)"
attr.data-test-selector="op-settings-daily-time--remove-{{i + 1}}">
- <op-icon icon-classes="icon-small icon-remove icon4"></op-icon>
+ <op-icon icon-classes="icon-small icon-remove icon4" />
</button>
}
</div>
diff --git a/frontend/src/app/features/user-preferences/reminder-settings/workdays/workdays-settings.component.html b/frontend/src/app/features/user-preferences/reminder-settings/workdays/workdays-settings.component.html
index c046e39611a..5d072c119d0 100644
--- a/frontend/src/app/features/user-preferences/reminder-settings/workdays/workdays-settings.component.html
+++ b/frontend/src/app/features/user-preferences/reminder-settings/workdays/workdays-settings.component.html
@@ -17,5 +17,5 @@
</spot-selector-field>
}
- <op-pause-reminders></op-pause-reminders>
+ <op-pause-reminders />
</ng-container>
diff --git a/frontend/src/app/features/work-packages/components/back-routing/back-button.component.html b/frontend/src/app/features/work-packages/components/back-routing/back-button.component.html
index 733db1e8cf9..05709fde344 100644
--- a/frontend/src/app/features/work-packages/components/back-routing/back-button.component.html
+++ b/frontend/src/app/features/work-packages/components/back-routing/back-button.component.html
@@ -5,5 +5,5 @@
[title]="text.goBack"
(click)="goBack()"
>
- <op-icon icon-classes="op-back-button--icon button--icon icon-back-up"></op-icon>
+ <op-icon icon-classes="op-back-button--icon button--icon icon-back-up" />
</button>
diff --git a/frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.html b/frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.html
index 3ab39815bb8..c2c9f20efe2 100644
--- a/frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.html
+++ b/frontend/src/app/features/work-packages/components/edit-actions-bar/wp-edit-actions-bar.html
@@ -5,7 +5,7 @@
accesskey="3"
[disabled]="saving"
(click)="save()">
- <op-icon icon-classes="button--icon icon-checkmark"></op-icon>
+ <op-icon icon-classes="button--icon icon-checkmark" />
<span class="button--text" [textContent]="text.save"></span>
</button>
<button
@@ -13,7 +13,7 @@
class="button"
accesskey="7"
(click)="cancel()">
- <op-icon icon-classes="button--icon icon-close"></op-icon>
+ <op-icon icon-classes="button--icon icon-close" />
<span class="button--text" [textContent]="text.cancel"></span>
</button>
</div>
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-boolean-value/filter-boolean-value.component.html b/frontend/src/app/features/work-packages/components/filters/filter-boolean-value/filter-boolean-value.component.html
index 6c68a417bdf..498d1140b41 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-boolean-value/filter-boolean-value.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-boolean-value/filter-boolean-value.component.html
@@ -1,8 +1,7 @@
<!-- eslint-disable-next-line @angular-eslint/template/label-has-associated-control -->
<label id="div-values-{{filter.id}}">
- <spot-switch
- name="v[{{filter.name}}]"
+ <spot-switch name="v[{{filter.name}}]"
[ngModel]="value"
(ngModelChange)="onFilterUpdated($event)"
- ></spot-switch>
+ />
</label>
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-container/filter-container.directive.html b/frontend/src/app/features/work-packages/components/filters/filter-container/filter-container.directive.html
index 20434682a37..5347270d9e7 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-container/filter-container.directive.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-container/filter-container.directive.html
@@ -19,11 +19,10 @@
class="hide-when-print"
>
@if (!!filters) {
- <op-query-filters
- [filters]="filters"
+ <op-query-filters [filters]="filters"
[showCloseFilter]="true"
(filtersChanged)="replaceIfComplete($event)"
- ></op-query-filters>
+ />
}
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-date-time-value/filter-date-time-value.component.html b/frontend/src/app/features/work-packages/components/filters/filter-date-time-value/filter-date-time-value.component.html
index a8549b64182..38f9b34c431 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-date-time-value/filter-date-time-value.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-date-time-value/filter-date-time-value.component.html
@@ -1,5 +1,4 @@
-<op-basic-single-date-picker
- [id]="'values-' + filter.id"
+<op-basic-single-date-picker [id]="'values-' + filter.id"
[name]="'v[' + filter.id + ']'"
class="advanced-filters--date-field"
required="true"
@@ -8,7 +7,7 @@
[value]="isoDateFormatter(value)"
[opAutofocus]="shouldFocus"
-></op-basic-single-date-picker>
+ />
@if (isTimeZoneDifferent) {
<span
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-date-times-value/filter-date-times-value.component.html b/frontend/src/app/features/work-packages/components/filters/filter-date-times-value/filter-date-times-value.component.html
index bc77d65921d..88ca5aecd6d 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-date-times-value/filter-date-times-value.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-date-times-value/filter-date-times-value.component.html
@@ -1,23 +1,21 @@
-<op-basic-single-date-picker
- (valueChange)="parseBegin($event)"
+<op-basic-single-date-picker (valueChange)="parseBegin($event)"
[value]="isoDateFormatter(begin)"
[opAutofocus]="shouldFocus"
required="true"
[id]="'values-' + filter.id + '-begin'"
[name]="'v[' + filter.id + ']-begin'"
classes="advanced-filters--date-field"
-></op-basic-single-date-picker>
+ />
<span class="advanced-filters--affix" [textContent]="text.spacer">
</span>
-<op-basic-single-date-picker
- (valueChange)="parseEnd($event)"
+<op-basic-single-date-picker (valueChange)="parseEnd($event)"
[value]="isoDateFormatter(end)"
[id]="'values-' + filter.id + '-end'"
[name]="'v[' + filter.id + ']-end'"
classes="advanced-filters--date-field"
-></op-basic-single-date-picker>
+ />
@if (isTimeZoneDifferent) {
<span
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-date-value/filter-date-value.component.html b/frontend/src/app/features/work-packages/components/filters/filter-date-value/filter-date-value.component.html
index 5226c44b67e..f699349dff5 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-date-value/filter-date-value.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-date-value/filter-date-value.component.html
@@ -1,9 +1,8 @@
-<op-basic-single-date-picker
- [id]="'values-' + filter.id"
+<op-basic-single-date-picker [id]="'values-' + filter.id"
[name]="'v[' + filter.id + ']'"
class="advanced-filters--date-field"
[opAutofocus]="shouldFocus"
(valueChange)="valueChanged($event)"
[value]="formatter(value)"
[required]="true"
-></op-basic-single-date-picker>
+ />
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-dates-value/filter-dates-value.component.html b/frontend/src/app/features/work-packages/components/filters/filter-dates-value/filter-dates-value.component.html
index 0bae891d1aa..9a85e24ede5 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-dates-value/filter-dates-value.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-dates-value/filter-dates-value.component.html
@@ -1,9 +1,8 @@
-<op-basic-range-date-picker
- [id]="'values-' + filter.id"
+<op-basic-range-date-picker [id]="'values-' + filter.id"
[name]="'v[' + filter.id + ']'"
class="advanced-filters--date-field"
[value]="value"
(valueChange)="value = $event"
[opAutofocus]="shouldFocus"
-></op-basic-range-date-picker>
+ />
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-project/filter-project.component.html b/frontend/src/app/features/work-packages/components/filters/filter-project/filter-project.component.html
index a3076a3649d..3836bf44bb0 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-project/filter-project.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-project/filter-project.component.html
@@ -2,8 +2,7 @@
class="inline-label ng-select-container"
id="div-values-{{filter.id}}"
>
- <op-project-autocompleter
- [model]="filter.values"
+ <op-project-autocompleter [model]="filter.values"
[focusDirectly]="shouldFocus"
[multiple]="true"
[appendTo]="'body'"
@@ -11,5 +10,5 @@
class="advanced-filters--ng-select -multi-select"
(change)="onChange($event)"
[filters]="additionalProjectApiFilters"
- ></op-project-autocompleter>
+ />
</div>
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-searchable-multiselect-value/filter-searchable-multiselect-value.component.html b/frontend/src/app/features/work-packages/components/filters/filter-searchable-multiselect-value/filter-searchable-multiselect-value.component.html
index 001883e5a0f..a372e825ace 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-searchable-multiselect-value/filter-searchable-multiselect-value.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-searchable-multiselect-value/filter-searchable-multiselect-value.component.html
@@ -1,8 +1,7 @@
<div class="inline-label ng-select-container"
id="div-values-{{filter.id}}">
- <op-autocompleter
- appendTo="body"
+ <op-autocompleter appendTo="body"
class="advanced-filters--ng-select -multi-select"
[id]="'values-' + filter.id"
[getOptionsFn]="autocompleterFn"
@@ -20,5 +19,5 @@
[compareWith]="compareByHref"
[trackByFn]="itemTracker"
(change)="setValues($event)"
- ></op-autocompleter>
+ />
</div>
diff --git a/frontend/src/app/features/work-packages/components/filters/filter-toggled-multiselect-value/filter-toggled-multiselect-value.component.html b/frontend/src/app/features/work-packages/components/filters/filter-toggled-multiselect-value/filter-toggled-multiselect-value.component.html
index b7ec5aad45c..2a8afac4633 100644
--- a/frontend/src/app/features/work-packages/components/filters/filter-toggled-multiselect-value/filter-toggled-multiselect-value.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/filter-toggled-multiselect-value/filter-toggled-multiselect-value.component.html
@@ -2,8 +2,7 @@
class="inline-label ng-select-container"
id="div-values-{{filter.id}}"
>
- <op-autocompleter
- appendTo="body"
+ <op-autocompleter appendTo="body"
class="advanced-filters--ng-select -multi-select"
[id]="'values-' + filter.id"
[items]="availableOptions"
@@ -18,5 +17,5 @@
[trackByFn]="itemTracker"
bindLabel="name"
(change)="setValues($event)"
- ></op-autocompleter>
+ />
</div>
diff --git a/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.html b/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.html
index ed45ac565de..815aca88608 100644
--- a/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/query-filter/query-filter.component.html
@@ -47,11 +47,10 @@
}
@if (valueType === '[1]Boolean') {
- <op-filter-boolean-value
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-boolean-value (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-boolean-value>
+ />
}
</div>
<!-- Values -->
@@ -59,75 +58,65 @@
<div class="advanced-filters--filter-value">
@switch (valueType) {
@case ('[1]Integer') {
- <op-filter-integer-value
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-integer-value (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-integer-value>
+ />
}
@case ('[1]Date') {
- <op-filter-date-value
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-date-value (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-date-value>
+ />
}
@case ('[2]Date') {
- <op-filter-dates-value
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-dates-value (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-dates-value>
+ />
}
@case ('[1]DateTime') {
- <op-filter-date-time-value
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-date-time-value (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-date-time-value>
+ />
}
@case ('[2]DateTime') {
- <op-filter-date-times-value
- [shouldFocus]="shouldFocus"
+ <op-filter-date-times-value [shouldFocus]="shouldFocus"
(filterChanged)="onFilterUpdated($event)"
[filter]="filter"
- ></op-filter-date-times-value>
+ />
}
@case ('[1]String') {
- <op-filter-string-value
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-string-value (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-string-value>
+ />
}
@case ('[1]Float') {
- <op-filter-string-value
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-string-value (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-string-value>
+ />
}
@case ('[]Project') {
- <op-filter-project
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-project (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-project>
+ />
}
@default {
@if (filter.currentSchema.loadedAllowedValues()) {
- <op-filter-toggled-multiselect-value
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-toggled-multiselect-value (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-toggled-multiselect-value>
+ />
}
@if (!filter.currentSchema.loadedAllowedValues()) {
- <op-filter-searchable-multiselect-value
- (filterChanged)="onFilterUpdated($event)"
+ <op-filter-searchable-multiselect-value (filterChanged)="onFilterUpdated($event)"
[shouldFocus]="shouldFocus"
[filter]="filter"
- ></op-filter-searchable-multiselect-value>
+ />
}
}
}
@@ -147,7 +136,7 @@
[title]="text.button_delete"
(click)="removeThisFilter()"
>
- <op-icon icon-classes="icon-close advanced-filters--remove-filter-icon"></op-icon>
+ <op-icon icon-classes="icon-close advanced-filters--remove-filter-icon" />
</button>
</div>
</ng-container>
diff --git a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html
index 2f3c961a399..fb507fa2eac 100644
--- a/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html
+++ b/frontend/src/app/features/work-packages/components/filters/query-filters/query-filters.component.html
@@ -17,9 +17,7 @@
[attr.title]="text.filter_by_text">
</label>
<div class="advanced-filters--filter-value">
- <wp-filter-by-text-input
- (deactivateFilter)="deactivateFilter($event)">
- </wp-filter-by-text-input>
+ <wp-filter-by-text-input (deactivateFilter)="deactivateFilter($event)" />
</div>
</li>
<li class="advanced-filters--spacer"></li>
@@ -42,7 +40,7 @@
<li class="advanced-filters--add-filter">
<!-- Add filters -->
<label for="add_filter_select" aria-hidden="true" class="advanced-filters--add-filter-label">
- <op-icon icon-classes="icon-add icon4"></op-icon>
+ <op-icon icon-classes="icon-add icon4" />
{{ text.label_filter_add }}:
</label>
<label for="add_filter_select" class="sr-only">
@@ -65,8 +63,7 @@
(change)="onFilterAdded($event)"
id="add_filter_select"
bindLabel="name"
- appendTo="body">
- </ng-select>
+ appendTo="body" />
</div>
</li>
</ul>
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-modal/baseline-modal.component.html b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-modal/baseline-modal.component.html
index c43c1bf7883..f19e419ec22 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline-modal/baseline-modal.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline-modal/baseline-modal.component.html
@@ -17,10 +17,9 @@
<span class="spot-icon spot-icon_dropdown"></span>
</button>
- <op-baseline
- [visible]="opened"
+ <op-baseline [visible]="opened"
[showActionBar]="true"
slot="body"
(submitted)="opened = false"
- ></op-baseline>
+ />
</spot-drop-modal>
diff --git a/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.html b/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.html
index 8ea9e719773..5282ea3a8a6 100644
--- a/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-baseline/baseline/baseline.component.html
@@ -2,10 +2,9 @@
[class.op-baseline--header_banner-active]="!available"
[class.op-baseline_tab]="!showActionBar">
- <op-enterprise-banner-frame
- feature="baseline_comparison"
+ <op-enterprise-banner-frame feature="baseline_comparison"
[dismissable]="true"
- ></op-enterprise-banner-frame>
+ />
@if (available) {
<span
class="spot-body-small" [textContent]="text.header_description"
@@ -171,14 +170,12 @@
</div>
}
@if (selectedFilter === 'aSpecificDate' || selectedFilter === 'betweenTwoSpecificDates') {
- <op-datepicker-sheet
- class="op-baseline--datepicker"
+ <op-datepicker-sheet class="op-baseline--datepicker"
[dates]="selectedFilter === 'betweenTwoSpecificDates' ? selectedDates : [selectedDates[0]]"
[mode]="selectedFilter === 'betweenTwoSpecificDates' ? 'range' : 'single'"
[isDisabled]="futureDateComparer()"
(datesSelected)="selectedDates = $event"
- >
- </op-datepicker-sheet>
+ />
}
@if (showActionBar) {
<div class="spot-action-bar"
@@ -202,6 +199,6 @@
}
</form>
} @else {
- <op-baseline-loading></op-baseline-loading>
+ <op-baseline-loading />
}
diff --git a/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb-parent.html b/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb-parent.html
index ce0c4841e77..7d5b038daaf 100644
--- a/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb-parent.html
+++ b/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb-parent.html
@@ -19,7 +19,7 @@
@if (!parent) {
<span [textContent]="text.set_parent"></span>
}
- <op-icon icon-classes="icon-small {{ parent ? 'icon-edit icon5 icon-no-color' : 'icon-add icon4' }}"></op-icon>
+ <op-icon icon-classes="icon-small {{ parent ? 'icon-edit icon5 icon-no-color' : 'icon-add icon4' }}" />
</button>
}
@if (canModifyParent() && parent) {
@@ -29,18 +29,16 @@
[title]="text.remove_parent"
(click)="updateParent(null)"
>
- <op-icon icon-classes="icon-small icon-no-color icon-remove icon4"></op-icon>
+ <op-icon icon-classes="icon-small icon-no-color icon-remove icon4" />
</button>
}
}
@if (active) {
- <wp-relations-autocomplete
- [placeholder]="text.set_or_remove_parent"
+ <wp-relations-autocomplete [placeholder]="text.set_or_remove_parent"
[workPackage]="workPackage"
(cancel)="close()"
(change)="updateParent($event)"
data-test-selector="wp-relations-autocomplete"
- filterCandidatesFor="parent">
- </wp-relations-autocomplete>
+ filterCandidatesFor="parent" />
}
diff --git a/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb.html b/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb.html
index 669f93c2e44..9460be20313 100644
--- a/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb.html
+++ b/frontend/src/app/features/work-packages/components/wp-breadcrumb/wp-breadcrumb.html
@@ -24,7 +24,7 @@
}
<li
[ngClass]="{ 'op-wp-breadcrumb--active-parent-select': inputActive, 'icon4 icon-small icon-arrow-right5': !inputActive && hierarchyCount > 1 }">
- <wp-breadcrumb-parent (onSwitch)="updateActiveInput($event)" [workPackage]="workPackage"></wp-breadcrumb-parent>
+ <wp-breadcrumb-parent (onSwitch)="updateActiveInput($event)" [workPackage]="workPackage" />
</li>
</ul>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-button.template.html b/frontend/src/app/features/work-packages/components/wp-buttons/wp-button.template.html
index c425d34e96f..7c7b32b6a53 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-button.template.html
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-button.template.html
@@ -6,5 +6,5 @@
[attr.title]="label"
[attr.accesskey]="accessKey"
(click)="performAction($event)">
- <op-icon icon-classes="{{ iconClass }} button--icon"></op-icon>
+ <op-icon icon-classes="{{ iconClass }} button--icon" />
</button>
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-filter-button/wp-filter-button.html b/frontend/src/app/features/work-packages/components/wp-buttons/wp-filter-button/wp-filter-button.html
index 4e531bd2d73..3d0a9b0a615 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-filter-button/wp-filter-button.html
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-filter-button/wp-filter-button.html
@@ -9,7 +9,7 @@
[ngClass]="{ '-active': isActive }"
data-test-selector="wp-filter-button"
>
- <op-icon icon-classes="{{ iconClass }} button--icon"></op-icon>
+ <op-icon icon-classes="{{ iconClass }} button--icon" />
<span class="button--text">
{{ buttonText }}
@if (initialized) {
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-fold-toggle-button/wp-fold-toggle-button.component.ts b/frontend/src/app/features/work-packages/components/wp-buttons/wp-fold-toggle-button/wp-fold-toggle-button.component.ts
index a3d5e9f7a98..9c4aeca8659 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-fold-toggle-button/wp-fold-toggle-button.component.ts
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-fold-toggle-button/wp-fold-toggle-button.component.ts
@@ -33,9 +33,9 @@ import { ChangeDetectionStrategy, Component } from '@angular/core';
<button class="button"
id="wp-fold-toggle-button"
wpGroupToggleDropdown>
- <op-icon icon-classes="button--icon icon-outline"></op-icon>
+ <op-icon icon-classes="button--icon icon-outline" />
<span class="button--text"></span>
- <op-icon icon-classes="button--icon icon-small icon-pulldown"></op-icon>
+ <op-icon icon-classes="button--icon icon-small icon-pulldown" />
</button>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-settings-button/wp-settings-button.component.html b/frontend/src/app/features/work-packages/components/wp-buttons/wp-settings-button/wp-settings-button.component.html
index ea425933a30..c8c0fb52808 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-settings-button/wp-settings-button.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-settings-button/wp-settings-button.component.html
@@ -5,5 +5,5 @@
opSettingsContextMenu-query="query"
[hideTableOptions]="hideTableOptions"
[showCalendarSharingOption]="showCalendarSharingOption">
- <op-icon icon-classes="button--icon icon-show-more"></op-icon>
+ <op-icon icon-classes="button--icon icon-show-more" />
</button>
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-status-button/wp-status-button.html b/frontend/src/app/features/work-packages/components/wp-buttons/wp-status-button/wp-status-button.html
index 84ec2793f49..4594dca2e58 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-status-button/wp-status-button.html
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-status-button/wp-status-button.html
@@ -18,7 +18,7 @@
<span
class="op-wp-status-button--text button--text"
>
- <op-icon icon-classes="button--icon icon-locked"></op-icon>
+ <op-icon icon-classes="button--icon icon-locked" />
</span>
}
<span
@@ -26,7 +26,7 @@
aria-hidden="true"
[textContent]="status.name"
></span>
- <op-icon icon-classes="button--icon icon-small icon-pulldown"></op-icon>
+ <op-icon icon-classes="button--icon icon-small icon-pulldown" />
</button>
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-timeline-toggle-button/wp-timeline-toggle-button.html b/frontend/src/app/features/work-packages/components/wp-buttons/wp-timeline-toggle-button/wp-timeline-toggle-button.html
index 637b280e4cb..7fc114a2a18 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-timeline-toggle-button/wp-timeline-toggle-button.html
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-timeline-toggle-button/wp-timeline-toggle-button.html
@@ -8,7 +8,7 @@
[ngClass]="getAutoZoomToggleClass()"
[attr.title]="text.zoomAuto"
(click)="enableAutoZoom()">
- <op-icon icon-classes="icon-zoom-auto button--icon"></op-icon>
+ <op-icon icon-classes="icon-zoom-auto button--icon" />
</button>
</li>
}
@@ -20,7 +20,7 @@
[attr.title]="text.zoomOut"
[disabled]="isMaxLevel"
(click)="updateZoomWithDelta(1)">
- <op-icon icon-classes="icon-zoom-out button--icon"></op-icon>
+ <op-icon icon-classes="icon-zoom-out button--icon" />
</button>
</li>
}
@@ -32,7 +32,7 @@
[attr.title]="text.zoomIn"
[disabled]="isMinLevel"
(click)="updateZoomWithDelta(-1)">
- <op-icon icon-classes="icon-zoom-in button--icon"></op-icon>
+ <op-icon icon-classes="icon-zoom-in button--icon" />
</button>
</li>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-card-view/wp-card-view.component.html b/frontend/src/app/features/work-packages/components/wp-card-view/wp-card-view.component.html
index 8b57aa1971d..77b48e76a2e 100644
--- a/frontend/src/app/features/work-packages/components/wp-card-view/wp-card-view.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-card-view/wp-card-view.component.html
@@ -6,8 +6,7 @@
class="wp-inline-create--reference-container">
<ndc-dynamic [ndcDynamicComponent]="referenceClass"
[ndcDynamicInjector]="injector"
- [ndcDynamicOutputs]="referenceOutputs">
- </ndc-dynamic>
+ [ndcDynamicOutputs]="referenceOutputs" />
</div>
}
@@ -24,8 +23,7 @@
[orientation]="orientation"
[shrinkOnMobile]="shrinkOnMobile"
(onRemove)="removeCard(wp)"
- (stateLinkClicked)="stateLinkClicked.emit($event)">
- </wp-single-card>
+ (stateLinkClicked)="stateLinkClicked.emit($event)" />
@if (shrinkOnMobile) {
<hr
class="form--separator hidden-for-desktop">
@@ -35,7 +33,7 @@
@if (showEmptyResultsBox && isResultEmpty) {
<div>
- <op-no-results [title]="text.noResults.title" [description]="text.noResults.description"></op-no-results>
+ <op-no-results [title]="text.noResults.title" [description]="text.noResults.description" />
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html b/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html
index cff00e2f77d..70abae5159a 100644
--- a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html
@@ -25,7 +25,7 @@
data-test-selector="op-wp-single-card--details-button"
[title]="text.detailsView"
(click)="emitStateLinkClicked($event, workPackage, true)">
- <op-icon icon-classes="icon3 icon-info2"></op-icon>
+ <op-icon icon-classes="icon3 icon-info2" />
</button>
}
@@ -36,17 +36,15 @@
[class.-show]="isNewResource(workPackage)"
[title]="text.removeCard"
(click)="onRemoved(workPackage)">
- <op-icon icon-classes="icon-context icon-close"></op-icon>
+ <op-icon icon-classes="icon-context icon-close" />
</button>
}
@if (disabledInfo && disabledInfo.text.length > 0) {
- <op-icon
- [attr.data-tooltip]="disabledInfo.text"
+ <op-icon [attr.data-tooltip]="disabledInfo.text"
class="-multiline op-wp-single-card--card-action op-wp-single-card--card-action_closed"
[ngClass]="'tooltip--' + disabledInfo.orientation"
- icon-classes="icon-context icon-not-supported">
- </op-icon>
+ icon-classes="icon-context icon-not-supported" />
}
</div>
</div>
@@ -59,12 +57,10 @@
<op-editable-attribute-field [resource]="workPackage"
[wrapperClasses]="'work-packages--type-selector'"
[fieldName]="'type'"
- class="op-wp-single-card-content--type">
- </op-editable-attribute-field>
+ class="op-wp-single-card-content--type" />
<op-editable-attribute-field [resource]="workPackage"
fieldName="subject"
- class="op-wp-single-card-content--subject -bold">
- </op-editable-attribute-field>
+ class="op-wp-single-card-content--subject -bold" />
</div>
</edit-form>
}
@@ -90,12 +86,10 @@
<span
class="op-wp-single-card--content-inline-date"
>
- <display-field
- [resource]="workPackage"
+ <display-field [resource]="workPackage"
[displayFieldOptions]="{ writable: false, dateFormat: 'MMM DD, YYYY', placeholder: '' }"
fieldName="startDate"
- containerType="single-view">
- </display-field>
+ containerType="single-view" />
-
</span>
}
@@ -117,12 +111,10 @@
class="op-wp-single-card--content-inline-date"
>
-
- <display-field
- [resource]="workPackage"
+ <display-field [resource]="workPackage"
[displayFieldOptions]="{ writable: false, dateFormat: 'MMM DD, YYYY', placeholder: '' }"
fieldName="dueDate"
- containerType="single-view">
- </display-field>
+ containerType="single-view" />
</span>
}
</span>
@@ -133,12 +125,10 @@
}
<div class="op-wp-single-card--content-status-baseline">
@if (showStatusButton) {
- <wp-status-button
- [workPackage]="workPackage"
+ <wp-status-button [workPackage]="workPackage"
[small]="true"
class="op-wp-single-card--content-status"
- >
- </wp-status-button>
+ />
}
@if (baselineIcon(workPackage) !== null) {
<span
@@ -150,24 +140,21 @@
}
</div>
@if (workPackage.assignee) {
- <op-principal
- [principal]="workPackage.assignee"
+ <op-principal [principal]="workPackage.assignee"
[hideName]="true"
[link]="false"
size="mini"
class="op-wp-single-card--content-assignee"
data-test-selector="op-wp-single-card--content-assignee"
- ></op-principal>
+ />
}
@if (!showAsInlineCard && (workPackage.startDate || workPackage.dueDate)) {
- <display-field
- [resource]="workPackage"
+ <display-field [resource]="workPackage"
[displayFieldOptions]="{ writable: false, dateFormat: 'MMM DD, YYYY', placeholder: '' }"
[displayClass]="combinedDateDisplayField"
fieldName="dueDate"
class="op-wp-single-card--content-dates"
- containerType="single-view">
- </display-field>
+ containerType="single-view" />
}
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-custom-actions/date-action/custom-date-action-admin.html b/frontend/src/app/features/work-packages/components/wp-custom-actions/date-action/custom-date-action-admin.html
index 3313fedad2c..d48aaea0622 100644
--- a/frontend/src/app/features/work-packages/components/wp-custom-actions/date-action/custom-date-action-admin.html
+++ b/frontend/src/app/features/work-packages/components/wp-custom-actions/date-action/custom-date-action-admin.html
@@ -14,13 +14,11 @@
</span>
@if (valueVisible) {
<span class="form--text-field-container -slim">
- <op-basic-single-date-picker
- [id]="fieldId + '_visible'"
+ <op-basic-single-date-picker [id]="fieldId + '_visible'"
[name]="fieldId + '_input'"
[value]="fieldValue"
(valueChange)="updateField($event)"
- classes="form--text-field">
- </op-basic-single-date-picker>
+ classes="form--text-field" />
</span>
}
<input type="hidden"
diff --git a/frontend/src/app/features/work-packages/components/wp-custom-actions/wp-custom-actions.component.html b/frontend/src/app/features/work-packages/components/wp-custom-actions/wp-custom-actions.component.html
index 102f0d5f0b7..6e80d6ae74b 100644
--- a/frontend/src/app/features/work-packages/components/wp-custom-actions/wp-custom-actions.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-custom-actions/wp-custom-actions.component.html
@@ -1,9 +1,7 @@
@if (available) {
@for (action of actions; track action.href) {
- <wp-custom-action
- [workPackage]="workPackage"
+ <wp-custom-action [workPackage]="workPackage"
[action]="action"
- class="custom-action">
- </wp-custom-action>
+ class="custom-action" />
}
}
diff --git a/frontend/src/app/features/work-packages/components/wp-details/wp-details-toolbar.html b/frontend/src/app/features/work-packages/components/wp-details/wp-details-toolbar.html
index 20b7d411fef..b79fca923d7 100644
--- a/frontend/src/app/features/work-packages/components/wp-details/wp-details-toolbar.html
+++ b/frontend/src/app/features/work-packages/components/wp-details/wp-details-toolbar.html
@@ -1,24 +1,20 @@
<div class="work-packages--details-toolbar">
- <wp-watcher-button [workPackage]="workPackage">
- </wp-watcher-button>
+ <wp-watcher-button [workPackage]="workPackage" />
@if (displayNotificationsButton) {
- <op-work-package-mark-notification-button
- [workPackage]="workPackage"
+ <op-work-package-mark-notification-button [workPackage]="workPackage"
data-test-selector="mark-notification-read-button"
- ></op-work-package-mark-notification-button>
+ />
}
@if (displayShareButton$ | async) {
<wp-share-button [workPackage]="workPackage"
- >
- </wp-share-button>
+ />
}
@if (displayReminderButton$ | async) {
<wp-reminder-button [workPackage]="workPackage"
- >
- </wp-reminder-button>
+ />
}
<button class="button dropdown-relative"
diff --git a/frontend/src/app/features/work-packages/components/wp-edit/wp-edit-field/wp-replacement-label.html b/frontend/src/app/features/work-packages/components/wp-edit/wp-edit-field/wp-replacement-label.html
index a408859ddb2..236eb8b1e86 100644
--- a/frontend/src/app/features/work-packages/components/wp-edit/wp-edit-field/wp-replacement-label.html
+++ b/frontend/src/app/features/work-packages/components/wp-edit/wp-edit-field/wp-replacement-label.html
@@ -3,5 +3,5 @@
(click)="activate($event)"
tabindex="-1"
attr.data-test-selector="{{fieldName}}">
- <ng-content></ng-content>
+ <ng-content />
</span>
diff --git a/frontend/src/app/features/work-packages/components/wp-form-group/wp-attribute-group.template.html b/frontend/src/app/features/work-packages/components/wp-form-group/wp-attribute-group.template.html
index 9e552f6d9e3..1df8426927b 100644
--- a/frontend/src/app/features/work-packages/components/wp-form-group/wp-attribute-group.template.html
+++ b/frontend/src/app/features/work-packages/components/wp-form-group/wp-attribute-group.template.html
@@ -16,19 +16,18 @@
> *</span>
}
</wp-replacement-label>
- <attribute-help-text [attribute]="descriptor.name" [attributeScope]="'WorkPackage'"></attribute-help-text>
+ <attribute-help-text [attribute]="descriptor.name" [attributeScope]="'WorkPackage'" />
</div>
}
@if (!descriptor.multiple && descriptor.field) {
<div
class="wp-attribute-group--attribute-value-container attributes-key-value--value-container"
>
- <op-editable-attribute-field
- [ngClass]="{'wp-edit-formattable-field': descriptor.field!.isFormattable }"
+ <op-editable-attribute-field [ngClass]="{'wp-edit-formattable-field': descriptor.field!.isFormattable }"
[resource]="workPackage"
[isDropTarget]="descriptor.field!.isFormattable"
[fieldName]="descriptor.field!.name"
- ></op-editable-attribute-field>
+ />
</div>
}
}
diff --git a/frontend/src/app/features/work-packages/components/wp-grid/wp-grid.component.ts b/frontend/src/app/features/work-packages/components/wp-grid/wp-grid.component.ts
index a25ccc3e1da..2675268280d 100644
--- a/frontend/src/app/features/work-packages/components/wp-grid/wp-grid.component.ts
+++ b/frontend/src/app/features/work-packages/components/wp-grid/wp-grid.component.ts
@@ -56,14 +56,13 @@ import { WorkPackageViewOutputs } from 'core-app/features/work-packages/routing/
(stateLinkClicked)="stateLinkClicked.emit($event)"
[showEmptyResultsBox]="true"
[showInfoButton]="true"
- [shrinkOnMobile]="true">
- </wp-card-view>
+ [shrinkOnMobile]="true" />
@if (showResizer) {
<div
class="hidden-for-mobile hide-when-print">
<wp-resizer [elementClass]="resizerClass"
- [localStorageKey]="resizerStorageKey"></wp-resizer>
+ [localStorageKey]="resizerStorageKey" />
</div>
}
`,
diff --git a/frontend/src/app/features/work-packages/components/wp-inline-create/wp-inline-create.component.html b/frontend/src/app/features/work-packages/components/wp-inline-create/wp-inline-create.component.html
index 83f0471a49e..c1bc091daa6 100644
--- a/frontend/src/app/features/work-packages/components/wp-inline-create/wp-inline-create.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-inline-create/wp-inline-create.component.html
@@ -46,7 +46,7 @@
[attr.colspan]="colspan"
class="wp-inline-reference-row-td -no-highlighting"
>
- <ng-container *ngComponentOutlet="referenceClass; injector: injector"></ng-container>
+ <ng-container *ngComponentOutlet="referenceClass; injector: injector" />
</td>
</tr>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-new/wp-new-full-view.html b/frontend/src/app/features/work-packages/components/wp-new/wp-new-full-view.html
index 2f1ed9228de..49fc2ac7224 100644
--- a/frontend/src/app/features/work-packages/components/wp-new/wp-new-full-view.html
+++ b/frontend/src/app/features/work-packages/components/wp-new/wp-new-full-view.html
@@ -2,20 +2,19 @@
<div
class="work-package--new-state work-packages--new work-packages--show-view toolbar-container"
>
- <op-breadcrumbs
- [items]="breadcrumbItems()"
- ></op-breadcrumbs>
+ <op-breadcrumbs [items]="breadcrumbItems()"
+ />
<edit-form [resource]="newWorkPackage"
[skippedFields]="['status', 'type']"
[inEditMode]="true"
(onSaved)="onSaved($event)">
<div class="toolbar">
<div class="title-container">
- <wp-type-status [workPackage]="newWorkPackage"></wp-type-status>
+ <wp-type-status [workPackage]="newWorkPackage" />
</div>
<ul class="toolbar-items hide-when-print">
<li class="toolbar-item hidden-for-tablet">
- <opce-zen-mode-toggle-button></opce-zen-mode-toggle-button>
+ <opce-zen-mode-toggle-button />
</li>
<li class="toolbar-item hidden-for-tablet">
<button id="create-wp-menu-button"
@@ -28,10 +27,8 @@
</ul>
</div>
<wp-single-view [workPackage]="newWorkPackage"
- [showProject]="copying">
- </wp-single-view>
- <wp-edit-actions-bar (onCancel)="cancelAndBackToList()">
- </wp-edit-actions-bar>
+ [showProject]="copying" />
+ <wp-edit-actions-bar (onCancel)="cancelAndBackToList()" />
</edit-form>
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-new/wp-new-split-view.html b/frontend/src/app/features/work-packages/components/wp-new/wp-new-split-view.html
index 2d014cee8c2..1bc711f169e 100644
--- a/frontend/src/app/features/work-packages/components/wp-new/wp-new-split-view.html
+++ b/frontend/src/app/features/work-packages/components/wp-new/wp-new-split-view.html
@@ -8,7 +8,7 @@
(onSaved)="onSaved($event)">
<div class="work-packages--details-content -create-mode">
<div class="work-packages--new-details-header">
- <wp-type-status [workPackage]="newWorkPackage"></wp-type-status>
+ <wp-type-status [workPackage]="newWorkPackage" />
<div class="wp--details--switch-fullscreen-wrapper">
<a (click)="switchToFullscreen()"
class="work-packages-show-view-button wp--details--switch-fullscreen ">
@@ -17,17 +17,14 @@
</div>
</div>
<wp-single-view [workPackage]="newWorkPackage"
- [showProject]="copying">
- </wp-single-view>
+ [showProject]="copying" />
</div>
<div class="work-packages--details-toolbar-container">
- <wp-edit-actions-bar
- (onCancel)="cancelAndBackToList()">
- </wp-edit-actions-bar>
+ <wp-edit-actions-bar (onCancel)="cancelAndBackToList()" />
</div>
<div class="work-packages--details--resizer hidden-for-mobile hide-when-print">
<wp-resizer [elementClass]="'work-packages-partitioned-page--content-right'"
- [localStorageKey]="'openProject-splitViewFlexBasis'"></wp-resizer>
+ [localStorageKey]="'openProject-splitViewFlexBasis'" />
</div>
</edit-form>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-relations/embedded/inline/add-existing/wp-relation-inline-add-existing.component.html b/frontend/src/app/features/work-packages/components/wp-relations/embedded/inline/add-existing/wp-relation-inline-add-existing.component.html
index c062f0a8fc4..c3c70991aa3 100644
--- a/frontend/src/app/features/work-packages/components/wp-relations/embedded/inline/add-existing/wp-relation-inline-add-existing.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-relations/embedded/inline/add-existing/wp-relation-inline-add-existing.component.html
@@ -2,14 +2,12 @@
data-indicator-name="relationAddChild">
<div class="wp-relations-create--form wp-relations--add-form">
<div class="wp-relations-input-section">
- <wp-relations-autocomplete
- [workPackage]="workPackage"
+ <wp-relations-autocomplete [workPackage]="workPackage"
(change)="onSelected($event)"
[filters]="queryFilters"
[filterCandidatesFor]="relationType"
data-test-selector="wp-relations-autocomplete"
- hiddenOverflowContainer=".work-packages-full-view--split-left">
- </wp-relations-autocomplete>
+ hiddenOverflowContainer=".work-packages-full-view--split-left" />
</div>
<div class="wp-relations-controls-section relation-row">
<button
@@ -17,7 +15,7 @@
class="spot-link wp-create-relation--cancel"
(click)="cancel()"
>
- <op-icon icon-classes="icon-remove icon-no-color" [icon-title]="text.abort"></op-icon>
+ <op-icon icon-classes="icon-remove icon-no-color" [icon-title]="text.abort" />
</button>
</div>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-relations/embedded/wp-relation-query.html b/frontend/src/app/features/work-packages/components/wp-relations/embedded/wp-relation-query.html
index b02a5ca09e4..1da71bd32cc 100644
--- a/frontend/src/app/features/work-packages/components/wp-relations/embedded/wp-relation-query.html
+++ b/frontend/src/app/features/work-packages/components/wp-relations/embedded/wp-relation-query.html
@@ -19,6 +19,5 @@
columnMenuEnabled: false,
contextMenuEnabled: false,
projectIdentifier: idFromLink(workPackage.project.href),
- projectContext: false }" >
- </wp-embedded-table>
+ projectContext: false }" />
}
diff --git a/frontend/src/app/features/work-packages/components/wp-relations/wp-relation-row/wp-relation-row.template.html b/frontend/src/app/features/work-packages/components/wp-relations/wp-relation-row/wp-relation-row.template.html
index 4d0a27c621f..741f9396c61 100644
--- a/frontend/src/app/features/work-packages/components/wp-relations/wp-relation-row/wp-relation-row.template.html
+++ b/frontend/src/app/features/work-packages/components/wp-relations/wp-relation-row/wp-relation-row.template.html
@@ -66,7 +66,7 @@
></a>
@if (relatedWorkPackage) {
<edit-form [resource]="relatedWorkPackage">
- <op-editable-attribute-field [resource]="relatedWorkPackage" fieldName="status"></op-editable-attribute-field>
+ <op-editable-attribute-field [resource]="relatedWorkPackage" fieldName="status" />
</edit-form>
}
<div
@@ -79,10 +79,9 @@
[title]="text.description_label"
(click)="userInputs.showRelationInfo = !userInputs.showRelationInfo"
>
- <op-icon
- icon-classes="icon-info1 icon-no-color -padded wp-relations--icon wp-relations--description-icon"
+ <op-icon icon-classes="icon-info1 icon-no-color -padded wp-relations--icon wp-relations--description-icon"
[icon-title]="text.toggleDescription"
- ></op-icon>
+ />
</button>
@if (!!relation.delete) {
<button
@@ -92,10 +91,9 @@
[title]="text.removeButton"
(click)="removeRelation()"
>
- <op-icon
- icon-classes="icon-remove icon-no-color -padded wp-relations--icon"
+ <op-icon icon-classes="icon-remove icon-no-color -padded wp-relations--icon"
[icon-title]="text.removeButton"
- ></op-icon>
+ />
</button>
}
</div>
@@ -125,13 +123,12 @@
(keyup)="handleDescriptionKey($event)"
[(ngModel)]="userInputs.newRelationText"
></textarea>
- <edit-field-controls
- [fieldController]="fieldController"
+ <edit-field-controls [fieldController]="fieldController"
(onSave)="saveDescription()"
(onCancel)="cancelDescriptionEdit()"
[saveTitle]="text.save"
[cancelTitle]="text.cancel"
- ></edit-field-controls>
+ />
</div>
}
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-create/wp-relation-create.template.html b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-create/wp-relation-create.template.html
index bc6b7786ec6..cb94ed938fe 100644
--- a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-create/wp-relation-create.template.html
+++ b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-create/wp-relation-create.template.html
@@ -40,14 +40,12 @@
</select>
</div>
<div class="grid-content medium-8">
- <wp-relations-autocomplete
- [workPackage]="workPackage"
+ <wp-relations-autocomplete [workPackage]="workPackage"
(change)="onSelected($event)"
(cancel)="toggleRelationsCreateForm()"
[hiddenOverflowContainer]="'.work-packages-tab-view--overflow'"
[selectedRelationType]="selectedRelationType"
- data-test-selector="wp-relations-autocomplete">
- </wp-relations-autocomplete>
+ data-test-selector="wp-relations-autocomplete" />
</div>
<div class="grid-content medium-1 collapse wp-relations-controls-section relation-row">
<button
@@ -55,7 +53,7 @@
class="spot-link wp-create-relation--cancel"
(click)="toggleRelationsCreateForm()"
>
- <op-icon icon-classes="icon-remove icon-no-color -padded" [icon-title]="text.abort"></op-icon>
+ <op-icon icon-classes="icon-remove icon-no-color -padded" [icon-title]="text.abort" />
</button>
</div>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-group/wp-relations-group.template.html b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-group/wp-relations-group.template.html
index c0f4b21a2d1..9ab1832d00a 100644
--- a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-group/wp-relations-group.template.html
+++ b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-group/wp-relations-group.template.html
@@ -27,11 +27,10 @@
class="relation-container"
>
@for (relatedWorkPackage of relatedWorkPackages; track relatedWorkPackage) {
- <wp-relation-row
- [workPackage]="workPackage"
+ <wp-relation-row [workPackage]="workPackage"
[groupByWorkPackageType]="groupByWorkPackageType"
[relatedWorkPackage]="relatedWorkPackage"
- ></wp-relation-row>
+ />
}
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-hierarchy/wp-relations-hierarchy.template.html b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-hierarchy/wp-relations-hierarchy.template.html
index 4b19ccbbdbf..610deb3a3b3 100644
--- a/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-hierarchy/wp-relations-hierarchy.template.html
+++ b/frontend/src/app/features/work-packages/components/wp-relations/wp-relations-hierarchy/wp-relations-hierarchy.template.html
@@ -8,10 +8,8 @@
</h3>
</div>
</div>
- <wp-children-query
- [workPackage]="workPackage"
+ <wp-children-query [workPackage]="workPackage"
[addExistingChildEnabled]="true"
- [query]="childrenQueryProps">
- </wp-children-query>
+ [query]="childrenQueryProps" />
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/files-tab/op-files-tab.component.html b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/files-tab/op-files-tab.component.html
index 70f32e966bc..ee7a3211423 100644
--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/files-tab/op-files-tab.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/files-tab/op-files-tab.component.html
@@ -15,11 +15,10 @@
<span class="op-tab-content--header-text" [textContent]="text.attachments.label"></span>
</div>
}
- <op-attachments
- [resource]="workPackage"
+ <op-attachments [resource]="workPackage"
(attachmentRemoved)="attachmentRemoved()"
(attachmentAdded)="attachmentAdded()"
- ></op-attachments>
+ />
</section>
}
@@ -28,14 +27,13 @@
data-test-selector="op-tab-content--tab-section"
class="op-tab-content--tab-section"
>
- <op-storage
- [resource]="workPackage"
+ <op-storage [resource]="workPackage"
[projectStorage]="storage"
[allowUploading]="allowManageFileLinks$ | async"
[allowLinking]="allowManageFileLinks$ | async"
(fileRemoved)="attachmentRemoved()"
(fileAdded)="attachmentAdded()"
- ></op-storage>
+ />
</section>
}
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.html b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.html
index 458ac9e8b5a..b2d4836af4c 100644
--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.html
+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/overview-tab/overview-tab.html
@@ -1,4 +1,4 @@
@if (workPackage) {
<wp-single-view [workPackage]="workPackage"
- ></wp-single-view>
+ />
}
diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/relations-tab/relations-tab.html b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/relations-tab/relations-tab.html
index 11e67c78957..4b72934930f 100644
--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/relations-tab/relations-tab.html
+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/relations-tab/relations-tab.html
@@ -2,7 +2,7 @@
<div class="detail-panel-description detail-panel--relations detail-panel--autocomplete-target"
>
<div class="detail-panel-description-content">
- <wp-relations [workPackage]="workPackage"></wp-relations>
+ <wp-relations [workPackage]="workPackage" />
</div>
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/watchers-tab.html b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/watchers-tab.html
index fd660a8f3f6..c69982bdc6b 100644
--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/watchers-tab.html
+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/watchers-tab.html
@@ -12,22 +12,19 @@
[ngClass]="{'-read-only': !allowedToRemove}">
@for (watcher of watching; track watcher.href) {
- <op-wp-watcher-entry
- [watcher]="watcher">
- </op-wp-watcher-entry>
+ <op-wp-watcher-entry [watcher]="watcher" />
}
</div>
<div class="work-package--watchers-lookup hide-when-print"
[hidden]="!allowedToAdd">
<form name="watcherForm" novalidate>
- <op-user-autocompleter
- (change)="addWatcher($event)"
+ <op-user-autocompleter (change)="addWatcher($event)"
[url]="availableWatchersPath"
[resetOnChange]="true"
[focusDirectly]="false"
appendTo="body"
class="wp-watcher--autocomplete"
- ></op-user-autocompleter>
+ />
</form>
</div>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/wp-watcher-entry.component.html b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/wp-watcher-entry.component.html
index ed960663ab7..3b855963ccb 100644
--- a/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/wp-watcher-entry.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-single-view-tabs/watchers-tab/wp-watcher-entry.component.html
@@ -1,11 +1,10 @@
<div class="op-wp-watcher form--selected-value--container" opFocusWithin="button">
<span class="op-wp-watcher--form form--selected-value">
- <op-principal
- [principal]="watcher"
+ <op-principal [principal]="watcher"
[link]="true"
size="mini"
data-test-selector="op-wp-watcher-name"
- ></op-principal>
+ />
</span>
<button
type="button"
@@ -13,6 +12,6 @@
[title]="text.remove"
(click)="remove()"
>
- <op-icon icon-classes="icon-remove"></op-icon>
+ <op-icon icon-classes="icon-remove" />
</button>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-single-view/wp-single-view.component.html b/frontend/src/app/features/work-packages/components/wp-single-view/wp-single-view.component.html
index 45b488a20a2..b4f96bf0255 100644
--- a/frontend/src/app/features/work-packages/components/wp-single-view/wp-single-view.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-single-view/wp-single-view.component.html
@@ -8,19 +8,17 @@
>
<op-editable-attribute-field [resource]="workPackage"
[wrapperClasses]="'-no-label'"
- [fieldName]="'subject'"></op-editable-attribute-field>
+ [fieldName]="'subject'" />
</div>
}
<div class="wp-info-wrapper">
@if (!isNewResource) {
- <wp-status-button
- [workPackage]="workPackage">
- </wp-status-button>
+ <wp-status-button [workPackage]="workPackage" />
}
@if (!isNewResource) {
<attribute-help-text [attribute]="'status'"
[attributeScope]="'WorkPackage'"
- ></attribute-help-text>
+ />
}
@if (!isNewResource) {
<div class="work-packages--info-row"
@@ -31,15 +29,15 @@
because otherwise the browser would add a second space after it -->
<span>&nbsp;</span>
<op-user-link class="user-link"
- [user]="workPackage.author"></op-user-link>
+ [user]="workPackage.author" />
<span>.&nbsp;</span>
<span [textContent]="text.infoRow.lastUpdatedOn"></span>
<span>&nbsp;</span>
- <op-date-time [dateTimeValue]="workPackage.updatedAt"></op-date-time>
+ <op-date-time [dateTimeValue]="workPackage.updatedAt" />
<span>.</span>
</div>
}
- <wp-custom-actions [workPackage]="workPackage" class="custom-actions"></wp-custom-actions>
+ <wp-custom-actions [workPackage]="workPackage" class="custom-actions" />
</div>
@if (projectContext && projectContext.field) {
<div class="attributes-group -project-context __overflowing_element_container __overflowing_project_context"
@@ -59,11 +57,11 @@
}
</wp-replacement-label>
<attribute-help-text [attribute]="descriptor.name"
- [attributeScope]="'WorkPackage'"></attribute-help-text>
+ [attributeScope]="'WorkPackage'" />
</div>
<div class="attributes-key-value--value-container">
<op-editable-attribute-field [resource]="workPackage"
- [fieldName]="descriptor.name"></op-editable-attribute-field>
+ [fieldName]="descriptor.name" />
</div>
</div>
}
@@ -81,16 +79,14 @@
}
@for (component of prependedAttributeGroupComponents(); track component) {
<ndc-dynamic [ndcDynamicComponent]="component"
- [ndcDynamicInputs]="{ workPackage: workPackage }">
- </ndc-dynamic>
+ [ndcDynamicInputs]="{ workPackage: workPackage }" />
}
<div class="attributes-group description-group">
<div class="single-attribute work-packages--details--description">
<op-editable-attribute-field [fieldName]="'description'"
[resource]="workPackage"
[isDropTarget]="true"
- [wrapperClasses]="'-no-label'">
- </op-editable-attribute-field>
+ [wrapperClasses]="'-no-label'" />
</div>
</div>
@for (group of groupedFields; track group.name) {
@@ -106,8 +102,7 @@
<ndc-dynamic [ndcDynamicComponent]="attributeGroupComponent(group)"
[ndcDynamicInputs]="{ workPackage: workPackage,
group: group,
- query: group.query }">
- </ndc-dynamic>
+ query: group.query }" />
</ng-container>
}
@if (!group.isolated) {
@@ -119,8 +114,7 @@
</div>
<ndc-dynamic [ndcDynamicComponent]="attributeGroupComponent(group)"
[ndcDynamicInjector]="injector"
- [ndcDynamicInputs]="{ workPackage: workPackage, group: group }">
- </ndc-dynamic>
+ [ndcDynamicInputs]="{ workPackage: workPackage, group: group }" />
}
</div>
}
@@ -138,23 +132,20 @@
<span class="op-tab-content--header-text" [textContent]="text.attachments.label"></span>
</div>
<ndc-dynamic [ndcDynamicComponent]="attachmentListComponent()"
- [ndcDynamicInputs]="{ resource: workPackage }">
- </ndc-dynamic>
+ [ndcDynamicInputs]="{ resource: workPackage }" />
@if (workPackage.canAddAttachments) {
<ndc-dynamic [ndcDynamicComponent]="attachmentUploadComponent()"
[ndcDynamicInputs]="{ resource: workPackage }"
- >
- </ndc-dynamic>
+ />
}
</div>
}
@for (storage of projectStorages | async; track storage) {
- <op-storage
- [resource]="workPackage"
+ <op-storage [resource]="workPackage"
[projectStorage]="storage"
[allowLinking]="true"
[allowUploading]="true"
- ></op-storage>
+ />
}
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-subject/wp-subject.html b/frontend/src/app/features/work-packages/components/wp-subject/wp-subject.html
index cc131408872..7b7ce11acdf 100644
--- a/frontend/src/app/features/work-packages/components/wp-subject/wp-subject.html
+++ b/frontend/src/app/features/work-packages/components/wp-subject/wp-subject.html
@@ -6,14 +6,12 @@
<div class="work-packages--type-selector work-packages--subject-element">
<op-editable-attribute-field [resource]="workPackage"
[wrapperClasses]="'work-packages--type-selector work-packages--subject-element -no-label'"
- [fieldName]="'type'">
- </op-editable-attribute-field>
+ [fieldName]="'type'" />
</div>
<div class="work-packages--details--subject work-packages--subject-element">
<op-editable-attribute-field [resource]="workPackage"
[wrapperClasses]="'work-packages--details--subject work-packages--subject-element -no-label'"
- [fieldName]="'subject'">
- </op-editable-attribute-field>
+ [fieldName]="'subject'" />
</div>
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-table/config-menu/config-menu.template.html b/frontend/src/app/features/work-packages/components/wp-table/config-menu/config-menu.template.html
index 58de33732fb..a2e90971563 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/config-menu/config-menu.template.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/config-menu/config-menu.template.html
@@ -4,5 +4,5 @@
[title]="text.configureTable"
(click)="openTableConfigurationModal()"
>
- <op-icon icon-classes="icon-button icon-small icon-no-color icon-settings"></op-icon>
+ <op-icon icon-classes="icon-button icon-small icon-no-color icon-settings" />
</button>
diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.html b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.html
index 0b2e025556c..4035dfd9e1b 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/columns-tab.component.html
@@ -5,11 +5,9 @@
[inputPlaceholder]="text.inputPlaceholder"
[dragAreaLabel]="text.inputDragLabel"
[id]="'columns-select'"
- (onChange)="updateSelected($event)">
- </op-draggable-autocompleter>
+ (onChange)="updateSelected($event)" />
</div>
-<op-enterprise-banner-frame
- feature="work_package_query_relation_columns"
+<op-enterprise-banner-frame feature="work_package_query_relation_columns"
[dismissable]="true"
-></op-enterprise-banner-frame>
+ />
diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.html b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.html
index 5242438d03b..3edca30981b 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/filters-tab.component.html
@@ -1,5 +1,4 @@
@if (!!filters) {
- <op-query-filters
- (filtersChanged)="filters = $event"
- [filters]="filters"></op-query-filters>
+ <op-query-filters (filtersChanged)="filters = $event"
+ [filters]="filters" />
}
diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.html b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.html
index a98b2ee6331..93730dc1ace 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/tabs/highlighting-tab.component.html
@@ -1,8 +1,7 @@
<div>
- <op-enterprise-banner-frame
- feature="conditional_highlighting"
+ <op-enterprise-banner-frame feature="conditional_highlighting"
[dismissable]="false"
- ></op-enterprise-banner-frame>
+ />
<form>
<p [textContent]="text.highlighting_mode.description"></p>
@@ -32,8 +31,7 @@
bindLabel="name"
name="highlighting_attributes"
placeholder="{{ text.highlighting_mode.inline_all_attributes }}"
- appendTo="body">
- </ng-select>
+ appendTo="body" />
</div>
</div>
</div>
@@ -63,8 +61,7 @@
name="selected_attribute"
appendTo="body"
id="selected_attribute"
- class="form--select-field">
- </ng-select>
+ class="form--select-field" />
</div>
</div>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.html b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.html
index 24488379b54..ea33c84c409 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/configuration-modal/wp-table-configuration.modal.html
@@ -9,16 +9,14 @@
<div class="spot-modal--body spot-container">
@if (!!prependModalComponent) {
- <ng-container *ngComponentOutlet="prependModalComponent; injector: injector"></ng-container>
+ <ng-container *ngComponentOutlet="prependModalComponent; injector: injector" />
}
@if (tabPortalHost) {
- <op-scrollable-tabs
- [tabs]="availableTabs"
+ <op-scrollable-tabs [tabs]="availableTabs"
[currentTabId]="tabPortalHost.currentTab?.id"
(tabSelected)="switchTo($event)"
- >
- </op-scrollable-tabs>
+ />
}
<div class="tab-content" #tabContentOutlet></div>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-table/embedded/embedded-tables-macro.component.ts b/frontend/src/app/features/work-packages/components/wp-table/embedded/embedded-tables-macro.component.ts
index 13db268a28d..f3438be72d6 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/embedded/embedded-tables-macro.component.ts
+++ b/frontend/src/app/features/work-packages/components/wp-table/embedded/embedded-tables-macro.component.ts
@@ -35,8 +35,7 @@ import { populateInputsFromDataset } from 'core-app/shared/components/dataset-in
@Component({
template: `
<wp-embedded-table-entry [queryProps]="queryProps"
- [configuration]="configuration">
- </wp-embedded-table-entry>
+ [configuration]="configuration" />
`,
standalone: false,
})
diff --git a/frontend/src/app/features/work-packages/components/wp-table/embedded/wp-embedded-table-entry.component.ts b/frontend/src/app/features/work-packages/components/wp-table/embedded/wp-embedded-table-entry.component.ts
index fc77d318b83..cc4975bbdb2 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/embedded/wp-embedded-table-entry.component.ts
+++ b/frontend/src/app/features/work-packages/components/wp-table/embedded/wp-embedded-table-entry.component.ts
@@ -14,8 +14,7 @@ export const wpTableEntrySelector = 'wp-embedded-table-entry';
template: `
<wp-embedded-table [queryProps]="queryProps"
[initialLoadingIndicator]="initialLoadingIndicator"
- [configuration]="configuration">
- </wp-embedded-table>
+ [configuration]="configuration" />
`,
standalone: false,
})
diff --git a/frontend/src/app/features/work-packages/components/wp-table/embedded/wp-embedded-table.html b/frontend/src/app/features/work-packages/components/wp-table/embedded/wp-embedded-table.html
index f8bd6533ff5..472517153c7 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/embedded/wp-embedded-table.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/embedded/wp-embedded-table.html
@@ -8,34 +8,28 @@
@if (renderTable) {
<!-- Filter container (if requested) -->
@if (configuration.withFilters) {
- <op-filter-container
- [showFilterButton]="configuration.showFilterButton"
- [filterButtonText]="configuration.filterButtonText">
- </op-filter-container>
+ <op-filter-container [showFilterButton]="configuration.showFilterButton"
+ [filterButtonText]="configuration.filterButtonText" />
}
<!-- TABLE + TIMELINE horizontal split -->
@if (!configuration.isCardView) {
- <wp-table
- [projectIdentifier]="projectIdentifier"
+ <wp-table [projectIdentifier]="projectIdentifier"
[configuration]="configuration"
(itemClicked)="handleWorkPackageClicked($event)"
(stateLinkClicked)="openStateLink($event)"
- class="work-packages-split-view--tabletimeline-content"></wp-table>
+ class="work-packages-split-view--tabletimeline-content" />
}
<!-- GRID representation of the WP -->
<div class="work-packages-embedded-view--grid-view" >
@if (configuration.isCardView) {
- <wp-grid
- (itemClicked)="handleWorkPackageClicked($event)"
+ <wp-grid (itemClicked)="handleWorkPackageClicked($event)"
(stateLinkClicked)="openStateLink($event)"
- [configuration]="configuration">
- </wp-grid>
+ [configuration]="configuration" />
}
</div>
<!-- Footer -->
<div class="work-packages-split-view--tabletimeline-footer hide-when-print">
- <wp-table-pagination [hideForSinglePageResults]="true">
- </wp-table-pagination>
+ <wp-table-pagination [hideForSinglePageResults]="true" />
</div>
}
@if (error) {
diff --git a/frontend/src/app/features/work-packages/components/wp-table/external-configuration/external-query-configuration.template.html b/frontend/src/app/features/work-packages/components/wp-table/external-configuration/external-query-configuration.template.html
index 4a9bafdf43d..c3cabaead4c 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/external-configuration/external-query-configuration.template.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/external-configuration/external-query-configuration.template.html
@@ -1,4 +1,3 @@
<wp-embedded-table #embeddedTableForConfiguration
[queryProps]="queryProps"
- [configuration]="{ tableVisible: false }">
-</wp-embedded-table>
+ [configuration]="{ tableVisible: false }" />
diff --git a/frontend/src/app/features/work-packages/components/wp-table/sort-header/sort-header.directive.html b/frontend/src/app/features/work-packages/components/wp-table/sort-header/sort-header.directive.html
index 550f65da1ba..97698b122a9 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/sort-header/sort-header.directive.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/sort-header/sort-header.directive.html
@@ -9,7 +9,7 @@
[attr.title]="text.toggleHierarchy"
tabindex="-1"
aria-hidden="true">
- <op-icon icon-classes="icon {{ hierarchyIcon }}"></op-icon>
+ <op-icon icon-classes="icon {{ hierarchyIcon }}" />
</span>
}
<!--suppress XmlDuplicatedId -->
@@ -27,20 +27,20 @@
@if (displayDropdownIcon) {
<op-icon icon-classes="dropdown-indicator icon-small icon-pulldown"
icon-title="{{ text.openMenu }}"
- ></op-icon>
+ />
}
</span>
}
@case ('relation') {
<span class="generic-table--sort-header">
<a [attr.title]="headerColumn.name">
- <op-icon icon-classes="icon-context icon-relations relations-header--icon"></op-icon>
+ <op-icon icon-classes="icon-context icon-relations relations-header--icon" />
{{columnName}}
</a>
@if (displayDropdownIcon) {
<op-icon icon-classes="dropdown-indicator icon-small icon-pulldown"
icon-title="{{ text.openMenu }}"
- ></op-icon>
+ />
}
</span>
}
@@ -73,7 +73,7 @@
@if (displayDropdownIcon) {
<op-icon icon-classes="dropdown-indicator icon-small icon-pulldown"
icon-title="{{ text.openMenu }}"
- ></op-icon>
+ />
}
</span>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-table/timeline/container/wp-timeline-container.html b/frontend/src/app/features/work-packages/components/wp-table/timeline/container/wp-timeline-container.html
index 459e9388509..7993fbdb554 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/timeline/container/wp-timeline-container.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/timeline/container/wp-timeline-container.html
@@ -1,9 +1,9 @@
<div class="wp-table-timeline--outer">
<div class="wp-table-timeline--container">
- <wp-timeline-header></wp-timeline-header>
- <wp-timeline-static-elements></wp-timeline-static-elements>
- <wp-timeline-grid></wp-timeline-grid>
- <wp-timeline-relations></wp-timeline-relations>
+ <wp-timeline-header />
+ <wp-timeline-static-elements />
+ <wp-timeline-grid />
+ <wp-timeline-relations />
<div class="wp-table-timeline--body"></div>
</div>
</div>
diff --git a/frontend/src/app/features/work-packages/components/wp-table/wp-table.component.html b/frontend/src/app/features/work-packages/components/wp-table/wp-table.component.html
index 1e22d512945..fb59ef0970c 100644
--- a/frontend/src/app/features/work-packages/components/wp-table/wp-table.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-table/wp-table.component.html
@@ -35,7 +35,7 @@
<th class="wp-table--manual-sort-th -short hide-when-print">
<div class="generic-table--empty-header">
@if (manualSortEnabled) {
- <op-icon icon-classes="icon-sort-by"></op-icon>
+ <op-icon icon-classes="icon-sort-by" />
}
</div>
</th>
@@ -56,8 +56,7 @@
[table]="workPackageTable"
opColumnsContextMenu
[opColumnsContextMenu-column]="column"
- [opColumnsContextMenu-table]="workPackageTable">
- </sortHeader>
+ [opColumnsContextMenu-table]="workPackageTable" />
</th>
}
@if (configuration.columnMenuEnabled || configuration.actionsColumnEnabled) {
@@ -65,8 +64,7 @@
>
@if (configuration.columnMenuEnabled) {
<div class="generic-table--sort-header-outer">
- <wp-table-config-menu>
- </wp-table-config-menu>
+ <wp-table-config-menu />
</div>
}
</th>
@@ -78,7 +76,7 @@
<tr id="empty-row-notification">
<td [attr.colspan]="numTableColumns">
<span>
- <op-icon icon-classes="icon-info1 icon-context"></op-icon>
+ <op-icon icon-classes="icon-info1 icon-context" />
<span>
<strong>{{text.noResults.title}}</strong>
{{text.noResults.description}}
@@ -114,12 +112,12 @@
<wp-resizer [elementClass]="'work-packages-tabletimeline--timeline-side'"
[resizeEvent]="'wp-resize.timeline'"
[variableName]="'--gantt-split-width'"
- [localStorageKey]="'openProject-timelineFlexBasis'"></wp-resizer>
+ [localStorageKey]="'openProject-timelineFlexBasis'" />
</div>
}
<div class="work-packages-tabletimeline--timeline-side"
[ngClass]="{ '-single-margin': (sumVisible || inlineCreateVisible) && !(sumVisible && inlineCreateVisible), '-double-margin': sumVisible && inlineCreateVisible }">
- <wp-timeline-container></wp-timeline-container>
+ <wp-timeline-container />
</div>
</div>
}
diff --git a/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tab-wrapper/wp-tab-wrapper.html b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tab-wrapper/wp-tab-wrapper.html
index c6a5e9005d3..bbc54158c7d 100644
--- a/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tab-wrapper/wp-tab-wrapper.html
+++ b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tab-wrapper/wp-tab-wrapper.html
@@ -1,8 +1,6 @@
@if ((ndcDynamicInputs$ | async); as ndcDynamicInputs) {
@if (ndcDynamicInputs.workPackage && ndcDynamicInputs.tab) {
- <ndc-dynamic
- [ndcDynamicComponent]="ndcDynamicInputs.tab.component"
- [ndcDynamicInputs]="{ workPackage: ndcDynamicInputs.workPackage }">
- </ndc-dynamic>
+ <ndc-dynamic [ndcDynamicComponent]="ndcDynamicInputs.tab.component"
+ [ndcDynamicInputs]="{ workPackage: ndcDynamicInputs.workPackage }" />
}
}
diff --git a/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.html b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.html
index 3fa6db7fdc2..0742174762f 100644
--- a/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.html
+++ b/frontend/src/app/features/work-packages/components/wp-tabs/components/wp-tabs/wp-tabs.component.html
@@ -11,7 +11,7 @@
[title]="text.details.goToFullScreen"
(click)="switchToFullscreen()"
>
- <op-icon icon-classes="icon-context icon-no-color icon-to-fullscreen"></op-icon>
+ <op-icon icon-classes="icon-context icon-no-color icon-to-fullscreen" />
</button>
</li>
<li class="tab-icon">
@@ -21,7 +21,7 @@
[title]="text.details.close"
(click)="close()"
>
- <op-icon icon-classes="icon-context icon-no-color icon-close"></op-icon>
+ <op-icon icon-classes="icon-context icon-no-color icon-close" />
</button>
</li>
</ng-container>
diff --git a/frontend/src/app/features/work-packages/components/wp-type-status/wp-type-status.html b/frontend/src/app/features/work-packages/components/wp-type-status/wp-type-status.html
index d43198655e5..3b52c31d5e8 100644
--- a/frontend/src/app/features/work-packages/components/wp-type-status/wp-type-status.html
+++ b/frontend/src/app/features/work-packages/components/wp-type-status/wp-type-status.html
@@ -5,14 +5,12 @@
<op-editable-attribute-field [resource]="workPackage"
[displayFieldOptions]="{ colorize: false }"
[wrapperClasses]="'wp-new-top-row--status -no-label'"
- [fieldName]="'status'">
- </op-editable-attribute-field>
+ [fieldName]="'status'" />
</div>
<div class="work-packages--type-selector wp-new-top-row--element">
<op-editable-attribute-field [resource]="workPackage"
[wrapperClasses]="'wp-new-top-row--type -no-label'"
- [fieldName]="'type'">
- </op-editable-attribute-field>
+ [fieldName]="'type'" />
</div>
</div>
}
diff --git a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html
index 3f1b5fd521b..46cc9f3d442 100644
--- a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html
+++ b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html
@@ -1,17 +1,14 @@
<div class="work-packages-partitioned-query-space--container"
[ngClass]="currentPartition">
- <op-breadcrumbs
- [items]="breadcrumbItems()"
+ <op-breadcrumbs [items]="breadcrumbItems()"
[lastItemSection]="currentMenuSectionHeader()"
- ></op-breadcrumbs>
+ />
<div class="toolbar-container -editable">
<div class="toolbar">
@if (backButtonCallback !== undefined) {
- <op-back-button
- class="op-back-button"
+ <op-back-button class="op-back-button"
linkClass="op-back-button_mobile-limited-width"
- [customBackMethod]="backButtonCallback">
- </op-back-button>
+ [customBackMethod]="backButtonCallback" />
}
<h2 class="toolbar-title--container">
<editable-toolbar-title [title]="selectedTitle"
@@ -19,8 +16,7 @@
[showSaveCondition]="showToolbarSaveButton"
(onSave)="changeChangesFromTitle($event)"
(onEmptySubmit)="updateTitleName('')"
- [editable]="titleEditingEnabled">
- </editable-toolbar-title>
+ [editable]="titleEditingEnabled" />
</h2>
@if (showToolbar) {
<ul class="toolbar-items hide-when-print"
@@ -32,8 +28,7 @@
<ndc-dynamic [ndcDynamicComponent]="definition.component"
[ndcDynamicInputs]="definition.inputs"
[ndcDynamicInjector]="injector"
- [ndcDynamicOutputs]="definition.outputs">
- </ndc-dynamic>
+ [ndcDynamicOutputs]="definition.outputs" />
</li>
}
}
@@ -44,12 +39,10 @@
<div class="work-packages-partitioned-query-space--filter-area">
@if (filterContainerDefinition) {
- <ndc-dynamic
- [ndcDynamicComponent]="filterContainerDefinition.component"
+ <ndc-dynamic [ndcDynamicComponent]="filterContainerDefinition.component"
[ndcDynamicInputs]="filterContainerDefinition.inputs"
[ndcDynamicOutputs]="filterContainerDefinition.outputs"
- [ndcDynamicInjector]="injector">
- </ndc-dynamic>
+ [ndcDynamicInjector]="injector" />
}
</div>
diff --git a/frontend/src/app/features/work-packages/routing/wp-base/wp--base.component.ts b/frontend/src/app/features/work-packages/routing/wp-base/wp--base.component.ts
index 8bc93447976..504c129f94e 100644
--- a/frontend/src/app/features/work-packages/routing/wp-base/wp--base.component.ts
+++ b/frontend/src/app/features/work-packages/routing/wp-base/wp--base.component.ts
@@ -40,7 +40,7 @@ export const wpBaseSelector = 'work-packages-base';
hostDirectives: [WorkPackageIsolatedQuerySpaceDirective],
template: `
<div class="work-packages-page--ui-view">
- <ui-view></ui-view>
+ <ui-view />
</div>
`,
providers: [
diff --git a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html
index 90c387a114f..86e8a3159bf 100644
--- a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html
+++ b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html
@@ -4,70 +4,58 @@
class="work-packages--show-view">
<div class="toolbar-container">
<div id="toolbar" class="wp-show--header-container">
- <wp-breadcrumb
- class="wp-show--header-container--breadcrumb"
+ <wp-breadcrumb class="wp-show--header-container--breadcrumb"
[workPackage]="workPackage"
- ></wp-breadcrumb>
- <op-back-button
- class="wp-show--header-container--back-button"
+ />
+ <op-back-button class="wp-show--header-container--back-button"
linkClass="work-packages-back-button"
- >
- </op-back-button>
+ />
<div class="subject-header wp-show--header-container--subject">
- <wp-subject></wp-subject>
+ <wp-subject />
</div>
<ul id="toolbar-items" class="toolbar-items hide-when-print wp-show--header-container--toolbar-items">
<li class="toolbar-item hidden-for-tablet">
- <wp-create-button
- [allowed]="['work_package.addChild', 'work_package.copy']"
- [stateName$]="stateName$">
- </wp-create-button>
+ <wp-create-button [allowed]="['work_package.addChild', 'work_package.copy']"
+ [stateName$]="stateName$" />
</li>
@if (displayShareButton$ | async) {
<li class="toolbar-item"
>
- <wp-share-button [workPackage]="workPackage">
- </wp-share-button>
+ <wp-share-button [workPackage]="workPackage" />
</li>
}
@if (displayTimerButton) {
<li class="toolbar-item hidden-for-tablet">
- <op-wp-timer-button
- [workPackage]="workPackage"
- >
- </op-wp-timer-button>
+ <op-wp-timer-button [workPackage]="workPackage"
+ />
</li>
}
@if (displayWatchButton) {
<li class="toolbar-item">
- <wp-watcher-button [workPackage]="workPackage">
- </wp-watcher-button>
+ <wp-watcher-button [workPackage]="workPackage" />
</li>
}
@if (displayReminderButton$ | async) {
<li class="toolbar-item">
- <wp-reminder-button [workPackage]="workPackage">
- </wp-reminder-button>
+ <wp-reminder-button [workPackage]="workPackage" />
</li>
}
@if ((displayNotificationsButton$ | async)) {
<li class="toolbar-item">
- <op-work-package-mark-notification-button
- [workPackage]="workPackage"
+ <op-work-package-mark-notification-button [workPackage]="workPackage"
data-test-selector="mark-notification-read-button"
- ></op-work-package-mark-notification-button>
+ />
</li>
}
<li class="toolbar-item hidden-for-tablet">
- <opce-zen-mode-toggle-button>
- </opce-zen-mode-toggle-button>
+ <opce-zen-mode-toggle-button />
</li>
<li class="toolbar-item action_menu_main" id="action-show-more-dropdown-menu">
<button class="button dropdown-relative toolbar-icon"
[attr.title]="text.fullView.buttonMore"
wpSingleContextMenu
[wpSingleContextMenu-workPackage]="workPackage">
- <op-icon icon-classes="button--icon icon-show-more"></op-icon>
+ <op-icon icon-classes="button--icon icon-show-more" />
</button>
</li>
</ul>
@@ -76,13 +64,13 @@
<div class="work-packages-full-view--split-container">
<div class="work-packages-full-view--split-left">
<div class="work-packages--panel-inner">
- <wp-single-view [workPackage]="workPackage"></wp-single-view>
+ <wp-single-view [workPackage]="workPackage" />
</div>
</div>
<div class="work-packages-full-view--split-right work-packages-tab-view--overflow">
<div class="work-packages--panel-inner">
<span class="sr-only" tabindex="-1" [textContent]="focusAnchorLabel"></span>
- <op-wp-tabs [workPackage]="workPackage" [view]="'full'"></op-wp-tabs>
+ <op-wp-tabs [workPackage]="workPackage" [view]="'full'" />
<div class="tabcontent"
data-notification-selector='notification-scroll-container'
ui-view>
@@ -91,7 +79,7 @@
<div class="work-packages-full-view--resizer hidden-for-mobile hide-when-print">
<wp-resizer [elementClass]="'work-packages-full-view--split-right'"
[variableName]="'--full-view-split-right-width'"
- [localStorageKey]="'openProject-fullViewFlexBasis'"></wp-resizer>
+ [localStorageKey]="'openProject-fullViewFlexBasis'" />
</div>
</div>
</div>
diff --git a/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.html b/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.html
index 1448401af63..7758189e6ca 100644
--- a/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.html
+++ b/frontend/src/app/features/work-packages/routing/wp-list-view/wp-list-view.component.html
@@ -3,18 +3,15 @@
></div>
}
@if (baselineEnabled) {
- <op-baseline-legends
- ></op-baseline-legends>
+ <op-baseline-legends />
}
<!-- TABLE + TIMELINE horizontal split -->
@if (tableInformationLoaded && showTableView) {
- <wp-table
- [projectIdentifier]="CurrentProject.identifier"
+ <wp-table [projectIdentifier]="CurrentProject.identifier"
[configuration]="wpTableConfiguration"
(itemClicked)="handleWorkPackageClicked($event)"
(stateLinkClicked)="openStateLink($event)"
- class="work-packages-split-view--tabletimeline-content">
- </wp-table>
+ class="work-packages-split-view--tabletimeline-content" />
}
<!-- GRID representation of the WP -->
@@ -27,8 +24,7 @@
(itemClicked)="handleWorkPackageCardClicked($event)"
(stateLinkClicked)="openStateLink($event)"
resizerClass="work-packages-partitioned-page--content-right"
- resizerStorageKey="openProject-splitViewFlexBasis">
- </wp-grid>
+ resizerStorageKey="openProject-splitViewFlexBasis" />
</div>
}
@@ -36,6 +32,6 @@
@if (tableInformationLoaded) {
<div class="work-packages-split-view--tabletimeline-footer hide-when-print"
>
- <wp-table-pagination></wp-table-pagination>
+ <wp-table-pagination />
</div>
}
diff --git a/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view-entry.component.ts b/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view-entry.component.ts
index 00917d094fe..8f312a1721b 100644
--- a/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view-entry.component.ts
+++ b/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view-entry.component.ts
@@ -39,12 +39,11 @@ import { populateInputsFromDataset } from 'core-app/shared/components/dataset-in
@Component({
hostDirectives: [WorkPackageIsolatedQuerySpaceDirective],
template: `
- <op-wp-split-view
- [workPackageId]="workPackageId"
+ <op-wp-split-view [workPackageId]="workPackageId"
[activeTab]="activeTab"
[showTabs]="false"
[resizerClass]="resizerClass"
- ></op-wp-split-view>
+ />
`,
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
diff --git a/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view.html b/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view.html
index 9ad17da4541..27c5c0e46f4 100644
--- a/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view.html
+++ b/frontend/src/app/features/work-packages/routing/wp-split-view/wp-split-view.html
@@ -4,10 +4,9 @@
data-indicator-name="wpDetails"
>
@if (showTabs) {
- <op-wp-tabs
- [workPackage]="workPackage"
+ <op-wp-tabs [workPackage]="workPackage"
[view]="'split'"
- ></op-wp-tabs>
+ />
}
@if (workPackage) {
<div class="work-packages--details-content work-packages-tab-view--overflow"
@@ -24,17 +23,15 @@
>
<div class="work-packages--details-header">
<div class="work-packages--details-header-left">
- <wp-breadcrumb
- [workPackage]="workPackage"
+ <wp-breadcrumb [workPackage]="workPackage"
class="work-packages--breadcrumb"
- ></wp-breadcrumb>
+ />
@if (showBackButton()) {
- <op-back-button
- linkClass="work-packages-back-button"
+ <op-back-button linkClass="work-packages-back-button"
[customBackMethod]="backToList.bind(this)"
- ></op-back-button>
+ />
}
- <wp-subject [workPackage]="workPackage" class="subject-header"></wp-subject>
+ <wp-subject [workPackage]="workPackage" class="subject-header" />
</div>
</div>
@if (showTabs) {
@@ -51,8 +48,7 @@
data-notification-selector='notification-scroll-container'
>
<ndc-dynamic [ndcDynamicComponent]="activeTabComponent"
- [ndcDynamicInputs]="{ workPackage: workPackage }">
- </ndc-dynamic>
+ [ndcDynamicInputs]="{ workPackage: workPackage }" />
</div>
}
</edit-form>
@@ -60,15 +56,14 @@
}
@if (workPackage) {
<div class="work-packages--details-toolbar-container">
- <wp-details-toolbar
- [workPackage]="workPackage"
+ <wp-details-toolbar [workPackage]="workPackage"
[displayNotificationsButton]="(displayNotificationsButton$ | async)"
- ></wp-details-toolbar>
+ />
</div>
}
<div class="work-packages--details--resizer hidden-for-mobile hide-when-print">
<wp-resizer [elementClass]="resizerClass"
- [localStorageKey]="'openProject-splitViewFlexBasis'"></wp-resizer>
+ [localStorageKey]="'openProject-splitViewFlexBasis'" />
</div>
</div>
}
diff --git a/frontend/src/app/shared/components/attachments/attachments.component.html b/frontend/src/app/shared/components/attachments/attachments.component.html
index bedb980a7b5..54f0e93d445 100644
--- a/frontend/src/app/shared/components/attachments/attachments.component.html
+++ b/frontend/src/app/shared/components/attachments/attachments.component.html
@@ -1,6 +1,5 @@
@if ((attachments$ | async).length > 0) {
- <op-attachment-list
- [ngClass]="{
+ <op-attachment-list [ngClass]="{
'op-file-section--list': true,
'op-file-section--list_dragging': dragging > 0
}"
@@ -9,7 +8,7 @@
[showTimestamp]="showTimestamp"
[showDelete]="allowRemoval"
(attachmentRemoved)="attachmentRemoved.emit()"
- ></op-attachment-list>
+ />
}
diff --git a/frontend/src/app/shared/components/autocompleter/draggable-autocomplete/draggable-autocomplete.component.html b/frontend/src/app/shared/components/autocompleter/draggable-autocomplete/draggable-autocomplete.component.html
index b006b96fc40..ee80ffd0355 100644
--- a/frontend/src/app/shared/components/autocompleter/draggable-autocomplete/draggable-autocomplete.component.html
+++ b/frontend/src/app/shared/components/autocompleter/draggable-autocomplete/draggable-autocomplete.component.html
@@ -6,8 +6,7 @@
[attr.for]="id">
</label>
- <ng-select
- #ngSelectComponent
+ <ng-select #ngSelectComponent
[items]="availableOptions"
ngClass="op-draggable-autocomplete--input ng-select--primerized"
bindLabel="name"
@@ -20,7 +19,7 @@
[appendTo]="appendTo"
(open)="opened()"
(change)="select($event)"
- ></ng-select>
+ />
@if (inputCaption) {
<span class="FormControl-caption" [textContent]="inputCaption"></span>
}
diff --git a/frontend/src/app/shared/components/autocompleter/op-autocompleter/op-autocompleter.component.html b/frontend/src/app/shared/components/autocompleter/op-autocompleter/op-autocompleter.component.html
index 93b4e5b587c..205ce35ffd3 100644
--- a/frontend/src/app/shared/components/autocompleter/op-autocompleter/op-autocompleter.component.html
+++ b/frontend/src/app/shared/components/autocompleter/op-autocompleter/op-autocompleter.component.html
@@ -90,10 +90,9 @@
let-index="index"
let-search="searchTerm"
>
- <ng-container
- [ngTemplateOutlet]="headerTemplate || projectedHeaderTemplate"
+ <ng-container [ngTemplateOutlet]="headerTemplate || projectedHeaderTemplate"
[ngTemplateOutletContext]="{$implicit:item, search:search, index:index }"
- ></ng-container>
+ />
</ng-template>
}
@@ -105,10 +104,9 @@
let-search="searchTerm"
let-clear="clear"
>
- <ng-container
- [ngTemplateOutlet]="projectedLabelTemplate || labelTemplate || defaultLabel"
+ <ng-container [ngTemplateOutlet]="projectedLabelTemplate || labelTemplate || defaultLabel"
[ngTemplateOutletContext]="{$implicit:item, search:search, index:index, clear:clear }"
- ></ng-container>
+ />
</ng-template>
}
@@ -118,10 +116,9 @@
let-index="index"
let-search="searchTerm"
>
- <ng-container
- [ngTemplateOutlet]="projectedOptionTemplate || optionTemplate || defaultOption"
+ <ng-container [ngTemplateOutlet]="projectedOptionTemplate || optionTemplate || defaultOption"
[ngTemplateOutletContext]="{$implicit:item, search:search, index:index }"
- ></ng-container>
+ />
</ng-template>
@if (footerTemplate || projectedFooterTemplate) {
@@ -131,10 +128,9 @@
let-index="index"
let-search="searchTerm"
>
- <ng-container
- [ngTemplateOutlet]="footerTemplate || projectedFooterTemplate"
+ <ng-container [ngTemplateOutlet]="footerTemplate || projectedFooterTemplate"
[ngTemplateOutletContext]="{$implicit:item, search:search, index:index }"
- ></ng-container>
+ />
</ng-template>
}
</ng-select>
@@ -152,11 +148,10 @@
@case (resource === 'work_packages' || resource === 'parent-child') {
<div class="op-autocompleter--option-wrapper" title="{{ item.subject }}">
@if (item.author && item.author.href) {
- <op-principal
- class="op-autocompleter--option-principal"
+ <op-principal class="op-autocompleter--option-principal"
[principal]="item.author"
[hideName]="true"
- ></op-principal>
+ />
}
<span
class="op-autocompleter--wp-subject"
@@ -193,12 +188,11 @@
}
@case (resource ==='users' || resource ==='assignee' || resource === 'principals') {
@if (item && item.href) {
- <op-principal
- [principal]="item"
+ <op-principal [principal]="item"
[hideName]="true"
class="op-autocompleter--option-principal-avatar"
size="mini"
- ></op-principal>
+ />
}
<span
[attr.data-hover-card-trigger-target]="getHoverCardTriggerTarget(item)"
diff --git a/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter-template.component.html b/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter-template.component.html
index 58dca9d3cd0..efae85eeec9 100644
--- a/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter-template.component.html
+++ b/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter-template.component.html
@@ -4,12 +4,11 @@
let-search="search"
>
@if (item && item.href) {
- <op-principal
- [principal]="item"
+ <op-principal [principal]="item"
[hideName]="true"
[hoverCard]="hoverCards"
size="mini"
- ></op-principal>
+ />
}
<span [opSearchHighlight]="search"
[attr.data-hover-card-url]="getHoverCardUrl(item)"
@@ -26,9 +25,8 @@
</ng-template>
@if (inviteUserToProject) {
<ng-template #footerTemplate>
- <op-invite-user-button
- [projectId]="inviteUserToProject"
+ <op-invite-user-button [projectId]="inviteUserToProject"
class="op-select-footer"
- ></op-invite-user-button>
+ />
</ng-template>
}
diff --git a/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.html b/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.html
index 783213835c4..1a723e7befb 100644
--- a/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.html
+++ b/frontend/src/app/shared/components/datepicker/modal-single-date-picker/modal-single-date-picker.component.html
@@ -3,10 +3,9 @@
(closed)="opened = false"
data-test-selector="opce-modal-single-date-picker"
>
- <ng-content
- slot="trigger"
+ <ng-content slot="trigger"
select="[slot=trigger]"
- ></ng-content>
+ />
@if (useDefaultTrigger) {
<ng-template slot="trigger">
<input
@@ -37,30 +36,28 @@
[reverseLabel]="true"
[label]="text.ignoreNonWorkingDays.title"
>
- <spot-switch
- slot="input"
+ <spot-switch slot="input"
name="ignoreNonWorkingDays"
[(ngModel)]="ignoreNonWorkingDays"
(ngModelChange)="changeNonWorkingDays()"
data-test-selector="op-datepicker-modal--include-non-working-days"
- ></spot-switch>
+ />
</spot-selector-field>
}
- <ng-content select="[slot=extra-fields]"></ng-content>
+ <ng-content select="[slot=extra-fields]" />
<spot-form-field
[label]="text.date"
[required]="required"
>
- <spot-text-field
- slot="input"
+ <spot-text-field slot="input"
name="date"
[ngModel]="workingValue"
[required]="required"
(ngModelChange)="writeWorkingValue($event)"
[showClearButton]="true"
- ></spot-text-field>
+ />
<button
slot="action"
type="button"
diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-field-group-wrapper/dynamic-field-group-wrapper.component.html b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-field-group-wrapper/dynamic-field-group-wrapper.component.html
index addbfb30c29..ea11411a455 100644
--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-field-group-wrapper/dynamic-field-group-wrapper.component.html
+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-field-group-wrapper/dynamic-field-group-wrapper.component.html
@@ -14,7 +14,7 @@
</button>
</legend>
<div class="op-fieldset--fields">
- <ng-container #fieldComponent></ng-container>
+ <ng-container #fieldComponent />
</div>
</fieldset>
}
@@ -25,7 +25,7 @@
>
<legend class="op-fieldset--legend">{{ to.label }}</legend>
<div class="op-fieldset--fields">
- <ng-container #fieldComponent></ng-container>
+ <ng-container #fieldComponent />
</div>
</fieldset>
}
diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-field-wrapper/dynamic-field-wrapper.component.html b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-field-wrapper/dynamic-field-wrapper.component.html
index c1a1b47937b..1ff4bf62789 100644
--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-field-wrapper/dynamic-field-wrapper.component.html
+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-field-wrapper/dynamic-field-wrapper.component.html
@@ -10,18 +10,16 @@
[showValidationErrorOn]="to?.showValidationErrorOn || dynamicFormComponent?.showValidationErrorsOn"
[attr.data-qa-field-name]="to?.property"
>
- <ng-container #fieldComponent slot="input"></ng-container>
- <attribute-help-text
- slot="help-text"
+ <ng-container #fieldComponent slot="input" />
+ <attribute-help-text slot="help-text"
class="spot-form-field--help-text"
[attribute]="to?.property"
[attributeScope]="to?.helpTextAttributeScope || dynamicFormComponent?.helpTextAttributeScope"
- ></attribute-help-text>
- <formly-validation-message
- class="spot-form-field--error"
+ />
+ <formly-validation-message class="spot-form-field--error"
[field]="field"
slot="errors"
- ></formly-validation-message>
+ />
</spot-form-field>
}
@@ -34,17 +32,15 @@
[showValidationErrorOn]="to?.showValidationErrorOn || dynamicFormComponent?.showValidationErrorsOn"
[attr.data-qa-field-name]="to?.property"
>
- <ng-container #fieldComponent slot="input"></ng-container>
- <attribute-help-text
- slot="help-text"
+ <ng-container #fieldComponent slot="input" />
+ <attribute-help-text slot="help-text"
class="spot-form-field--help-text"
[attribute]="to?.property"
[attributeScope]="to?.helpTextAttributeScope || dynamicFormComponent?.helpTextAttributeScope"
- ></attribute-help-text>
- <formly-validation-message
- class="spot-form-field--error"
+ />
+ <formly-validation-message class="spot-form-field--error"
[field]="field"
slot="errors"
- ></formly-validation-message>
+ />
</spot-selector-field>
}
diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.html b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.html
index 860f3a07f8c..055fd198b9d 100644
--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.html
+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.html
@@ -5,13 +5,12 @@
[formGroup]="form"
(submit)="submitForm(form)"
>
- <formly-form
- [form]="form"
+ <formly-form [form]="form"
[model]="innerModel"
[fields]="fields"
(modelChange)="onModelChange($event)"
class="op-form--fieldset"
- ></formly-form>
+ />
@if (handleSubmit) {
<div class="op-form--submit"
>
@@ -34,12 +33,11 @@
<!-- TODO: Issue: sharing the form as an ng-template between this two HTML blocks doesn't work because
the nested OpFormFieldComponent doesn't find the injected FormGroupDirective. --->
@if (form && !handleSubmit) {
- <formly-form
- data-qa="op-form--container"
+ <formly-form data-qa="op-form--container"
class="op-form--fieldset"
[form]="form"
[model]="innerModel"
[fields]="fields"
(modelChange)="onModelChange($event)"
- ></formly-form>
+ />
}
diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.spec.ts b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.spec.ts
index b1c38fcfdc6..057a1784ad4 100644
--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.spec.ts
+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-form/dynamic-form.component.spec.ts
@@ -46,7 +46,7 @@ import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'
@Component({
template: `
- <op-dynamic-form [formControl]="control"></op-dynamic-form>`,
+ <op-dynamic-form [formControl]="control" />`,
providers: [],
standalone: false,
})
diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/date-input/date-input.component.html b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/date-input/date-input.component.html
index 1aae9ac7efd..31f5ec376cd 100644
--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/date-input/date-input.component.html
+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/date-input/date-input.component.html
@@ -1,6 +1,5 @@
-<op-basic-single-date-picker
- [required]="to.required"
+<op-basic-single-date-picker [required]="to.required"
[disabled]="to.disabled"
[formControl]="formControl"
[formlyAttributes]="field"
-></op-basic-single-date-picker>
+ />
diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/formattable-textarea-input/components/formattable-control/formattable-control.component.html b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/formattable-textarea-input/components/formattable-control/formattable-control.component.html
index 25bde37b162..5602dd28295 100644
--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/formattable-textarea-input/components/formattable-control/formattable-control.component.html
+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/formattable-textarea-input/components/formattable-control/formattable-control.component.html
@@ -1,10 +1,8 @@
<div class="op-ckeditor--wrapper op-ckeditor-element">
- <op-ckeditor
- [context]="ckEditorContext"
+ <op-ckeditor [context]="ckEditorContext"
[content]="value?.raw"
(contentChanged)="onContentChange($event)"
(initializationFailed)="initializationError = true"
(initializeDone)="onCkeditorSetup($event)"
- >
- </op-ckeditor>
+ />
</div>
diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/formattable-textarea-input/formattable-textarea-input.component.html b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/formattable-textarea-input/formattable-textarea-input.component.html
index 1140c1834f4..10419bfe072 100644
--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/formattable-textarea-input/formattable-textarea-input.component.html
+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/formattable-textarea-input/formattable-textarea-input.component.html
@@ -1,5 +1,4 @@
-<op-formattable-control
- [templateOptions]="to"
+<op-formattable-control [templateOptions]="to"
[formControl]="formControl"
[formlyAttributes]="field"
-></op-formattable-control>
+ />
diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/project-input/project-input.component.html b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/project-input/project-input.component.html
index 8e7d0375209..a6a0da62d0d 100644
--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/project-input/project-input.component.html
+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/project-input/project-input.component.html
@@ -1,7 +1,6 @@
-<op-project-autocompleter
- [formControl]="formControl"
+<op-project-autocompleter [formControl]="formControl"
[formlyAttributes]="field"
[attr.aria-required]="to.required"
[attr.required]="to.required"
[url]="to.allowedValuesHref"
-></op-project-autocompleter>
+ />
diff --git a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/user-input/user-input.component.html b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/user-input/user-input.component.html
index 8a86fc8cd2e..998feef003d 100644
--- a/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/user-input/user-input.component.html
+++ b/frontend/src/app/shared/components/dynamic-forms/components/dynamic-inputs/user-input/user-input.component.html
@@ -1,10 +1,8 @@
-<op-user-autocompleter
- [formControl]="formControl"
+<op-user-autocompleter [formControl]="formControl"
[formlyAttributes]="field"
[attr.aria-required]="to.required"
[attr.required]="to.required"
[url]="to.allowedValuesHref"
[multiple]="to.multiple"
[inviteUserToProject]="projectId"
->
-</op-user-autocompleter>
+ />
diff --git a/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html b/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html
index b294925d72b..8088792d107 100644
--- a/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html
+++ b/frontend/src/app/shared/components/editable-toolbar-title/editable-toolbar-title.html
@@ -8,7 +8,7 @@
class="spot-link editable-toolbar-title--save"
(click)="save($event, true)"
[attr.title]="text.query_has_changed_click_to_save">
- <op-icon icon-classes="icon icon-save icon-no-color"></op-icon>
+ <op-icon icon-classes="icon icon-save icon-no-color" />
</button>
}
<input #editableTitleInput
diff --git a/frontend/src/app/shared/components/editor/components/ckeditor-augmented-textarea/ckeditor-augmented-textarea.html b/frontend/src/app/shared/components/editor/components/ckeditor-augmented-textarea/ckeditor-augmented-textarea.html
index 4718e2a6136..732c16c850f 100644
--- a/frontend/src/app/shared/components/editor/components/ckeditor-augmented-textarea/ckeditor-augmented-textarea.html
+++ b/frontend/src/app/shared/components/editor/components/ckeditor-augmented-textarea/ckeditor-augmented-textarea.html
@@ -1,6 +1,5 @@
<div class="op-ckeditor--wrapper">
- <op-ckeditor
- [context]="context"
+ <op-ckeditor [context]="context"
[content]="initialContent"
(initializeDone)="setup($event)"
(contentChanged)="updateContent($event)"
@@ -9,7 +8,7 @@
(editorKeyup)="editorKeyup.emit()"
(editorBlur)="editorBlurred()"
(editorFocus)="editorFocused()"
- ></op-ckeditor>
+ />
</div>
@if (showAttachments && halResource?.attachments) {
@@ -19,9 +18,8 @@
<legend class="form--fieldset-legend">
{{ text.attachments }}
</legend>
- <op-attachments
- [resource]="halResource"
+ <op-attachments [resource]="halResource"
[destroyImmediately]="false"
- ></op-attachments>
+ />
</fieldset>
}
diff --git a/frontend/src/app/shared/components/fields/edit/edit-form/edit-form.component.ts b/frontend/src/app/shared/components/fields/edit/edit-form/edit-form.component.ts
index e047bd26eab..321be3cada1 100644
--- a/frontend/src/app/shared/components/fields/edit/edit-form/edit-form.component.ts
+++ b/frontend/src/app/shared/components/fields/edit/edit-form/edit-form.component.ts
@@ -60,7 +60,7 @@ import { firstValueFrom } from 'rxjs';
@Component({
selector: 'edit-form,[edit-form]',
- template: '<ng-content></ng-content>',
+ template: '<ng-content />',
standalone: false,
})
export class EditFormComponent extends EditForm<HalResource> implements OnInit, OnDestroy {
diff --git a/frontend/src/app/shared/components/fields/edit/editing-portal/edit-form-portal.component.html b/frontend/src/app/shared/components/fields/edit/editing-portal/edit-form-portal.component.html
index 61251ab679d..e7884e9aaa4 100644
--- a/frontend/src/app/shared/components/fields/edit/editing-portal/edit-form-portal.component.html
+++ b/frontend/src/app/shared/components/fields/edit/editing-portal/edit-form-portal.component.html
@@ -11,7 +11,7 @@
{{handler.fieldLabel}}
{{handler.errorMessageOnLabel()}}
</label>
- <ng-container *ngComponentOutlet="componentClass; injector: fieldInjector"></ng-container>
+ <ng-container *ngComponentOutlet="componentClass; injector: fieldInjector" />
</form>
</div>
}
diff --git a/frontend/src/app/shared/components/fields/edit/field-controls/edit-field-controls.component.html b/frontend/src/app/shared/components/fields/edit/field-controls/edit-field-controls.component.html
index 044542d4d09..c3f64924053 100644
--- a/frontend/src/app/shared/components/fields/edit/field-controls/edit-field-controls.component.html
+++ b/frontend/src/app/shared/components/fields/edit/field-controls/edit-field-controls.component.html
@@ -7,7 +7,7 @@
[title]="saveTitle"
(click)="save()"
>
- <op-icon icon-classes="icon-checkmark icon-no-color" [icon-title]="saveTitle"></op-icon>
+ <op-icon icon-classes="icon-checkmark icon-no-color" [icon-title]="saveTitle" />
</button>
<button
type="button"
@@ -15,7 +15,7 @@
[title]="cancelTitle"
(click)="cancel()"
>
- <op-icon icon-classes="icon-close icon-no-color" [icon-title]="cancelTitle"></op-icon>
+ <op-icon icon-classes="icon-close icon-no-color" [icon-title]="cancelTitle" />
</button>
</div>
</div>
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/date-edit-field/date-edit-field.component.ts b/frontend/src/app/shared/components/fields/edit/field-types/date-edit-field/date-edit-field.component.ts
index 41a4ae113d4..16159086c83 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/date-edit-field/date-edit-field.component.ts
+++ b/frontend/src/app/shared/components/fields/edit/field-types/date-edit-field/date-edit-field.component.ts
@@ -34,8 +34,7 @@ import { TimezoneService } from 'core-app/core/datetime/timezone.service';
@Component({
template: `
- <op-basic-single-date-picker
- [(ngModel)]="value"
+ <op-basic-single-date-picker [(ngModel)]="value"
(keydown.escape)="onCancel()"
(keydown.enter)="handler.handleUserSubmit()"
(picked)="handler.handleUserSubmit()"
@@ -44,7 +43,7 @@ import { TimezoneService } from 'core-app/core/datetime/timezone.service';
[required]="required"
[disabled]="inFlight"
[opAutofocus]="autofocus"
- ></op-basic-single-date-picker>
+ />
`,
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/formattable-edit-field/formattable-edit-field.component.html b/frontend/src/app/shared/components/fields/edit/field-types/formattable-edit-field/formattable-edit-field.component.html
index 0543debe752..1d2ef5d2f3e 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/formattable-edit-field/formattable-edit-field.component.html
+++ b/frontend/src/app/shared/components/fields/edit/field-types/formattable-edit-field/formattable-edit-field.component.html
@@ -6,16 +6,13 @@
(initializationFailed)="initializationError = true"
(initializeDone)="onCkeditorSetup($event)"
(saveRequested)="handleUserSubmit()"
- >
- </op-ckeditor>
+ />
</div>
@if (!(handler.inEditMode || initializationError)) {
- <edit-field-controls
- [fieldController]="field"
+ <edit-field-controls [fieldController]="field"
(onSave)="handleUserSubmit()"
(onCancel)="handleUserCancel()"
[saveTitle]="text.save"
- [cancelTitle]="text.cancel">
- </edit-field-controls>
+ [cancelTitle]="text.cancel" />
}
</div>
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/multi-select-edit-field.component.html b/frontend/src/app/shared/components/fields/edit/field-types/multi-select-edit-field.component.html
index 4cdd61cdc64..5fd2f27e7d4 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/multi-select-edit-field.component.html
+++ b/frontend/src/app/shared/components/fields/edit/field-types/multi-select-edit-field.component.html
@@ -30,10 +30,9 @@
</ng-template>
@if (showAddNewUserButton) {
<ng-template ng-footer-tmp>
- <op-invite-user-button
- [projectId]="resource.project?.id"
+ <op-invite-user-button [projectId]="resource.project?.id"
(invited)="selectedOption = $event"
- ></op-invite-user-button>
+ />
</ng-template>
}
</ng-select>
@@ -43,6 +42,5 @@
(onSave)="handler.handleUserSubmit()"
(onCancel)="handler.handleUserCancel()"
[saveTitle]="text.save"
- [cancelTitle]="text.cancel">
- </edit-field-controls>
+ [cancelTitle]="text.cancel" />
}
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/project-edit-field.component.html b/frontend/src/app/shared/components/fields/edit/field-types/project-edit-field.component.html
index aa5fba8f48e..f2a6bf5dec7 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/project-edit-field.component.html
+++ b/frontend/src/app/shared/components/fields/edit/field-types/project-edit-field.component.html
@@ -1,6 +1,5 @@
@if (url) {
- <op-project-autocompleter
- [ngClass]="'inline-edit--field ' + handler.fieldName"
+ <op-project-autocompleter [ngClass]="'inline-edit--field ' + handler.fieldName"
[model]="value"
[url]="url"
[filters]="APIFilters"
@@ -10,7 +9,7 @@
appendTo=".op-wide-autocomplete-wrapper"
(change)="onModelChange($event)"
(cancel)="handler.handleUserCancel()"
- ></op-project-autocompleter>
+ />
} @else {
<op-content-loader
class="project-edit-field--loading-indicator"
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/select-edit-field/select-edit-field.component.html b/frontend/src/app/shared/components/fields/edit/field-types/select-edit-field/select-edit-field.component.html
index 6f8e993da49..1d4df390843 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/select-edit-field/select-edit-field.component.html
+++ b/frontend/src/app/shared/components/fields/edit/field-types/select-edit-field/select-edit-field.component.html
@@ -1,5 +1,4 @@
-<ndc-dynamic
- [ndcDynamicComponent]="autocompleterComponent()"
+<ndc-dynamic [ndcDynamicComponent]="autocompleterComponent()"
[ndcDynamicInputs]="{
availableValues: availableOptions,
appendTo: appendTo,
@@ -12,4 +11,4 @@
resource: this.resource
}"
[ndcDynamicOutputs]="referenceOutputs"
-></ndc-dynamic>
+ />
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/user-edit-field.component.html b/frontend/src/app/shared/components/fields/edit/field-types/user-edit-field.component.html
index 176948b4150..3ee8bfc740d 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/user-edit-field.component.html
+++ b/frontend/src/app/shared/components/fields/edit/field-types/user-edit-field.component.html
@@ -1,6 +1,5 @@
@if (url) {
- <op-user-autocompleter
- class="inline-edit--field {{ handler.fieldName }}"
+ <op-user-autocompleter class="inline-edit--field {{ handler.fieldName }}"
[url]="url"
[inviteUserToProject]="resource.project?.id"
[focusDirectly]="!(handler.inEditMode || isNew)"
@@ -11,5 +10,5 @@
(change)="onModelChange($event)"
(cancel)="handler.handleUserCancel()"
(userInvited)="onModelChange($event)"
- ></op-user-autocompleter>
+ />
}
diff --git a/frontend/src/app/shared/components/fields/edit/field-types/work-package-edit-field.component.html b/frontend/src/app/shared/components/fields/edit/field-types/work-package-edit-field.component.html
index 2d2432acf60..707a3deb81b 100644
--- a/frontend/src/app/shared/components/fields/edit/field-types/work-package-edit-field.component.html
+++ b/frontend/src/app/shared/components/fields/edit/field-types/work-package-edit-field.component.html
@@ -1,5 +1,4 @@
-<ndc-dynamic
- [ndcDynamicComponent]="autocompleterComponent()"
+<ndc-dynamic [ndcDynamicComponent]="autocompleterComponent()"
[ndcDynamicInputs]="{
availableValues: requests.output$ | async,
appendTo: appendTo,
@@ -13,4 +12,4 @@
hideSelected: true
}"
[ndcDynamicOutputs]="referenceOutputs"
-></ndc-dynamic>
+ />
diff --git a/frontend/src/app/shared/components/fields/macros/attribute-label-macro.html b/frontend/src/app/shared/components/fields/macros/attribute-label-macro.html
index 0c1d05cc744..78687e3c25a 100644
--- a/frontend/src/app/shared/components/fields/macros/attribute-label-macro.html
+++ b/frontend/src/app/shared/components/fields/macros/attribute-label-macro.html
@@ -1,8 +1,7 @@
@if (resource) {
<span [textContent]="label"></span>
<attribute-help-text [attribute]="attribute"
- [attributeScope]="attributeScope">
- </attribute-help-text>
+ [attributeScope]="attributeScope" />
}
@if (error) {
diff --git a/frontend/src/app/shared/components/fields/macros/attribute-value-macro.html b/frontend/src/app/shared/components/fields/macros/attribute-value-macro.html
index 05fee28fb05..f7584cdd6a5 100644
--- a/frontend/src/app/shared/components/fields/macros/attribute-value-macro.html
+++ b/frontend/src/app/shared/components/fields/macros/attribute-value-macro.html
@@ -5,10 +5,8 @@
</span>
}
@if (!!resource) {
- <display-field
- [resource]="resource"
+ <display-field [resource]="resource"
containerType="single-view"
[displayFieldOptions]="{ writable: false }"
- [fieldName]="fieldName">
- </display-field>
+ [fieldName]="fieldName" />
}
diff --git a/frontend/src/app/shared/components/fields/macros/work-package-quickinfo-macro.html b/frontend/src/app/shared/components/fields/macros/work-package-quickinfo-macro.html
index fbaa209cd86..3ad2f819435 100644
--- a/frontend/src/app/shared/components/fields/macros/work-package-quickinfo-macro.html
+++ b/frontend/src/app/shared/components/fields/macros/work-package-quickinfo-macro.html
@@ -1,16 +1,13 @@
@if ((workPackage$ | async); as workPackage) {
@if (detailed) {
- <display-field
- [resource]="workPackage"
+ <display-field [resource]="workPackage"
[displayFieldOptions]="{ writable: false }"
containerType="single-view"
- fieldName="status">
- </display-field>
+ fieldName="status" />
}
<display-field [resource]="workPackage"
[displayFieldOptions]="{ writable: false }"
- fieldName="type">
- </display-field>
+ fieldName="type" />
<a data-hover-card-trigger-target="trigger"
target="_top"
[href]="workPackageLink"
@@ -20,34 +17,27 @@
</a>
<display-field [resource]="workPackage"
[displayFieldOptions]="{ writable: false }"
- fieldName="subject">
- </display-field>
+ fieldName="subject" />
@if (detailed && (!!workPackage.startDate || !!workPackage.dueDate || !!workPackage.date)) {
(@if (!!workPackage.date) {
- <display-field
- [resource]="workPackage"
+ <display-field [resource]="workPackage"
[displayFieldOptions]="{ writable: false }"
fieldName="date"
- containerType="single-view">
- </display-field>
+ containerType="single-view" />
}
@if (!!workPackage.startDate) {
- <display-field
- [resource]="workPackage"
+ <display-field [resource]="workPackage"
[displayFieldOptions]="{ writable: false }"
[displayClass]="combinedDateDisplayField"
fieldName="startDate"
- containerType="single-view">
- </display-field>
+ containerType="single-view" />
}
@if (!workPackage.startDate && !!workPackage.dueDate) {
- <display-field
- [resource]="workPackage"
+ <display-field [resource]="workPackage"
[displayFieldOptions]="{ writable: false }"
[displayClass]="combinedDateDisplayField"
fieldName="dueDate"
- containerType="single-view">
- </display-field>
+ containerType="single-view" />
})
}
}
diff --git a/frontend/src/app/shared/components/grids/grid/grid.component.html b/frontend/src/app/shared/components/grids/grid/grid.component.html
index 15d5855f2c4..3be20a83195 100644
--- a/frontend/src/app/shared/components/grids/grid/grid.component.html
+++ b/frontend/src/app/shared/components/grids/grid/grid.component.html
@@ -24,8 +24,7 @@
[cdkDragDisabled]="isMobileDevice || !drag.isDraggable">
<ndc-dynamic [ndcDynamicComponent]="widgetComponent(area)"
[ndcDynamicInputs]="widgetComponentInput(area)"
- [ndcDynamicOutputs]="widgetComponentOutput(area)">
- </ndc-dynamic>
+ [ndcDynamicOutputs]="widgetComponentOutput(area)" />
</div>
@if (resize.isResizable) {
<op-resizer
diff --git a/frontend/src/app/shared/components/grids/grid/page/grid-page.component.html b/frontend/src/app/shared/components/grids/grid/page/grid-page.component.html
index 38e126c10e6..bd973e38f94 100644
--- a/frontend/src/app/shared/components/grids/grid/page/grid-page.component.html
+++ b/frontend/src/app/shared/components/grids/grid/page/grid-page.component.html
@@ -1,3 +1,3 @@
@if (grid) {
- <grid [grid]="grid"></grid>
+ <grid [grid]="grid" />
}
diff --git a/frontend/src/app/shared/components/grids/widgets/custom-text/custom-text.component.html b/frontend/src/app/shared/components/grids/widgets/custom-text/custom-text.component.html
index f2068fedc9b..8ea7c5e9c4b 100644
--- a/frontend/src/app/shared/components/grids/widgets/custom-text/custom-text.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/custom-text/custom-text.component.html
@@ -2,10 +2,8 @@
[name]="widgetName"
(onRenamed)="renameWidget($event)">
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<ng-template #text>
@@ -25,11 +23,10 @@
<div class="op-widget-box--body -custom-text -allow-inner-overflow">
<div class="inline-edit--container inplace-edit">
@if (active) {
- <edit-form-portal
- [schemaInput]="schema"
+ <edit-form-portal [schemaInput]="schema"
[changeInput]="changeset"
[editFieldHandler]="handler"
- ></edit-form-portal>
+ />
}
@if (active) {
@@ -39,7 +36,7 @@
<legend class="form--fieldset-legend">
{{ text.attachments }}
</legend>
- <op-attachments [resource]="resource.grid"></op-attachments>
+ <op-attachments [resource]="resource.grid" />
</fieldset>
}
@@ -54,11 +51,11 @@
(click)="activate($event)"
[ngClass]="inplaceEditClasses"
>
- <ng-container *ngTemplateOutlet="text"></ng-container>
+ <ng-container *ngTemplateOutlet="text" />
</button>
}
@if (!isTextEditable) {
- <ng-container *ngTemplateOutlet="text"></ng-container>
+ <ng-container *ngTemplateOutlet="text" />
}
</div>
}
diff --git a/frontend/src/app/shared/components/grids/widgets/documents/documents.component.html b/frontend/src/app/shared/components/grids/widgets/documents/documents.component.html
index 1a6787b3a1f..4a4c7046053 100644
--- a/frontend/src/app/shared/components/grids/widgets/documents/documents.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/documents/documents.component.html
@@ -2,17 +2,13 @@
[name]="widgetName"
[editable]="isEditable">
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body">
@if (noEntries) {
- <op-no-results
- [title]="text.noResults">
- </op-no-results>
+ <op-no-results [title]="text.noResults" />
}
@for (document of entries; track document) {
<h4 class="document-category-elements--header">
diff --git a/frontend/src/app/shared/components/grids/widgets/header/header.component.html b/frontend/src/app/shared/components/grids/widgets/header/header.component.html
index 5e9139cdd25..1d0db85e286 100644
--- a/frontend/src/app/shared/components/grids/widgets/header/header.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/header/header.component.html
@@ -9,13 +9,12 @@
class="grid--area-drag-handle hidden-for-mobile"></svg>
}
- <ng-content select="[slot=prepend]"></ng-content>
+ <ng-content select="[slot=prepend]" />
<editable-toolbar-title [title]="name"
(onSave)="renamed($event)"
[editable]="isRenameable"
- class="op-widget-box--header-title">
- </editable-toolbar-title>
+ class="op-widget-box--header-title" />
- <ng-content select="[slot=menu]"></ng-content>
+ <ng-content select="[slot=menu]" />
</h3>
diff --git a/frontend/src/app/shared/components/grids/widgets/members/members.component.html b/frontend/src/app/shared/components/grids/widgets/members/members.component.html
index a4e67518fe6..d750e4695d2 100644
--- a/frontend/src/app/shared/components/grids/widgets/members/members.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/members/members.component.html
@@ -4,19 +4,15 @@
<attribute-help-text slot="prepend"
attribute="members"
- [attributeScope]="'Project'"></attribute-help-text>
+ [attributeScope]="'Project'" />
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body">
@if (noMembers) {
- <op-no-results
- [title]="text.noResults">
- </op-no-results>
+ <op-no-results [title]="text.noResults" />
}
<div class="op-members-widget--attributes-map -minimal-keys">
@for (usersByRole of usersByRole; track usersByRole) {
@@ -25,10 +21,9 @@
</div>
<div class="attributes-map--value">
@for (principal of usersByRole.users; track principal; let last = $last) {
- <op-principal
- [principal]="principal"
+ <op-principal [principal]="principal"
size="mini"
- ></op-principal>
+ />
@if (!last) {
,
}
diff --git a/frontend/src/app/shared/components/grids/widgets/menu/widget-menu.component.html b/frontend/src/app/shared/components/grids/widgets/menu/widget-menu.component.html
index bc32cfb2f13..412f988d60b 100644
--- a/frontend/src/app/shared/components/grids/widgets/menu/widget-menu.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/menu/widget-menu.component.html
@@ -1,5 +1,3 @@
@if (hasMenu) {
- <icon-triggered-context-menu
- [menuItemsFactory]="menuItemsFactory">
- </icon-triggered-context-menu>
+ <icon-triggered-context-menu [menuItemsFactory]="menuItemsFactory" />
}
diff --git a/frontend/src/app/shared/components/grids/widgets/news/news.component.html b/frontend/src/app/shared/components/grids/widgets/news/news.component.html
index 47a99493682..9537572b296 100644
--- a/frontend/src/app/shared/components/grids/widgets/news/news.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/news/news.component.html
@@ -3,17 +3,14 @@
[editable]="isEditable"
>
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body">
@if (noEntries) {
- <op-no-results
- [title]="text.noResults"
- ></op-no-results>
+ <op-no-results [title]="text.noResults"
+ />
}
<ul class="widget-box--arrow-links">
@for (news of entries; track news) {
@@ -21,11 +18,10 @@
class="widget-box--arrow-multiline"
>
@if (news.author) {
- <op-principal
- [principal]="news.author"
+ <op-principal [principal]="news.author"
[hideName]="true"
class="widget-box--avatar news-author-avatar hidden-for-mobile"
- ></op-principal>
+ />
}
<div class="widget-box--project">
<a
diff --git a/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.html b/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.html
index 56462b1c314..92e974a9461 100644
--- a/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/project-description/project-description.component.html
@@ -4,12 +4,10 @@
<attribute-help-text slot="prepend"
attribute="description"
- [attributeScope]="'Project'"></attribute-help-text>
+ [attributeScope]="'Project'" />
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body -allow-inner-overflow">
@@ -17,8 +15,7 @@
<edit-form
[resource]="project">
<op-editable-attribute-field [resource]="project"
- fieldName="description">
- </op-editable-attribute-field>
+ fieldName="description" />
</edit-form>
}
</div>
diff --git a/frontend/src/app/shared/components/grids/widgets/project-favorites/widget-project-favorites.component.html b/frontend/src/app/shared/components/grids/widgets/project-favorites/widget-project-favorites.component.html
index f0a89295d4b..ad9434bb1e4 100644
--- a/frontend/src/app/shared/components/grids/widgets/project-favorites/widget-project-favorites.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/project-favorites/widget-project-favorites.component.html
@@ -2,10 +2,8 @@
[name]="widgetName"
[editable]="false">
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
@if ((projects$ | async); as projects) {
diff --git a/frontend/src/app/shared/components/grids/widgets/project-status-beta/project-status-beta.component.html b/frontend/src/app/shared/components/grids/widgets/project-status-beta/project-status-beta.component.html
index 919407b37a7..578f40e907e 100644
--- a/frontend/src/app/shared/components/grids/widgets/project-status-beta/project-status-beta.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/project-status-beta/project-status-beta.component.html
@@ -4,14 +4,12 @@
<attribute-help-text slot="prepend"
attribute="status"
- [attributeScope]="'Project'"></attribute-help-text>
+ [attributeScope]="'Project'" />
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body -allow-inner-overflow">
- <turbo-frame [id]="frameId" [src]="src"></turbo-frame>
+ <turbo-frame [id]="frameId" [src]="src" />
</div>
diff --git a/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.html b/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.html
index 17050361a46..ed6369a633b 100644
--- a/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/project-status/project-status.component.html
@@ -4,12 +4,10 @@
<attribute-help-text slot="prepend"
attribute="status"
- [attributeScope]="'Project'"></attribute-help-text>
+ [attributeScope]="'Project'" />
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body -allow-inner-overflow">
@@ -18,13 +16,11 @@
<div class="project-status--container">
<op-editable-attribute-field [resource]="project"
fieldName="status"
- wrapperClasses="project-status--display-field">
- </op-editable-attribute-field>
+ wrapperClasses="project-status--display-field" />
</div>
<div class="project-status-explanation--container">
<op-editable-attribute-field [resource]="project"
- fieldName="statusExplanation">
- </op-editable-attribute-field>
+ fieldName="statusExplanation" />
</div>
</edit-form>
}
diff --git a/frontend/src/app/shared/components/grids/widgets/subprojects/subprojects.component.html b/frontend/src/app/shared/components/grids/widgets/subprojects/subprojects.component.html
index 2729f4d5abe..739a65b5352 100644
--- a/frontend/src/app/shared/components/grids/widgets/subprojects/subprojects.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/subprojects/subprojects.component.html
@@ -2,17 +2,13 @@
[name]="widgetName"
[editable]="isEditable">
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body">
@if (noEntries) {
- <op-no-results
- [title]="text.noResults">
- </op-no-results>
+ <op-no-results [title]="text.noResults" />
}
@for (project of projects; track project; let last = $last) {
<span>
diff --git a/frontend/src/app/shared/components/grids/widgets/time-entries/current-user/time-entries-current-user.component.html b/frontend/src/app/shared/components/grids/widgets/time-entries/current-user/time-entries-current-user.component.html
index 03350b52c6b..7263ae23f49 100644
--- a/frontend/src/app/shared/components/grids/widgets/time-entries/current-user/time-entries-current-user.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/time-entries/current-user/time-entries-current-user.component.html
@@ -2,18 +2,15 @@
[name]="widgetName"
[editable]="isEditable">
- <widget-time-entries-current-user-menu
- slot="menu"
+ <widget-time-entries-current-user-menu slot="menu"
[resource]="resource"
- (onConfigured)="updateConfiguration($event)">
- </widget-time-entries-current-user-menu>
+ (onConfigured)="updateConfiguration($event)" />
</widget-header>
<div class="op-widget-box--body">
- <op-time-entries-calendar
- (entries)="updateEntries($event)"
+ <op-time-entries-calendar (entries)="updateEntries($event)"
[displayedDays]="displayedDays"
- ></op-time-entries-calendar>
+ />
<ng-container>
<div class="total-hours">
diff --git a/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.html b/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.html
index 45c2f1db4ba..4a568e8c5b0 100644
--- a/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.html
@@ -2,17 +2,13 @@
[name]="widgetName"
[editable]="isEditable">
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body">
@if (noEntries) {
- <op-no-results
- [title]="text.noResults">
- </op-no-results>
+ <op-no-results [title]="text.noResults" />
}
@if (!noEntries) {
@@ -112,7 +108,7 @@
tabindex="0"
[title]="text.edit"
attr.data-test-selector="edit-time-entry-{{ item.entry.id }}">
- <op-icon icon-classes="icon-context icon-edit"></op-icon>
+ <op-icon icon-classes="icon-context icon-edit" />
</a>
}
@if (item.entry && item.entry.delete) {
@@ -122,7 +118,7 @@
(keyup.enter)="deleteIfConfirmed($event, item.entry)"
(keyup.space)="deleteIfConfirmed($event, item.entry)"
[title]="text.delete">
- <op-icon icon-classes="icon-context icon-delete"></op-icon>
+ <op-icon icon-classes="icon-context icon-delete" />
</a>
}
</td>
diff --git a/frontend/src/app/shared/components/grids/widgets/wp-calendar/wp-calendar.component.html b/frontend/src/app/shared/components/grids/widgets/wp-calendar/wp-calendar.component.html
index 7329872bd03..0410f115eb4 100644
--- a/frontend/src/app/shared/components/grids/widgets/wp-calendar/wp-calendar.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/wp-calendar/wp-calendar.component.html
@@ -2,10 +2,8 @@
[name]="widgetName"
(onRenamed)="renameWidget($event)">
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body">
@@ -16,10 +14,9 @@
</div>
}
@if (context.hasCapability === true) {
- <op-wp-calendar
- [showMeetings]="true"
+ <op-wp-calendar [showMeetings]="true"
[static]="true"
- ></op-wp-calendar>
+ />
}
}
</div>
diff --git a/frontend/src/app/shared/components/grids/widgets/wp-graph/wp-graph.component.html b/frontend/src/app/shared/components/grids/widgets/wp-graph/wp-graph.component.html
index 8ed4bbb2bf2..7f862a6d9ea 100644
--- a/frontend/src/app/shared/components/grids/widgets/wp-graph/wp-graph.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/wp-graph/wp-graph.component.html
@@ -2,14 +2,11 @@
[name]="widgetName"
(onRenamed)="renameWidget($event)">
- <widget-wp-graph-menu
- slot="menu"
+ <widget-wp-graph-menu slot="menu"
[resource]="resource"
- (onConfigured)="updateGraph($event)">
- </widget-wp-graph-menu>
+ (onConfigured)="updateGraph($event)" />
</widget-header>
<op-wp-embedded-graph class='op-widget-box--body -no-overflow'
[datasets]="datasets"
- [chartType]="chartType">
-</op-wp-embedded-graph>
+ [chartType]="chartType" />
diff --git a/frontend/src/app/shared/components/grids/widgets/wp-overview/wp-overview.component.html b/frontend/src/app/shared/components/grids/widgets/wp-overview/wp-overview.component.html
index 0fc66bae432..ff4906355c4 100644
--- a/frontend/src/app/shared/components/grids/widgets/wp-overview/wp-overview.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/wp-overview/wp-overview.component.html
@@ -2,13 +2,9 @@
[name]="widgetName"
(onRenamed)="renameWidget($event)">
- <widget-menu
- slot="menu"
- [resource]="resource">
- </widget-menu>
+ <widget-menu slot="menu"
+ [resource]="resource" />
</widget-header>
-<opce-wp-overview-graph
- class='op-widget-box--body -no-overflow'
- [groupBy]="'type'">
-</opce-wp-overview-graph>
+<opce-wp-overview-graph class='op-widget-box--body -no-overflow'
+ [groupBy]="'type'" />
diff --git a/frontend/src/app/shared/components/grids/widgets/wp-table/wp-table-qs.component.html b/frontend/src/app/shared/components/grids/widgets/wp-table/wp-table-qs.component.html
index c44cca0bb2c..99f52d49970 100644
--- a/frontend/src/app/shared/components/grids/widgets/wp-table/wp-table-qs.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/wp-table/wp-table-qs.component.html
@@ -1,2 +1,2 @@
<widget-wp-table [resource]="resource"
- (resourceChanged)="onResourceChanged($event)"></widget-wp-table>
+ (resourceChanged)="onResourceChanged($event)" />
diff --git a/frontend/src/app/shared/components/grids/widgets/wp-table/wp-table.component.html b/frontend/src/app/shared/components/grids/widgets/wp-table/wp-table.component.html
index ab6876bb29d..8bd57883cc7 100644
--- a/frontend/src/app/shared/components/grids/widgets/wp-table/wp-table.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/wp-table/wp-table.component.html
@@ -1,17 +1,14 @@
<widget-header
[name]="widgetName"
(onRenamed)="renameWidget($event)">
- <widget-wp-table-menu
- slot="menu"
- [resource]="resource">
- </widget-wp-table-menu>
+ <widget-wp-table-menu slot="menu"
+ [resource]="resource" />
</widget-header>
<div class="op-widget-box--body">
@if (queryId) {
<wp-embedded-table [queryId]="queryId"
[configuration]="configuration"
- >
- </wp-embedded-table>
+ />
}
</div>
diff --git a/frontend/src/app/shared/components/header-project-select/header-project-select.component.html b/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
index c104b30ff2f..a30a078bacf 100644
--- a/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
+++ b/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
@@ -31,11 +31,10 @@
></h1>
@if (this.currentUserService.isLoggedIn) {
- <spot-toggle
- [options]="displayModeOptions"
+ <spot-toggle [options]="displayModeOptions"
[ngModel]="displayMode"
(ngModelChange)="displayModeChange($event)"
- ></spot-toggle>
+ />
}
</div>
@if (projects$ | async; as projects) {
@@ -99,7 +98,7 @@
}
}
} @else {
- <op-loading-project-list class="op-project-list-modal--loading"></op-loading-project-list>
+ <op-loading-project-list class="op-project-list-modal--loading" />
}
@if (!portfolioModelsEnabled) {
<div
diff --git a/frontend/src/app/shared/components/modal/modal-banner/modal-banner.component.html b/frontend/src/app/shared/components/modal/modal-banner/modal-banner.component.html
index cb3a8df8a11..6bc2273c67d 100644
--- a/frontend/src/app/shared/components/modal/modal-banner/modal-banner.component.html
+++ b/frontend/src/app/shared/components/modal/modal-banner/modal-banner.component.html
@@ -33,7 +33,7 @@
type="button"
(click)="buttonClicked.emit($event)"
>
- <op-icon icon-classes="button--icon {{ actionButtonClasses }}"></op-icon>
+ <op-icon icon-classes="button--icon {{ actionButtonClasses }}" />
<span class="button--text" [textContent]="actionButton"></span>
</button>
}
diff --git a/frontend/src/app/shared/components/modal/modal-overlay.component.html b/frontend/src/app/shared/components/modal/modal-overlay.component.html
index a603fb5a5c5..bf0f5469df9 100644
--- a/frontend/src/app/shared/components/modal/modal-overlay.component.html
+++ b/frontend/src/app/shared/components/modal/modal-overlay.component.html
@@ -22,5 +22,5 @@
<span class="spot-icon spot-icon_close"></span>
</button>
}
- <ng-template cdkPortalOutlet></ng-template>
+ <ng-template cdkPortalOutlet />
</div>
diff --git a/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.html b/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.html
index 1db7987a650..b4f1377314b 100644
--- a/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.html
+++ b/frontend/src/app/shared/components/modals/get-ical-url-modal/query-get-ical-url.modal.html
@@ -22,12 +22,11 @@
<spot-form-field [label]="text.token_name" [required]="true" showValidationErrorOn="change">
- <spot-text-field
- formControlName="name"
+ <spot-text-field formControlName="name"
slot="input"
[placeholder]="text.token_name_placeholder"
opAutofocus
- ></spot-text-field>
+ />
@if (nameControl?.errors?.rails) {
<div
diff --git a/frontend/src/app/shared/components/modals/save-modal/save-query.modal.html b/frontend/src/app/shared/components/modals/save-modal/save-query.modal.html
index 36df1d2fcc6..e6ddb662dbb 100644
--- a/frontend/src/app/shared/components/modals/save-modal/save-query.modal.html
+++ b/frontend/src/app/shared/components/modals/save-modal/save-query.modal.html
@@ -32,12 +32,10 @@
<h2 class="spot-subheader-extra-small">{{ text.label_visibility_settings }}</h2>
- <query-sharing-form
- [isSave]="true"
+ <query-sharing-form [isSave]="true"
(onChange)="setValues($event)"
[isStarred]="isStarred"
- [isPublic]="isPublic">
- </query-sharing-form>
+ [isPublic]="isPublic" />
</div>
<div class="spot-action-bar">
diff --git a/frontend/src/app/shared/components/modals/share-modal/query-sharing.modal.html b/frontend/src/app/shared/components/modals/share-modal/query-sharing.modal.html
index bd768f9098a..b4562ab5b9c 100644
--- a/frontend/src/app/shared/components/modals/share-modal/query-sharing.modal.html
+++ b/frontend/src/app/shared/components/modals/share-modal/query-sharing.modal.html
@@ -6,13 +6,11 @@
<div class="spot-divider"></div>
- <query-sharing-form
- class="spot-modal--body spot-container"
+ <query-sharing-form class="spot-modal--body spot-container"
[isSave]="false"
(onChange)="setValues($event)"
[isStarred]="isStarred"
- [isPublic]="isPublic">
- </query-sharing-form>
+ [isPublic]="isPublic" />
<div class="spot-action-bar">
<div class="spot-action-bar--right">
diff --git a/frontend/src/app/shared/components/op-content-loader/op-content-loader.component.html b/frontend/src/app/shared/components/op-content-loader/op-content-loader.component.html
index 2da24455f30..fee1d70b007 100644
--- a/frontend/src/app/shared/components/op-content-loader/op-content-loader.component.html
+++ b/frontend/src/app/shared/components/op-content-loader/op-content-loader.component.html
@@ -5,5 +5,5 @@
[speed]="3"
[viewBox]="viewBox"
>
- <ng-content></ng-content>
+ <ng-content />
</content-loader>
diff --git a/frontend/src/app/shared/components/op-context-menu/op-context-menu.html b/frontend/src/app/shared/components/op-context-menu/op-context-menu.html
index d6476c22656..e142f071b95 100644
--- a/frontend/src/app/shared/components/op-context-menu/op-context-menu.html
+++ b/frontend/src/app/shared/components/op-context-menu/op-context-menu.html
@@ -35,13 +35,12 @@
(click)="handleClick(item, $event)"
>
@if (item.icon) {
- <op-icon icon-classes="icon-action-menu {{ item.icon }}"></op-icon>
+ <op-icon icon-classes="icon-action-menu {{ item.icon }}" />
}
<span [textContent]="item.linkText"></span>
@if (item.postIcon) {
- <op-icon
- [icon-title]="item.postIconTitle || ''"
- icon-classes="icon-action-menu-post {{ item.postIcon }}"></op-icon>
+ <op-icon [icon-title]="item.postIconTitle || ''"
+ icon-classes="icon-action-menu-post {{ item.postIcon }}" />
}
</a>
}
@@ -57,13 +56,12 @@
(click)="handleClick(item, $event)"
>
@if (item.icon) {
- <op-icon icon-classes="icon-action-menu {{ item.icon }}"></op-icon>
+ <op-icon icon-classes="icon-action-menu {{ item.icon }}" />
}
<span [textContent]="item.linkText"></span>
@if (item.postIcon) {
- <op-icon
- [icon-title]="item.postIconTitle || ''"
- icon-classes="icon-action-menu-post {{ item.postIcon }}"></op-icon>
+ <op-icon [icon-title]="item.postIconTitle || ''"
+ icon-classes="icon-action-menu-post {{ item.postIcon }}" />
}
</button>
}
diff --git a/frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.html b/frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.html
index 2f8e049891d..0584651df9e 100644
--- a/frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.html
+++ b/frontend/src/app/shared/components/op-non-working-days-list/op-non-working-days-list.component.html
@@ -1,9 +1,8 @@
@if (calendarOptions) {
- <full-calendar
- #ucCalendar
+ <full-calendar #ucCalendar
[options]="calendarOptions"
class="op-non-working-days-list--calendar"
- ></full-calendar>
+ />
}
@for (date of nonWorkingDays; track date) {
@@ -36,13 +35,12 @@
[required]="true"
[label]="text.non_working_day_name"
>
- <spot-text-field
- name="name"
+ <spot-text-field name="name"
slot="input"
[required]="true"
[(ngModel)]="selectedNonWorkingDayName"
[showClearButton]="false"
- ></spot-text-field>
+ />
</spot-form-field>
<button
diff --git a/frontend/src/app/shared/components/project-include/list/project-include-list.component.html b/frontend/src/app/shared/components/project-include/list/project-include-list.component.html
index 3bbff2e50ff..6115f00a0e5 100644
--- a/frontend/src/app/shared/components/project-include/list/project-include-list.component.html
+++ b/frontend/src/app/shared/components/project-include/list/project-include-list.component.html
@@ -22,14 +22,13 @@
[attr.data-list-selector]="projectListActionIdentifier"
[attr.data-list-disabled]="project.disabled || undefined"
>
- <spot-checkbox
- [tabindex]="-1"
+ <spot-checkbox [tabindex]="-1"
[checked]="isChecked(project.href) || (includeSubprojects && parentChecked)"
(change)="changeSelected(project)"
[disabled]="project.disabled"
[attr.data-qa-project-include-id]="project.id"
[attr.data-qa-project-include-checked]="(isChecked(project.href) || (includeSubprojects && parentChecked)) ? 1 : 0"
- ></spot-checkbox>
+ />
<div
class="spot-list--item-title spot-list--item-title_ellipse-text"
data-test-selector="op-project-include-list--item-title"
diff --git a/frontend/src/app/shared/components/project-include/project-include.component.html b/frontend/src/app/shared/components/project-include/project-include.component.html
index 838ef2dfa0e..626fc201704 100644
--- a/frontend/src/app/shared/components/project-include/project-include.component.html
+++ b/frontend/src/app/shared/components/project-include/project-include.component.html
@@ -25,10 +25,9 @@
<ng-container slot="body">
<div class="op-project-list-modal--header op-project-include--header">
<h1 class="op-project-list-modal--title">{{ text.title }}</h1>
- <spot-toggle
- [options]="displayModeOptions"
+ <spot-toggle [options]="displayModeOptions"
[(ngModel)]="displayMode"
- ></spot-toggle>
+ />
</div>
@if (projects$ | async; as projects) {
<form
@@ -74,20 +73,18 @@
</span>
}
} @else {
- <op-loading-project-list
- class="op-project-list-modal--loading"
+ <op-loading-project-list class="op-project-list-modal--loading"
data-test-selector="op-project-include--loading"
- ></op-loading-project-list>
+ />
}
<div class="spot-action-bar">
<div class="spot-action-bar--left">
<!-- eslint-disable-next-line @angular-eslint/template/label-has-associated-control -->
<label class="op-project-include--include-all spot-action-bar--action">
- <spot-checkbox
- [(ngModel)]="includeSubprojects"
+ <spot-checkbox [(ngModel)]="includeSubprojects"
[ngModelOptions]="{standalone: true}"
data-qa-project-include-all-subprojects="1"
- ></spot-checkbox>
+ />
<span class="op-project-include--include-all-text">{{ text.include_subprojects }}</span>
</label>
</div>
diff --git a/frontend/src/app/shared/components/resizer/resizer.component.html b/frontend/src/app/shared/components/resizer/resizer.component.html
index 519366f70c9..c8c2ebef46e 100644
--- a/frontend/src/app/shared/components/resizer/resizer.component.html
+++ b/frontend/src/app/shared/components/resizer/resizer.component.html
@@ -3,4 +3,4 @@
>
</div>
}
-<ng-content></ng-content>
+<ng-content />
diff --git a/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts b/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
index c58c3c7a9ec..6df43ba8a61 100644
--- a/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
+++ b/frontend/src/app/shared/components/resizer/resizer/wp-resizer.component.ts
@@ -41,8 +41,7 @@ import { fromEvent } from 'rxjs';
cursorClass="col-resize"
(resizeFinished)="resizeEnd()"
(resizeStarted)="resizeStart()"
- (move)="resizeMove($event)">
- </op-resizer>
+ (move)="resizeMove($event)" />
`,
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
diff --git a/frontend/src/app/shared/components/storages/file-link-list-item/file-link-list-item.html b/frontend/src/app/shared/components/storages/file-link-list-item/file-link-list-item.html
index fcae8436015..285974c958e 100644
--- a/frontend/src/app/shared/components/storages/file-link-list-item/file-link-list-item.html
+++ b/frontend/src/app/shared/components/storages/file-link-list-item/file-link-list-item.html
@@ -119,10 +119,9 @@
[href]="action.href.url"
[target]="action.href.target"
>
- <ng-container
- [ngTemplateOutlet]="floatingAction"
+ <ng-container [ngTemplateOutlet]="floatingAction"
[ngTemplateOutletContext]="{icon:action.iconClass}"
- ></ng-container>
+ />
</a>
} @else if (!!action.action) {
<button
@@ -130,10 +129,9 @@
[title]="action.title"
(click)="action.action()"
>
- <ng-container
- [ngTemplateOutlet]="floatingAction"
+ <ng-container [ngTemplateOutlet]="floatingAction"
[ngTemplateOutletContext]="{icon:action.iconClass}"
- ></ng-container>
+ />
</button>
}
}
diff --git a/frontend/src/app/shared/components/storages/file-picker-modal/file-picker-modal.component.html b/frontend/src/app/shared/components/storages/file-picker-modal/file-picker-modal.component.html
index 519261e9e24..44897b0b91c 100644
--- a/frontend/src/app/shared/components/storages/file-picker-modal/file-picker-modal.component.html
+++ b/frontend/src/app/shared/components/storages/file-picker-modal/file-picker-modal.component.html
@@ -20,7 +20,7 @@
</div>
}
- <spot-breadcrumbs [content]="breadcrumbs"></spot-breadcrumbs>
+ <spot-breadcrumbs [content]="breadcrumbs" />
@switch (loading$ | async) {
@case ('success') {
@@ -58,7 +58,7 @@
</div>
}
@case ('loading') {
- <op-loading-file-list class="spot-body-small"></op-loading-file-list>
+ <op-loading-file-list class="spot-body-small" />
}
}
</div>
diff --git a/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html b/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html
index f1d299068a7..7938b39876f 100644
--- a/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html
+++ b/frontend/src/app/shared/components/storages/location-picker-modal/location-picker-modal.component.html
@@ -23,7 +23,7 @@
</div>
}
- <spot-breadcrumbs [content]="breadcrumbs"></spot-breadcrumbs>
+ <spot-breadcrumbs [content]="breadcrumbs" />
@switch (loading$ | async) {
@case ('success') {
@@ -60,10 +60,9 @@
</div>
}
@case ('loading') {
- <op-loading-file-list
- class="spot-body-small"
+ <op-loading-file-list class="spot-body-small"
data-test-selector="op-file-list--loading-indicator"
- ></op-loading-file-list>
+ />
}
}
</div>
diff --git a/frontend/src/app/shared/components/storages/storage-file-list-item/storage-file-list-item.html b/frontend/src/app/shared/components/storages/storage-file-list-item/storage-file-list-item.html
index 0b7762d08f3..05b41dd1f6a 100644
--- a/frontend/src/app/shared/components/storages/storage-file-list-item/storage-file-list-item.html
+++ b/frontend/src/app/shared/components/storages/storage-file-list-item/storage-file-list-item.html
@@ -15,11 +15,10 @@
}"
>
@if (!!content.checkbox) {
- <spot-checkbox
- [checked]="content.disabled || content.checkbox.selected"
+ <spot-checkbox [checked]="content.disabled || content.checkbox.selected"
(checkedChange)="content.checkbox.changeSelection()"
[disabled]="content.disabled"
- ></spot-checkbox>
+ />
}
<div class="spot-list--item-title op-file-list--item-title">
@@ -104,13 +103,12 @@
}
@if (!content.isDirectory) {
- <op-principal
- class="op-file-list--item-avatar"
+ <op-principal class="op-file-list--item-avatar"
[principal]="principal"
[hideName]="true"
[size]="'mini'"
[link]="false"
- ></op-principal>
+ />
}
@if (content.isDirectory) {
diff --git a/frontend/src/app/shared/components/storages/storage-information/storage-information.html b/frontend/src/app/shared/components/storages/storage-information/storage-information.html
index 9d1e32e3c1c..b1b037018a5 100644
--- a/frontend/src/app/shared/components/storages/storage-information/storage-information.html
+++ b/frontend/src/app/shared/components/storages/storage-information/storage-information.html
@@ -21,9 +21,8 @@
@if (content.login) {
<div class="button-box">
- <op-storage-login-button
- class="op-files-tab--storage-info-box-button"
+ <op-storage-login-button class="op-files-tab--storage-info-box-button"
[input]="content.login"
- ></op-storage-login-button>
+ />
</div>
}
diff --git a/frontend/src/app/shared/components/storages/storage/storage.component.html b/frontend/src/app/shared/components/storages/storage/storage.component.html
index 3dd7a2bdf02..4dab89574dc 100644
--- a/frontend/src/app/shared/components/storages/storage/storage.component.html
+++ b/frontend/src/app/shared/components/storages/storage/storage.component.html
@@ -22,11 +22,10 @@
</div>
@for (infoBox of storageErrors | async; track infoBox) {
- <op-storage-information
- class="op-files-tab--storage-info-box"
+ <op-storage-information class="op-files-tab--storage-info-box"
data-test-selector="op-storage--information"
[content]="infoBox"
- ></op-storage-information>
+ />
}
<div class="op-file-section">
diff --git a/frontend/src/app/shared/components/table-pagination/table-pagination.component.html b/frontend/src/app/shared/components/table-pagination/table-pagination.component.html
index 0ea76d7dbef..96f12a403df 100644
--- a/frontend/src/app/shared/components/table-pagination/table-pagination.component.html
+++ b/frontend/src/app/shared/components/table-pagination/table-pagination.component.html
@@ -99,7 +99,7 @@
@if (infoText) {
<li class="op-pagination--info"
>
- <op-icon icon-classes="icon-info1 icon-context"></op-icon>
+ <op-icon icon-classes="icon-info1 icon-context" />
<span [textContent]="infoText"></span>
</li>
}
diff --git a/frontend/src/app/shared/components/tabs/scrollable-tabs/scrollable-tabs.component.html b/frontend/src/app/shared/components/tabs/scrollable-tabs/scrollable-tabs.component.html
index 5b500bd8a32..9014d0c970f 100644
--- a/frontend/src/app/shared/components/tabs/scrollable-tabs/scrollable-tabs.component.html
+++ b/frontend/src/app/shared/components/tabs/scrollable-tabs/scrollable-tabs.component.html
@@ -48,10 +48,9 @@
<span [textContent]="tab.name"></span>
@if (counter(tab) | async; as tabCounter) {
@if (tab.showCountAsBubble) {
- <op-tab-count
- [count]="tabCounter"
+ <op-tab-count [count]="tabCounter"
[attr.data-test-selector]="'tab-counter-' + tab.name"
- ></op-tab-count>
+ />
}
@if (tabCounter > 0 && !tab.showCountAsBubble) {
<span
@@ -80,6 +79,6 @@
</div>
</div>
<ul class="op-scrollable-tabs--actions">
- <ng-content select="[slot=actions]"></ng-content>
+ <ng-content select="[slot=actions]" />
</ul>
</div>
diff --git a/frontend/src/app/shared/components/time_entries/edit/trigger-actions-entry.component.ts b/frontend/src/app/shared/components/time_entries/edit/trigger-actions-entry.component.ts
index 8b2e6a933d7..e2ac9a8bd5c 100644
--- a/frontend/src/app/shared/components/time_entries/edit/trigger-actions-entry.component.ts
+++ b/frontend/src/app/shared/components/time_entries/edit/trigger-actions-entry.component.ts
@@ -17,12 +17,12 @@ import { TurboRequestsService } from 'core-app/core/turbo/turbo-requests.service
<a (click)="editTimeEntry()"
[title]="text.edit"
class="no-decoration-on-hover">
- <op-icon icon-classes="icon-context icon-edit"></op-icon>
+ <op-icon icon-classes="icon-context icon-edit" />
</a>
<a (click)="deleteTimeEntry()"
[title]="text.delete"
class="no-decoration-on-hover">
- <op-icon icon-classes="icon-context icon-delete"></op-icon>
+ <op-icon icon-classes="icon-context icon-delete" />
</a>
`,
changeDetection: ChangeDetectionStrategy.OnPush,
diff --git a/frontend/src/app/shared/components/toaster/toast.component.html b/frontend/src/app/shared/components/toaster/toast.component.html
index 5465baba9b4..1feff4c6a5c 100644
--- a/frontend/src/app/shared/components/toaster/toast.component.html
+++ b/frontend/src/app/shared/components/toaster/toast.component.html
@@ -41,12 +41,10 @@
@if (data && data.length > 0) {
<ul class="op-toast--uploads">
@for (upload of data; track upload) {
- <op-toasters-upload-progress
- [file]="upload[0]"
+ <op-toasters-upload-progress [file]="upload[0]"
[upload]="upload[1]"
(uploadSuccess)="onUploadSuccess()"
- (uploadError)="remove()">
- </op-toasters-upload-progress>
+ (uploadError)="remove()" />
}
</ul>
}
diff --git a/frontend/src/app/shared/components/toaster/toasts-container.component.ts b/frontend/src/app/shared/components/toaster/toasts-container.component.ts
index 6c941060999..38d91529191 100644
--- a/frontend/src/app/shared/components/toaster/toasts-container.component.ts
+++ b/frontend/src/app/shared/components/toaster/toasts-container.component.ts
@@ -36,7 +36,7 @@ import { IToast, ToastService } from './toast.service';
<div class="op-toast--wrapper">
<div class="op-toast--casing">
@for (toast of stack; track toast) {
- <op-toast [toast]="toast"></op-toast>
+ <op-toast [toast]="toast" />
}
</div>
</div>
diff --git a/frontend/src/app/shared/components/toaster/upload-progress.component.ts b/frontend/src/app/shared/components/toaster/upload-progress.component.ts
index 9ef04dd87ee..3fd989ce845 100644
--- a/frontend/src/app/shared/components/toaster/upload-progress.component.ts
+++ b/frontend/src/app/shared/components/toaster/upload-progress.component.ts
@@ -58,10 +58,10 @@ import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destr
@if (completed || error) {
<span class="upload-completed">
@if (error) {
- <op-icon icon-classes="icon-close"></op-icon>
+ <op-icon icon-classes="icon-close" />
}
@if (completed) {
- <op-icon icon-classes="icon-checkmark"></op-icon>
+ <op-icon icon-classes="icon-checkmark" />
}
</span>
}
diff --git a/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab-inner.component.html b/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab-inner.component.html
index 5242438d03b..3edca30981b 100644
--- a/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab-inner.component.html
+++ b/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab-inner.component.html
@@ -1,5 +1,4 @@
@if (!!filters) {
- <op-query-filters
- (filtersChanged)="filters = $event"
- [filters]="filters"></op-query-filters>
+ <op-query-filters (filtersChanged)="filters = $event"
+ [filters]="filters" />
}
diff --git a/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab.component.html b/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab.component.html
index 4fd0c091669..61ef7b56ee3 100644
--- a/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab.component.html
+++ b/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/filters-tab.component.html
@@ -1 +1 @@
-<op-filters-tab-inner #tabInner></op-filters-tab-inner>
+<op-filters-tab-inner #tabInner />
diff --git a/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/settings-tab.component.html b/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/settings-tab.component.html
index 7c5393e95bf..2641a772219 100644
--- a/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/settings-tab.component.html
+++ b/frontend/src/app/shared/components/work-package-graphs/configuration-modal/tabs/settings-tab.component.html
@@ -1 +1 @@
-<op-settings-tab-inner #tabInner></op-settings-tab-inner>
+<op-settings-tab-inner #tabInner />
diff --git a/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.html b/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.html
index 0f8dfc10a77..333eeec0197 100644
--- a/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.html
+++ b/frontend/src/app/shared/components/work-package-graphs/embedded/wp-embedded-graph.html
@@ -11,8 +11,6 @@
</canvas>
}
@if (!hasDataToDisplay && initialized) {
- <op-no-results
- [title]="text.noResults">
- </op-no-results>
+ <op-no-results [title]="text.noResults" />
}
</div>
diff --git a/frontend/src/app/shared/components/work-package-graphs/overview/wp-overview-graph.template.html b/frontend/src/app/shared/components/work-package-graphs/overview/wp-overview-graph.template.html
index 0895132f037..86aba6c6057 100644
--- a/frontend/src/app/shared/components/work-package-graphs/overview/wp-overview-graph.template.html
+++ b/frontend/src/app/shared/components/work-package-graphs/overview/wp-overview-graph.template.html
@@ -18,14 +18,12 @@
<op-wp-embedded-graph #wpEmbeddedGraphMulti
[datasets]="datasets"
[chartOptions]="chartOptions"
- >
- </op-wp-embedded-graph>
+ />
}
@if (displaySingle) {
<op-wp-embedded-graph #wpEmbeddedGraphSingle
[datasets]="datasets"
[chartOptions]="chartOptions"
- >
- </op-wp-embedded-graph>
+ />
}
diff --git a/frontend/src/app/spot/components/breadcrumbs/breadcrumbs.component.html b/frontend/src/app/spot/components/breadcrumbs/breadcrumbs.component.html
index dddaafd0505..fc95a432c33 100644
--- a/frontend/src/app/spot/components/breadcrumbs/breadcrumbs.component.html
+++ b/frontend/src/app/spot/components/breadcrumbs/breadcrumbs.component.html
@@ -16,7 +16,7 @@
(click)="crumb.navigate()"
>
@if (crumb.icon) {
- <ng-container [ngTemplateOutlet]="crumbIcon" [ngTemplateOutletContext]="{icon:crumb.icon}"></ng-container>
+ <ng-container [ngTemplateOutlet]="crumbIcon" [ngTemplateOutletContext]="{icon:crumb.icon}" />
}
<span [textContent]="crumb.text" class="spot-breadcrumbs--crumb-action-item-text"></span>
@@ -36,7 +36,7 @@
@if (last) {
<div class="spot-breadcrumbs--crumb spot-breadcrumbs--crumb_last" data-test-selector="op-breadcrumb">
@if (crumb.icon) {
- <ng-container [ngTemplateOutlet]="crumbIcon" [ngTemplateOutletContext]="{icon:crumb.icon}"></ng-container>
+ <ng-container [ngTemplateOutlet]="crumbIcon" [ngTemplateOutletContext]="{icon:crumb.icon}" />
}
<span class="spot-breadcrumbs--crumb-action-item-text" [textContent]="crumb.text"></span>
diff --git a/frontend/src/app/spot/components/drop-modal/drop-modal-portal.component.ts b/frontend/src/app/spot/components/drop-modal/drop-modal-portal.component.ts
index a9908a3ad4c..1e1289370d8 100644
--- a/frontend/src/app/spot/components/drop-modal/drop-modal-portal.component.ts
+++ b/frontend/src/app/spot/components/drop-modal/drop-modal-portal.component.ts
@@ -11,7 +11,7 @@ import { UntilDestroyedMixin } from 'core-app/shared/helpers/angular/until-destr
@Component({
selector: 'opce-spot-drop-modal-portal',
- template: '<ng-container *ngTemplateOutlet="template"></ng-container>',
+ template: '<ng-container *ngTemplateOutlet="template" />',
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
diff --git a/frontend/src/app/spot/components/drop-modal/drop-modal.component.html b/frontend/src/app/spot/components/drop-modal/drop-modal.component.html
index f459eead2e6..a3ead11d95b 100644
--- a/frontend/src/app/spot/components/drop-modal/drop-modal.component.html
+++ b/frontend/src/app/spot/components/drop-modal/drop-modal.component.html
@@ -1,4 +1,4 @@
-<ng-content select="[slot=trigger]"></ng-content>
+<ng-content select="[slot=trigger]" />
<span
tabindex="0"
#focusGrabber
@@ -16,7 +16,7 @@
cdkTrapFocus
tabindex="0"
>
- <ng-content select="[slot=body]"></ng-content>
+ <ng-content select="[slot=body]" />
<button
class="spot-drop-modal--close-button spot-button"
type="button"
diff --git a/frontend/src/app/spot/components/form-field/form-field.component.html b/frontend/src/app/spot/components/form-field/form-field.component.html
index 34caa7ea320..301680f3e65 100644
--- a/frontend/src/app/spot/components/form-field/form-field.component.html
+++ b/frontend/src/app/spot/components/form-field/form-field.component.html
@@ -13,31 +13,31 @@
@if (required) {
<span class="spot-form-field--label-indicator">*</span>
}
- <ng-content select="[slot=help-text]"></ng-content>
+ <ng-content select="[slot=help-text]" />
</div>
@if (!noWrapLabel) {
- <ng-container *ngTemplateOutlet="inputTemplate"></ng-container>
+ <ng-container *ngTemplateOutlet="inputTemplate" />
}
</label>
@if (noWrapLabel) {
- <ng-container *ngTemplateOutlet="inputTemplate"></ng-container>
+ <ng-container *ngTemplateOutlet="inputTemplate" />
}
<div
class="spot-form-field--description"
[id]="descriptionID"
>
- <ng-content select="[slot=description]"></ng-content>
+ <ng-content select="[slot=description]" />
</div>
@if (showErrorMessage) {
<div
class="spot-form-field--errors"
[id]="errorsID"
>
- <ng-content select="[slot=errors]"></ng-content>
+ <ng-content select="[slot=errors]" />
</div>
}
<div class="spot-form-field--actions">
- <ng-content select="[slot=action]"></ng-content>
+ <ng-content select="[slot=action]" />
</div>
}
@@ -46,6 +46,6 @@
class="spot-form-field--input"
[attr.aria-describedby]="describedByID"
>
- <ng-content select="[slot=input]"></ng-content>
+ <ng-content select="[slot=input]" />
</div>
</ng-template>
diff --git a/frontend/src/app/spot/components/selector-field/selector-field.component.html b/frontend/src/app/spot/components/selector-field/selector-field.component.html
index 25c36d99368..950e714fb57 100644
--- a/frontend/src/app/spot/components/selector-field/selector-field.component.html
+++ b/frontend/src/app/spot/components/selector-field/selector-field.component.html
@@ -9,7 +9,7 @@
[ngClass]="{ 'spot-selector-field--input_reversed': reverseLabel }"
[attr.aria-describedby]="describedByID"
>
- <ng-content select="[slot=input]"></ng-content>
+ <ng-content select="[slot=input]" />
</div>
@if (label) {
<div
@@ -27,7 +27,7 @@
@if (required) {
<span class="spot-form-field--label-indicator">*</span>
}
- <ng-content select="[slot=help-text]"></ng-content>
+ <ng-content select="[slot=help-text]" />
</div>
}
</label>
@@ -35,14 +35,14 @@
class="spot-form-field--description"
[id]="descriptionID"
>
- <ng-content select="[slot=description]"></ng-content>
+ <ng-content select="[slot=description]" />
</div>
@if (showErrorMessage) {
<div
class="spot-form-field--errors"
[id]="errorsID"
>
- <ng-content select="[slot=errors]"></ng-content>
+ <ng-content select="[slot=errors]" />
</div>
}
}
diff --git a/frontend/src/app/spot/components/text-field/text-field.component.html b/frontend/src/app/spot/components/text-field/text-field.component.html
index aac7c5a4c77..0b4c9be34fb 100644
--- a/frontend/src/app/spot/components/text-field/text-field.component.html
+++ b/frontend/src/app/spot/components/text-field/text-field.component.html
@@ -1,4 +1,4 @@
-<ng-content select="[slot=before]"></ng-content>
+<ng-content select="[slot=before]" />
<input
class="spot-text-field--input"
[attr.name]="name"
@@ -22,4 +22,4 @@
<span class="spot-icon spot-icon_close"></span>
</button>
}
-<ng-content select="[slot=after]"></ng-content>
+<ng-content select="[slot=after]" />
diff --git a/frontend/src/app/spot/components/tooltip/tooltip.component.html b/frontend/src/app/spot/components/tooltip/tooltip.component.html
index 34c6e5771d9..7d7d3d34ae3 100644
--- a/frontend/src/app/spot/components/tooltip/tooltip.component.html
+++ b/frontend/src/app/spot/components/tooltip/tooltip.component.html
@@ -1,8 +1,8 @@
-<ng-content select="[slot=trigger]"></ng-content>
+<ng-content select="[slot=trigger]" />
@if (!disabled) {
<div
[ngClass]="['spot-tooltip--body', 'spot-container', alignmentClass]"
>
- <ng-content select="[slot=body]"></ng-content>
+ <ng-content select="[slot=body]" />
</div>
}
diff --git a/modules/github_integration/frontend/module/github-tab/github-tab.template.html b/modules/github_integration/frontend/module/github-tab/github-tab.template.html
index 2ebfb2935f1..00b5dc861ba 100644
--- a/modules/github_integration/frontend/module/github-tab/github-tab.template.html
+++ b/modules/github_integration/frontend/module/github-tab/github-tab.template.html
@@ -1,2 +1,2 @@
-<tab-header [workPackage]="workPackage"></tab-header>
-<op-tab-prs [workPackage]="workPackage"></op-tab-prs>
+<tab-header [workPackage]="workPackage" />
+<op-tab-prs [workPackage]="workPackage" />
diff --git a/modules/github_integration/frontend/module/pull-request/pull-request-macro.component.html b/modules/github_integration/frontend/module/pull-request/pull-request-macro.component.html
index 5fa8862f55d..500fde3fb51 100644
--- a/modules/github_integration/frontend/module/pull-request/pull-request-macro.component.html
+++ b/modules/github_integration/frontend/module/pull-request/pull-request-macro.component.html
@@ -2,11 +2,10 @@
<div
class="op-pull-request-macro"
>
- <op-github-pull-request-state
- class="op-pull-request-macro--state"
+ <op-github-pull-request-state class="op-pull-request-macro--state"
[small]="true"
[state]="pullRequestState"
- ></op-github-pull-request-state>
+ />
<span [innerHTML]="displayText$ | async"></span>
</div>
} @else {
diff --git a/modules/github_integration/frontend/module/pull-request/pull-request-state.component.html b/modules/github_integration/frontend/module/pull-request/pull-request-state.component.html
index 182d926c680..e630df011d8 100644
--- a/modules/github_integration/frontend/module/pull-request/pull-request-state.component.html
+++ b/modules/github_integration/frontend/module/pull-request/pull-request-state.component.html
@@ -2,6 +2,6 @@
class="op-pull-request-state"
[class.op-pull-request-state_small]="small"
[ngClass]="'op-pull-request-state_' + state">
- <op-icon icon-classes="button--icon icon-merge-branch"></op-icon>
+ <op-icon icon-classes="button--icon icon-merge-branch" />
{{displayText}}
</span>
diff --git a/modules/github_integration/frontend/module/pull-request/pull-request.component.html b/modules/github_integration/frontend/module/pull-request/pull-request.component.html
index 9ef7085b243..2c3d318ca49 100644
--- a/modules/github_integration/frontend/module/pull-request/pull-request.component.html
+++ b/modules/github_integration/frontend/module/pull-request/pull-request.component.html
@@ -32,14 +32,12 @@
<span class='op-pull-request--date'>
{{ text.label_last_updated_on }}
- <op-date-time [dateTimeValue]="pullRequest.githubUpdatedAt"></op-date-time>
+ <op-date-time [dateTimeValue]="pullRequest.githubUpdatedAt" />
</span>.
</div>
-<op-github-pull-request-state
- class='op-pull-request--state'
- [state]="state">
-</op-github-pull-request-state>
+<op-github-pull-request-state class='op-pull-request--state'
+ [state]="state" />
@if (pullRequest._embedded.checkRuns?.length) {
<span class="op-pull-request--checks-label"
@@ -56,7 +54,7 @@
<li class='op-pr-check'>
<span class='op-pr-check--state-icon' [ngClass]="'op-pr-check--state-icon_' + checkRunState(checkRun)">
<op-icon icon-classes="icon-{{ checkRunStateIcon(checkRun) }}"
- [icon-title]="checkRunStateText(checkRun)"></op-icon>
+ [icon-title]="checkRunStateText(checkRun)" />
</span>
<span class='op-pr-check--avatar'><img alt='app owner avatar' [src]="checkRun.appOwnerAvatarUrl"/></span>
<span class='op-pr-check--info'>
diff --git a/modules/github_integration/frontend/module/tab-header/tab-header.template.html b/modules/github_integration/frontend/module/tab-header/tab-header.template.html
index a26ea6faee5..11e3aed589c 100644
--- a/modules/github_integration/frontend/module/tab-header/tab-header.template.html
+++ b/modules/github_integration/frontend/module/tab-header/tab-header.template.html
@@ -1,6 +1,6 @@
<div class="github-pr-header op-tab-content--header">
<h3 class="title">
- <op-icon icon-classes="button--icon icon-merge-branch"></op-icon>
+ <op-icon icon-classes="button--icon icon-merge-branch" />
{{text.title}}
</h3>
<ul class="toolbar-items hide-when-print">
@@ -10,11 +10,11 @@
[attr.aria-label]="text.gitMenuDescription"
gitActionsCopyDropdown
[gitActionsCopyDropdown-workPackage]="workPackage">
- <op-icon icon-classes="button--icon icon-console-light"></op-icon>
+ <op-icon icon-classes="button--icon icon-console-light" />
<span class="button--text"
[textContent]="text.gitMenuLabel"
aria-hidden="true"></span>
- <op-icon icon-classes="button--icon icon-small icon-pulldown hidden-for-mobile"></op-icon>
+ <op-icon icon-classes="button--icon icon-small icon-pulldown hidden-for-mobile" />
</button>
</li>
</ul>
diff --git a/modules/github_integration/frontend/module/tab-prs/tab-prs.component.html b/modules/github_integration/frontend/module/tab-prs/tab-prs.component.html
index edb4029c9f7..9c8392d757d 100644
--- a/modules/github_integration/frontend/module/tab-prs/tab-prs.component.html
+++ b/modules/github_integration/frontend/module/tab-prs/tab-prs.component.html
@@ -6,7 +6,6 @@
}
@for (pullRequest of (pullRequests$ | async); track pullRequest) {
- <op-github-pull-request
- [pullRequest]="pullRequest"
- ></op-github-pull-request>
+ <op-github-pull-request [pullRequest]="pullRequest"
+ />
}
diff --git a/modules/gitlab_integration/frontend/module/git-actions-menu/git-actions-menu.template.html b/modules/gitlab_integration/frontend/module/git-actions-menu/git-actions-menu.template.html
index 7cde6649298..649db311f0a 100644
--- a/modules/gitlab_integration/frontend/module/git-actions-menu/git-actions-menu.template.html
+++ b/modules/gitlab_integration/frontend/module/git-actions-menu/git-actions-menu.template.html
@@ -11,7 +11,7 @@
type="button"
[attr.aria-label]="text.copyButtonHelpText"
(click)="onCopyButtonClick(snippet)">
- <op-icon icon-classes="button--icon icon-copy"></op-icon>
+ <op-icon icon-classes="button--icon icon-copy" />
</button>
@if (showCopyResult && snippet.id === copiedSnippetId) {
<div class="copy-result-message" [textContent]="lastCopyResult"></div>
diff --git a/modules/gitlab_integration/frontend/module/gitlab-tab/gitlab-tab.template.html b/modules/gitlab_integration/frontend/module/gitlab-tab/gitlab-tab.template.html
index 88d9165e126..49c98651363 100644
--- a/modules/gitlab_integration/frontend/module/gitlab-tab/gitlab-tab.template.html
+++ b/modules/gitlab_integration/frontend/module/gitlab-tab/gitlab-tab.template.html
@@ -1,7 +1,7 @@
-<tab-header-issue class="gitlab-header" [workPackage]="workPackage"></tab-header-issue>
-<tab-issue [workPackage]="workPackage"></tab-issue>
-<tab-header-mr class="gitlab-header" [workPackage]="workPackage"></tab-header-mr>
-<tab-mrs [workPackage]="workPackage"></tab-mrs>
+<tab-header-issue class="gitlab-header" [workPackage]="workPackage" />
+<tab-issue [workPackage]="workPackage" />
+<tab-header-mr class="gitlab-header" [workPackage]="workPackage" />
+<tab-mrs [workPackage]="workPackage" />
<script>
document.addEventListener('DOMContentLoaded', function () {
diff --git a/modules/gitlab_integration/frontend/module/issue/issue.component.html b/modules/gitlab_integration/frontend/module/issue/issue.component.html
index 2417e08de71..cbcc5195077 100644
--- a/modules/gitlab_integration/frontend/module/issue/issue.component.html
+++ b/modules/gitlab_integration/frontend/module/issue/issue.component.html
@@ -40,7 +40,7 @@
</span>
<span class='op-issue--date'>
{{ text.label_last_updated_on }}
- <op-date-time [dateTimeValue]="gitlabIssue.gitlabUpdatedAt"></op-date-time>
+ <op-date-time [dateTimeValue]="gitlabIssue.gitlabUpdatedAt" />
</span>.
</div>
diff --git a/modules/gitlab_integration/frontend/module/merge-request/merge-request.component.html b/modules/gitlab_integration/frontend/module/merge-request/merge-request.component.html
index 105f7b13f13..f4f300873ce 100644
--- a/modules/gitlab_integration/frontend/module/merge-request/merge-request.component.html
+++ b/modules/gitlab_integration/frontend/module/merge-request/merge-request.component.html
@@ -86,7 +86,7 @@
</span>
<span class='op-merge-request--date'>
{{ text.label_last_updated_on }}
- <op-date-time [dateTimeValue]="mergeRequest.gitlabUpdatedAt"></op-date-time>
+ <op-date-time [dateTimeValue]="mergeRequest.gitlabUpdatedAt" />
</span>.
</div>
diff --git a/modules/gitlab_integration/frontend/module/tab-header-mr/tab-header-mr.template.html b/modules/gitlab_integration/frontend/module/tab-header-mr/tab-header-mr.template.html
index 376bae1ad5b..2aa31bf4e40 100644
--- a/modules/gitlab_integration/frontend/module/tab-header-mr/tab-header-mr.template.html
+++ b/modules/gitlab_integration/frontend/module/tab-header-mr/tab-header-mr.template.html
@@ -10,11 +10,11 @@
[attr.aria-label]="text.gitMenuDescription"
gitActionsCopyDropdown
[gitActionsCopyDropdown-workPackage]="workPackage">
- <op-icon icon-classes="button--icon icon-console-light"></op-icon>
+ <op-icon icon-classes="button--icon icon-console-light" />
<span class="button--text"
[textContent]="text.gitMenuLabel"
aria-hidden="true"></span>
- <op-icon icon-classes="button--icon icon-small icon-pulldown hidden-for-mobile"></op-icon>
+ <op-icon icon-classes="button--icon icon-small icon-pulldown hidden-for-mobile" />
</button>
</li>
</ul>
diff --git a/modules/gitlab_integration/frontend/module/tab-issue/tab-issue.template.html b/modules/gitlab_integration/frontend/module/tab-issue/tab-issue.template.html
index 12e9a7cf5fa..853c9a1f526 100644
--- a/modules/gitlab_integration/frontend/module/tab-issue/tab-issue.template.html
+++ b/modules/gitlab_integration/frontend/module/tab-issue/tab-issue.template.html
@@ -6,5 +6,5 @@
}
@for (gitlabIssue of gitlabIssues; track gitlabIssue) {
- <gitlab-issue [gitlabIssue]="gitlabIssue"></gitlab-issue>
+ <gitlab-issue [gitlabIssue]="gitlabIssue" />
}
diff --git a/modules/gitlab_integration/frontend/module/tab-mrs/tab-mrs.template.html b/modules/gitlab_integration/frontend/module/tab-mrs/tab-mrs.template.html
index ec695e0792c..d1188cb23bd 100644
--- a/modules/gitlab_integration/frontend/module/tab-mrs/tab-mrs.template.html
+++ b/modules/gitlab_integration/frontend/module/tab-mrs/tab-mrs.template.html
@@ -6,5 +6,5 @@
}
@for (mergeRequest of mergeRequests; track mergeRequest) {
- <gitlab-merge-request [mergeRequest]="mergeRequest"></gitlab-merge-request>
+ <gitlab-merge-request [mergeRequest]="mergeRequest" />
}