diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-detail/dot-apps-configuration-detail-form/dot-apps-configuration-detail-form.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-detail/dot-apps-configuration-detail-form/dot-apps-configuration-detail-form.component.html index 2e18bf05a80d..eb7c734574eb 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-detail/dot-apps-configuration-detail-form/dot-apps-configuration-detail-form.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-detail/dot-apps-configuration-detail-form/dot-apps-configuration-detail-form.component.html @@ -8,9 +8,9 @@ - +
- {{ field.hint }} + + {{ field.hint }} + - {{ field.hint }} + + {{ field.hint }} + - {{ field.hint }} + + {{ field.hint }} + - {{ field.hint }} + + {{ field.hint }} +
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-detail/dot-apps-configuration-detail-form/dot-apps-configuration-detail-form.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-detail/dot-apps-configuration-detail-form/dot-apps-configuration-detail-form.component.spec.ts index 6854f37138c3..ab89ca508587 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-detail/dot-apps-configuration-detail-form/dot-apps-configuration-detail-form.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-detail/dot-apps-configuration-detail-form/dot-apps-configuration-detail-form.component.spec.ts @@ -14,7 +14,7 @@ import { InputTextModule } from 'primeng/inputtext'; import { InputTextareaModule } from 'primeng/inputtextarea'; import { TooltipModule } from 'primeng/tooltip'; -import { DotIconModule, DotFieldRequiredDirective } from '@dotcms/ui'; +import { DotFieldRequiredDirective, DotIconModule } from '@dotcms/ui'; import { DotAppsConfigurationDetailFormComponent } from './dot-apps-configuration-detail-form.component'; @@ -107,7 +107,9 @@ const formState = { @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'markdown', - template: `` + template: ` + + ` }) class MockMarkdownComponent {} @@ -170,7 +172,9 @@ describe('DotAppsConfigurationDetailFormComponent', () => { it('should load Label, Textarea & Hint with right attributes', () => { const row = de.query(By.css('[data-testid="name"]')); expect(row.query(By.css('markdown'))).toBeTruthy(); - expect(row.query(By.css('label')).nativeElement.textContent).toBe(secrets[0].label); + expect(row.query(By.css('label')).nativeElement.textContent.trim()).toBe( + secrets[0].label + ); expect( row .query(By.css('label')) @@ -204,7 +208,9 @@ describe('DotAppsConfigurationDetailFormComponent', () => { it('should load Label, Select & Hint with right attributes', () => { const row = de.query(By.css('[data-testid="select"]')); expect(row.query(By.css('markdown'))).toBeTruthy(); - expect(row.query(By.css('label')).nativeElement.textContent).toBe(secrets[3].label); + expect(row.query(By.css('label')).nativeElement.textContent.trim()).toBe( + secrets[3].label + ); expect(row.query(By.css('p-dropdown')).nativeElement.id).toBe(secrets[3].name); expect(row.query(By.css('p-dropdown')).componentInstance.options).toBe( secrets[3].options @@ -219,7 +225,9 @@ describe('DotAppsConfigurationDetailFormComponent', () => { it('should load Label, Button & Hint with right attributes', () => { const row = de.query(By.css('[data-testid="integration"]')); - expect(row.query(By.css('label')).nativeElement.textContent).toBe(secrets[4].label); + expect(row.query(By.css('label')).nativeElement.textContent.trim()).toBe( + secrets[4].label + ); expect(row.query(By.css('button')).nativeElement.id).toBe(secrets[4].name); expect(row.query(By.css('.form__group-hint')).nativeElement.textContent).toBe( secrets[4].hint diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-header/dot-apps-configuration-header.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-header/dot-apps-configuration-header.component.html index 89f2d8325982..cccd35c0d4a4 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-header/dot-apps-configuration-header.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-header/dot-apps-configuration-header.component.html @@ -15,8 +15,8 @@

- {{ + + {{ app.configurationsCount ? app.configurationsCount + ' ' + ('apps.configurations' | dm) : ('apps.no.configurations' | dm) @@ -31,12 +31,12 @@

{{ + class="dot-apps-configuration__description__link_show-more"> + {{ showMore ? ('apps.confirmation.description.show.less' | dm) : ('apps.confirmation.description.show.more' | dm) - }} + }} + diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-header/dot-apps-configuration-header.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-header/dot-apps-configuration-header.component.spec.ts index bbbff701b063..59aa8ebd9db3 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-header/dot-apps-configuration-header.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration-header/dot-apps-configuration-header.component.spec.ts @@ -16,7 +16,9 @@ import { MockDotMessageService, MockDotRouterService } from '@dotcms/utils-testi import { DotAppsConfigurationHeaderComponent } from './dot-apps-configuration-header.component'; @Component({ - template: `` + template: ` + + ` }) class TestHostComponent { app: DotApp; diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration/dot-apps-configuration-list/dot-apps-configuration-item/dot-apps-configuration-item.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration/dot-apps-configuration-list/dot-apps-configuration-item/dot-apps-configuration-item.component.html index 52a40390e1ba..544c559e378e 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration/dot-apps-configuration-list/dot-apps-configuration-item/dot-apps-configuration-item.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-configuration/dot-apps-configuration-list/dot-apps-configuration-item/dot-apps-configuration-item.component.html @@ -41,6 +41,5 @@ (click)="editConfigurationSite($event, site)" styleClass="p-button-text p-button-rounded p-button-sm" icon="pi pi-plus" - data-testId="add"> - + data-testId="add"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-list/dot-apps-card/dot-apps-card.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-list/dot-apps-card/dot-apps-card.component.spec.ts index a5b61bdc7fe8..3876d77c1bb9 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-list/dot-apps-card/dot-apps-card.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-list/dot-apps-card/dot-apps-card.component.spec.ts @@ -16,7 +16,9 @@ import { DotAppsCardComponent } from './dot-apps-card.component'; @Component({ // eslint-disable-next-line @angular-eslint/component-selector selector: 'markdown', - template: `` + template: ` + + ` }) class MockMarkdownComponent {} diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-list/dot-apps-list.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-list/dot-apps-list.component.html index 177f69061088..43b68f56e2c2 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-list/dot-apps-list.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-apps/dot-apps-list/dot-apps-list.component.html @@ -1,7 +1,7 @@ -
+ +
- + + + - + class="listing-categories__action-button"> @@ -162,8 +160,7 @@ [title]="'message.category.empty.title' | dm" [content]="'message.category.empty.content' | dm" [buttonLabel]="'message.category.empty.button.label' | dm" - icon="web"> - + icon="web"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-categories/dot-categories-list/dot-categories-list.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-categories/dot-categories-list/dot-categories-list.component.spec.ts index f30babb78201..072ff41aefc2 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-categories/dot-categories-list/dot-categories-list.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-categories/dot-categories-list/dot-categories-list.component.spec.ts @@ -36,7 +36,9 @@ import { DotCategoriesListComponent } from './dot-categories-list.component'; @Component({ selector: 'dot-test-host-component', - template: ` ` + template: ` + + ` }) class TestHostComponent {} diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/container-list/container-list.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/container-list/container-list.component.html index 2f86e90bcf6e..89d6b9948a79 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/container-list/container-list.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/container-list/container-list.component.html @@ -92,19 +92,16 @@ {{ rowData.name }} - - - {{ - rowData.path - }} + + - + {{ rowData.path }} + - + size="14px"> {{ rowData.friendlyName }} @@ -118,8 +115,7 @@ [attr.data-testid]="rowData.identifier" [actions]="setContainerActions(rowData)" [item]="rowData" - class="listing-datatable__action-button"> - + class="listing-datatable__action-button"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-history/dot-container-history.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-history/dot-container-history.component.spec.ts index 10894b8e99f9..0604172b076f 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-history/dot-container-history.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-history/dot-container-history.component.spec.ts @@ -17,7 +17,9 @@ export class IframeMockComponent { @Component({ selector: `dot-host-component`, - template: `` + template: ` + + ` }) class DotTestHostComponent { containerId = ''; diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-permissions/dot-container-permissions.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-permissions/dot-container-permissions.component.spec.ts index 531bbbbec8d4..616aa90bd0bc 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-permissions/dot-container-permissions.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-permissions/dot-container-permissions.component.spec.ts @@ -17,7 +17,9 @@ export class IframeMockComponent { @Component({ selector: `dot-host-component`, - template: `` + template: ` + + ` }) class DotTestHostComponent { containerId = ''; diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-properties/dot-container-properties.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-properties/dot-container-properties.component.html index 044d481d1561..78200f56d966 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-properties/dot-container-properties.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-containers/dot-container-create/dot-container-properties/dot-container-properties.component.html @@ -18,9 +18,9 @@
- +
- +
- +
- + ` + template: ` + + ` }) class DotTestHostComponent { isEditorVisible = true; diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/components/dot-block-editor-sidebar/dot-block-editor-sidebar.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/components/dot-block-editor-sidebar/dot-block-editor-sidebar.component.html index 93a5cd7c2956..64816009c372 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/components/dot-block-editor-sidebar/dot-block-editor-sidebar.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/components/dot-block-editor-sidebar/dot-block-editor-sidebar.component.html @@ -15,8 +15,7 @@ [languageId]="blockEditorInput.languageId" [showVideoThumbnail]="showVideoThumbnail" [value]="blockEditorInput.content" - #blockEditor> - + #blockEditor>

- + class="flex w-full gap-2"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-view-as-controller/dot-edit-page-view-as-controller.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-view-as-controller/dot-edit-page-view-as-controller.component.spec.ts index ee19de0a5a99..9bc317e71c11 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-view-as-controller/dot-edit-page-view-as-controller.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-view-as-controller/dot-edit-page-view-as-controller.component.spec.ts @@ -48,8 +48,10 @@ import { DotEditPageViewAsControllerComponent } from './dot-edit-page-view-as-co @Component({ selector: 'dot-test-host', - template: ` ` + template: ` + + ` }) class DotTestHostComponent { @Input() diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-workflows-actions/dot-edit-page-workflows-actions.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-workflows-actions/dot-edit-page-workflows-actions.component.html index 3b8af52d3e6d..6976f74636ea 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-workflows-actions/dot-edit-page-workflows-actions.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-workflows-actions/dot-edit-page-workflows-actions.component.html @@ -2,7 +2,6 @@ (click)="menu.toggle($event)" [disabled]="!actionsAvailable" icon="pi pi-ellipsis-v" - styleClass=" p-button-rounded"> - + styleClass=" p-button-rounded"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-workflows-actions/dot-edit-page-workflows-actions.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-workflows-actions/dot-edit-page-workflows-actions.component.spec.ts index 7c589a967104..5ed8ca1181dc 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-workflows-actions/dot-edit-page-workflows-actions.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-edit-page-workflows-actions/dot-edit-page-workflows-actions.component.spec.ts @@ -57,7 +57,9 @@ import { DotEditPageWorkflowsActionsComponent } from './dot-edit-page-workflows- @Component({ selector: 'dot-test-host-component', - template: ` ` + template: ` + + ` }) class TestHostComponent { @Input() page: DotPage; diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-form-selector/dot-form-selector.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-form-selector/dot-form-selector.component.spec.ts index ee93b36c5e8f..b36b47c61d12 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-form-selector/dot-form-selector.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/components/dot-form-selector/dot-form-selector.component.spec.ts @@ -36,7 +36,9 @@ const mockContentType: DotCMSContentType = { }; @Component({ - template: ` ` + template: ` + + ` }) class TestHostComponent { show = false; diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/dot-edit-content.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/dot-edit-content.component.html index 057bb9a4607c..316e0585c30d 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/dot-edit-content.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/content/dot-edit-content.component.html @@ -100,8 +100,9 @@ [class.collapsed]="paletteCollapsed" [class.editMode]="isEditMode" class="dot-edit-content__palette"> - - +
- + [url]="pageState.page.pageURI"> - {{ item.label }} + + {{ item.label }} @@ -26,9 +26,9 @@ class="edit-page-nav__item edit-page-nav__item--disabled" tooltipPosition="left"> - {{ - item.label - }} + + {{ item.label }} + diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/main/dot-edit-page-nav/dot-edit-page-nav.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/main/dot-edit-page-nav/dot-edit-page-nav.component.spec.ts index 04c3ed7a1777..9eb96b106701 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/main/dot-edit-page-nav/dot-edit-page-nav.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/main/dot-edit-page-nav/dot-edit-page-nav.component.spec.ts @@ -59,6 +59,7 @@ export class MockDotPropertiesService { getKey(): Observable { return observableOf(true); } + getFeatureFlag(): Observable { return observableOf(true); } @@ -66,7 +67,9 @@ export class MockDotPropertiesService { @Component({ selector: 'dot-test-host-component', - template: ` ` + template: ` + + ` }) class TestHostComponent { @Input() @@ -284,7 +287,7 @@ describe('DotEditPageNavComponent', () => { const labels = ['Layout', 'Rules', 'Experiments']; menuListItems.forEach((item, index) => { const label = item.query(By.css('.edit-page-nav__item-text')); - expect(label.nativeElement.textContent).toBe(labels[index]); + expect(label.nativeElement.textContent.trim()).toBe(labels[index]); expect(item.nativeElement.getAttribute('ng-reflect-text')).toBe( 'Enterprise only' @@ -382,7 +385,7 @@ describe('DotEditPageNavComponent', () => { const label = menuListItems[4].query(By.css('[data-testId="menuListItemText"]')) .nativeElement.innerHTML; expect(MATERIAL_ICON_NAME).toEqual(iconClass); - expect('Experiments').toEqual(label); + expect('Experiments').toEqual(label.trim()); }); }); describe('experiments feature flag false', () => { diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-info-seo/dot-edit-page-info-seo.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-info-seo/dot-edit-page-info-seo.component.spec.ts index c220666ad5a7..165b878871e7 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-info-seo/dot-edit-page-info-seo.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-info-seo/dot-edit-page-info-seo.component.spec.ts @@ -8,10 +8,12 @@ import { DotApiLinkComponent, DotCopyButtonComponent, DotMessagePipe } from '@do import { DotEditPageInfoSeoComponent } from './dot-edit-page-info-seo.component'; @Component({ - template: ` ` + template: ` + + ` }) class TestHostComponent { title = 'A title'; diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-state-controller-seo/dot-edit-page-state-controller-seo.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-state-controller-seo/dot-edit-page-state-controller-seo.component.html index 2554d21d8ab9..9fd3a375453e 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-state-controller-seo/dot-edit-page-state-controller-seo.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-state-controller-seo/dot-edit-page-state-controller-seo.component.html @@ -12,8 +12,7 @@ [model]="menuItems" [popup]="true" #menu - appendTo="body"> - + appendTo="body"> - + ` }) class TestHostComponent { diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-toolbar-seo/dot-edit-page-toolbar-seo.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-toolbar-seo/dot-edit-page-toolbar-seo.component.html index 7ba47460de9c..813768d6ebe5 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-toolbar-seo/dot-edit-page-toolbar-seo.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-toolbar-seo/dot-edit-page-toolbar-seo.component.html @@ -48,8 +48,7 @@

{{ variant.experimentName }}

- + class="flex gap-2">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-view-as-controller-seo/dot-edit-page-view-as-controller-seo.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-view-as-controller-seo/dot-edit-page-view-as-controller-seo.component.spec.ts index 211b1c6290be..d9a407d1b027 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-view-as-controller-seo/dot-edit-page-view-as-controller-seo.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-edit-page/seo/components/dot-edit-page-view-as-controller-seo/dot-edit-page-view-as-controller-seo.component.spec.ts @@ -42,8 +42,10 @@ import { DotEditPageViewAsControllerSeoComponent } from './dot-edit-page-view-as @Component({ selector: 'dot-test-host', - template: `` + template: ` + + ` }) class DotTestHostComponent { @Input() diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-pages/dot-pages-listing-panel/dot-pages-listing-panel.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-pages/dot-pages-listing-panel/dot-pages-listing-panel.component.html index 5ceb26e80952..e6133a751afe 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-pages/dot-pages-listing-panel/dot-pages-listing-panel.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-pages/dot-pages-listing-panel/dot-pages-listing-panel.component.html @@ -64,22 +64,27 @@ - {{ 'title' | dm }} + {{ 'title' | dm }} + - {{ 'url' | dm }} + {{ 'url' | dm }} + - {{ 'type' | dm }} + {{ 'type' | dm }} + - {{ 'status' | dm }} + {{ 'status' | dm }} + {{ 'Last-Editor' | dm }} - {{ 'Last-Edited' | dm }} + {{ 'Last-Edited' | dm }} + @@ -110,9 +115,9 @@ [labels]="dotStateLabels" [state]="rowData" size="14px"> - {{ - vm.languageLabels[rowData['languageId']] - }} + + {{ vm.languageLabels[rowData['languageId']] }} + diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-advanced/dot-template-advanced.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-advanced/dot-template-advanced.component.html index d3a178e870ac..79c8979a4f37 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-advanced/dot-template-advanced.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-advanced/dot-template-advanced.component.html @@ -4,7 +4,7 @@
- + - ` + template: ` + + + ` }) class TemplateBuilderMockComponent { @Input() layout: DotLayout; diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-props/dot-template-props.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-props/dot-template-props.component.html index f4c4f140c3a0..117d9918d119 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-props/dot-template-props.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-props/dot-template-props.component.html @@ -5,9 +5,9 @@ data-testId="dialogForm">
- +
- +
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-props/dot-template-props.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-props/dot-template-props.component.spec.ts index 4c2343f2e361..e9a79d00a3a0 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-props/dot-template-props.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-create-edit/dot-template-props/dot-template-props.component.spec.ts @@ -180,7 +180,7 @@ describe('DotTemplatePropsComponent', () => { expect(label.classes['p-label-input-required']).toBe(true); expect(label.attributes.for).toBe('title'); - expect(label.nativeElement.textContent).toBe('Title'); + expect(label.nativeElement.textContent.trim()).toBe('Title'); expect(input.attributes.autofocus).toBeDefined(); expect(input.attributes.pInputText).toBeDefined(); @@ -212,7 +212,7 @@ describe('DotTemplatePropsComponent', () => { expect(field.classes['field']).toBe(true); expect(label.attributes.for).toBe('description'); - expect(label.nativeElement.textContent).toBe('Description'); + expect(label.nativeElement.textContent.trim()).toBe('Description'); expect(textarea.attributes.pInputTextarea).toBeDefined(); expect(textarea.attributes.formControlName).toBe('friendlyName'); diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-list/dot-template-list.component.html b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-list/dot-template-list.component.html index 2d02235eeeae..f340b143bc16 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-list/dot-template-list.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-list/dot-template-list.component.html @@ -40,8 +40,7 @@ [title]="'message.template.empty.title' | dm" [content]="'message.template.empty.content' | dm" [buttonLabel]="'message.template.empty.button.label' | dm" - icon="web"> - + icon="web"> @@ -51,8 +50,7 @@ - + size="14px"> @@ -63,9 +61,9 @@ *ngIf="rowData.themeInfo" (click)="goToFolder($event, rowData.themeInfo?.path)" data-testId="theme-folder-link" - target="_self" - >{{ rowData.themeInfo?.title }} + target="_self"> + {{ rowData.themeInfo?.title }} + @@ -80,8 +78,7 @@ [attr.data-testid]="rowData.identifier" [actions]="setTemplateActions(rowData)" [item]="rowData" - class="listing-datatable__action-button"> - + class="listing-datatable__action-button"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-list/dot-template-list.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-list/dot-template-list.component.spec.ts index 6ed61b0fdf1d..a3842fc8cadd 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-list/dot-template-list.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/dot-templates/dot-template-list/dot-template-list.component.spec.ts @@ -555,7 +555,8 @@ describe('DotTemplateListComponent', () => { expect( links.every( (link, i) => - link.nativeElement.textContent === templatesWithoutSystem[i].themeInfo.title + link.nativeElement.textContent.trim() === + templatesWithoutSystem[i].themeInfo.title ) ).toBe(true); }); diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-binary-settings/dot-binary-settings.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-binary-settings/dot-binary-settings.component.html index 018bca3bdee7..7ccce0e5b4a9 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-binary-settings/dot-binary-settings.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-binary-settings/dot-binary-settings.component.html @@ -12,9 +12,9 @@ {{ 'binary-field-settings.system.link.to.documentation' | dm }} + rel="noopener"> + {{ 'binary-field-settings.system.link.to.documentation' | dm }} + @for (option of systemOptions; track option.key) { diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-block-editor-settings/dot-block-editor-settings.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-block-editor-settings/dot-block-editor-settings.component.html index f3ec042c0243..c34b82455f64 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-block-editor-settings/dot-block-editor-settings.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-block-editor-settings/dot-block-editor-settings.component.html @@ -1,9 +1,9 @@
- + - + optionValue="code">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-to-block-info/dot-convert-to-block-info.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-to-block-info/dot-convert-to-block-info.component.html index 2392eb80e05b..ebdac79cf234 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-to-block-info/dot-convert-to-block-info.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-to-block-info/dot-convert-to-block-info.component.html @@ -11,14 +11,14 @@ {{ 'contenttypes.field.properties.wysiwyg.info.button' | dm }} - + {{ 'learn-more' | dm }} + data-testId="learnMore"> + {{ 'learn-more' | dm }} + +
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-wysiwyg-to-block/dot-convert-wysiwyg-to-block.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-wysiwyg-to-block/dot-convert-wysiwyg-to-block.component.html index a14982cd2ec8..bd2ad34645f2 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-wysiwyg-to-block/dot-convert-wysiwyg-to-block.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-wysiwyg-to-block/dot-convert-wysiwyg-to-block.component.html @@ -15,9 +15,9 @@

- +

diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-wysiwyg-to-block/dot-convert-wysiwyg-to-block.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-wysiwyg-to-block/dot-convert-wysiwyg-to-block.component.spec.ts index ae4d647e3a23..96beda5da57d 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-wysiwyg-to-block/dot-convert-wysiwyg-to-block.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/dot-convert-wysiwyg-to-block/dot-convert-wysiwyg-to-block.component.spec.ts @@ -50,7 +50,7 @@ describe('DotConvertWysiwygToBlockComponent', () => { expect(infoContent.innerText).toBe('Info Content'); expect(header.innerText).toBe('Header'); expect(content.innerText).toBe('Content'); - expect(iUnderstand.innerText).toBe('I understand'); + expect(iUnderstand.innerText.trim()).toBe('I understand'); expect(buttonConvert.innerText).toBe('Button'); }); }); diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-field-dragabble-item/content-type-field-dragabble-item.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-field-dragabble-item/content-type-field-dragabble-item.component.html index c066671dd25c..f6311965e129 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-field-dragabble-item/content-type-field-dragabble-item.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-field-dragabble-item/content-type-field-dragabble-item.component.html @@ -3,14 +3,13 @@

- {{ field.name }} + {{ field.name }} - + icon="pi pi-trash">
- + icon="pi pi-info-circle">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-drop-zone/content-type-fields-drop-zone.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-drop-zone/content-type-fields-drop-zone.component.html index f81204f13164..4786977b9835 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-drop-zone/content-type-fields-drop-zone.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-drop-zone/content-type-fields-drop-zone.component.html @@ -10,16 +10,14 @@ (editField)="editFieldHandler($event)" (removeField)="removeField($event)" (removeRow)="removeFieldRow($event, i)" - [fieldRow]="row"> - + [fieldRow]="row"> - + class="row-header__drag"> @@ -51,8 +49,7 @@ (valid)="setDialogOkButtonState($event)" [formFieldData]="currentField" [contentType]="contentType" - #fieldPropertiesForm> - + #fieldPropertiesForm> - + dotDynamicFieldProperty> - + width="100%"> - + [message]=" + 'contenttypes.field.properties.category.error.required' | dm + "> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/checkbox-property/checkbox-property.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/checkbox-property/checkbox-property.component.html index 991809e886f5..efa3ad84d83b 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/checkbox-property/checkbox-property.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/checkbox-property/checkbox-property.component.html @@ -3,6 +3,5 @@ [label]="setCheckboxLabel(property.name) | dm" [value]="property.value" [formControlName]="property.name" - binary="true"> - + binary="true"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/data-type-property/data-type-property.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/data-type-property/data-type-property.component.html index b8f51c87e99d..b5bd0ba62087 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/data-type-property/data-type-property.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/data-type-property/data-type-property.component.html @@ -1,7 +1,7 @@
- +
@@ -9,8 +9,7 @@ [label]="radio.text | dm" [name]="property.name" [value]="radio.value" - [formControlName]="property.name"> - + [formControlName]="property.name">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/default-value-property/default-value-property.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/default-value-property/default-value-property.component.html index c4694030512d..70fd9e291c25 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/default-value-property/default-value-property.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/default-value-property/default-value-property.component.html @@ -1,10 +1,9 @@
- + - + [message]="this.errorLabel">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-cardinality-selector/dot-cardinality-selector.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-cardinality-selector/dot-cardinality-selector.component.html index a59d2c42159e..41fd54a602d5 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-cardinality-selector/dot-cardinality-selector.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-cardinality-selector/dot-cardinality-selector.component.html @@ -6,5 +6,4 @@ [style]="{ width: '100%' }" data-testId="dropdown" optionValue="id" - appendTo="body"> - + appendTo="body"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-cardinality-selector/dot-cardinality-selector.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-cardinality-selector/dot-cardinality-selector.component.spec.ts index 38ce7c3e052a..9054ec79353d 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-cardinality-selector/dot-cardinality-selector.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-cardinality-selector/dot-cardinality-selector.component.spec.ts @@ -29,8 +29,11 @@ const cardinalities: DotRelationshipCardinality[] = [ @Component({ selector: 'dot-host-component', - template: ` - ` + template: ` + + ` }) class HostTestComponent { @Input() diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-edit-relationship/dot-edit-relationships.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-edit-relationship/dot-edit-relationships.component.html index 2ad805be0524..2c922e34ba03 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-edit-relationship/dot-edit-relationships.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-edit-relationship/dot-edit-relationships.component.html @@ -8,5 +8,4 @@ [totalRecords]="dotPaginatorService.totalRecords" [placeholder]="'contenttypes.field.properties.relationship.existing.placeholder' | dm" width="100%" - labelPropertyName="label"> - + labelPropertyName="label"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-new-relationships/dot-new-relationships.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-new-relationships/dot-new-relationships.component.html index 97d18456b83e..d3c971b7b802 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-new-relationships/dot-new-relationships.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-new-relationships/dot-new-relationships.component.html @@ -1,7 +1,7 @@
- + - + width="100%">
@@ -26,6 +25,5 @@ (switch)="cardinalityChanged($event)" [value]="cardinality" [disabled]="editing" - id="cardinality"> - + id="cardinality">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-new-relationships/dot-new-relationships.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-new-relationships/dot-new-relationships.component.spec.ts index b539f408e19c..570511c0f28b 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-new-relationships/dot-new-relationships.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-new-relationships/dot-new-relationships.component.spec.ts @@ -55,11 +55,12 @@ const contentTypeMock: DotCMSContentType = { @Component({ selector: 'dot-host-component', - template: ` - ` + template: ` + + ` }) class HostTestComponent { cardinalityIndex: number; @@ -271,7 +272,7 @@ describe('DotNewRelationshipsComponent', () => { const labels = de.queryAll(By.css('label')); const contentTypeLabel = labels[0].nativeElement; const relationshipsLabel = labels[1].nativeElement.textContent; - expect(contentTypeLabel.textContent).toEqual('Content Type'); + expect(contentTypeLabel.textContent.trim()).toEqual('Content Type'); expect(contentTypeLabel.classList.contains('p-label-input-required')).toBeTruthy(); expect(relationshipsLabel).toEqual('Relationship'); }); diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-relationships-property.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-relationships-property.component.html index be73cb34655f..3e54490548fa 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-relationships-property.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/dot-relationships-property/dot-relationships-property.component.html @@ -3,15 +3,13 @@ (click)="clean()" [(ngModel)]="status" [label]="'contenttypes.field.properties.relationship.new.label' | dm" - [value]="STATUS_NEW"> - + [value]="STATUS_NEW"> - + [value]="STATUS_EXISTING">
@@ -21,24 +19,21 @@ [velocityVar]="group.get(property.name).value.velocityVar" [cardinality]="group.get(property.name).value.cardinality" [editing]="editing" - class="relationships__new"> - + class="relationships__new">
- + - + class="relationships__existing">
- + [field]="group.controls[property.name]">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/name-property/name-property.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/name-property/name-property.component.html index af835883bda4..74e817dbc694 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/name-property/name-property.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/name-property/name-property.component.html @@ -1,7 +1,7 @@
+ {{ 'contenttypes.field.properties.name.label' | dm }} + - + [field]="group.controls[property.name]">
- {{ 'contenttypes.field.properties.name.variable' | dm }}: + {{ 'contenttypes.field.properties.name.variable' | dm }}: diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/regex-check-property/regex-check-property.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/regex-check-property/regex-check-property.component.html index dd0c856d7a93..81af200fec47 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/regex-check-property/regex-check-property.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/regex-check-property/regex-check-property.component.html @@ -1,7 +1,7 @@
- +
- + appendTo="body">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/values-property/values-property.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/values-property/values-property.component.html index 323ffaa63f85..0de2110d0bd3 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/values-property/values-property.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-properties-form/field-properties/values-property/values-property.component.html @@ -2,9 +2,9 @@ - + - + message="{{ + 'contenttypes.field.properties.value.message' | dm + }}">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-row/content-type-fields-row.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-row/content-type-fields-row.component.html index bd4ad4a768e3..054e799c3db4 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-row/content-type-fields-row.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-row/content-type-fields-row.component.html @@ -22,7 +22,6 @@ (remove)="onRemoveField($event)" (edit)="this.editField.emit(field)" [field]="field" - [isSmall]="fieldRow.columns.length > 1"> - + [isSmall]="fieldRow.columns.length > 1">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-tab/content-type-fields-tab.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-tab/content-type-fields-tab.component.html index 9a7113a63aa3..7a264a692185 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-tab/content-type-fields-tab.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/fields/content-type-fields-tab/content-type-fields-tab.component.html @@ -11,6 +11,5 @@ [pTooltip]="'contenttypes.action.delete' | dm" class="field__actions-delete" icon="pi pi-trash" - styleClass="p-button-rounded p-button-text p-button-sm p-button-danger"> - + styleClass="p-button-rounded p-button-text p-button-sm p-button-danger">
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/form/content-types-form.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/form/content-types-form.component.html index 9a7e43dab299..df158c37fe53 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/form/content-types-form.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/components/form/content-types-form.component.html @@ -12,11 +12,10 @@ class="p-checkbox-sm" formControlName="newEditContent" binary="true" - inputId="newEditContentLabel"> - - + inputId="newEditContentLabel"> +
@@ -42,9 +41,9 @@
- +
- +
- +
- + {{ 'contenttypes.form.hint.error.only.default.scheme.available.in.Community' | dm }} + id="field-workflow-hint"> + {{ 'contenttypes.form.hint.error.only.default.scheme.available.in.Community' | dm }} +
- +
- + {{ 'contenttypes.form.message.no.date.fields.defined' | dm }} + id="field-dates-hint"> + {{ 'contenttypes.form.message.no.date.fields.defined' | dm }} +

- + #dotEditInline> @@ -68,8 +67,7 @@

{{ contentType.name }}

(onClick)="fireAddRowEvent()" [model]="actions" icon="pi pi-plus" - label="{{ 'contenttypes.content.row' | dm }}"> - + label="{{ 'contenttypes.content.row' | dm }}"> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/dot-content-types-edit.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/dot-content-types-edit.component.html index fb0c63661ce6..66e8a13e0435 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/dot-content-types-edit.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-edit/dot-content-types-edit.component.html @@ -11,8 +11,7 @@ [layout]="layout" [loading]="loadingFields" [contentType]="data" - #fieldsDropZone> - + #fieldsDropZone> - + #form> diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-add-to-menu/dot-add-to-menu.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-add-to-menu/dot-add-to-menu.component.html index 11a87836115c..e1a2813414f1 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-add-to-menu/dot-add-to-menu.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-add-to-menu/dot-add-to-menu.component.html @@ -6,9 +6,9 @@ width="592px">
- +
-
-
diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-add-to-menu/dot-add-to-menu.component.spec.ts b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-add-to-menu/dot-add-to-menu.component.spec.ts index 3c1dcaa0f595..7c7f0ce5633d 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-add-to-menu/dot-add-to-menu.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-add-to-menu/dot-add-to-menu.component.spec.ts @@ -51,7 +51,9 @@ const contentTypeVar = { @Component({ selector: 'dot-test-host-component', - template: ` ` + template: ` + + ` }) class TestHostComponent { contentType = contentTypeVar; diff --git a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-content-type-copy-dialog/dot-content-type-copy-dialog.component.html b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-content-type-copy-dialog/dot-content-type-copy-dialog.component.html index 3fd0c0bd4974..d3cf000e046e 100644 --- a/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-content-type-copy-dialog/dot-content-type-copy-dialog.component.html +++ b/core-web/apps/dotcms-ui/src/app/portlets/shared/dot-content-types-listing/components/dot-content-type-copy-dialog/dot-content-type-copy-dialog.component.html @@ -25,8 +25,8 @@
-
diff --git a/core-web/apps/dotcms-ui/src/app/view/components/_common/forms/dot-push-publish-form/dot-push-publish-form.component.html b/core-web/apps/dotcms-ui/src/app/view/components/_common/forms/dot-push-publish-form/dot-push-publish-form.component.html index 143acd6d1600..779628b57101 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/_common/forms/dot-push-publish-form/dot-push-publish-form.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/_common/forms/dot-push-publish-form/dot-push-publish-form.component.html @@ -7,19 +7,18 @@ #formEl="ngForm" novalidate>
-
- +
-
@@ -49,9 +45,9 @@ #dialog>
- + - - ` + template: ` +
+ +
+ ` }) class TestHostComponent { form: UntypedFormGroup; diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-edit-layout-designer/components/dot-theme-selector/dot-theme-selector.component.spec.ts b/core-web/apps/dotcms-ui/src/app/view/components/dot-edit-layout-designer/components/dot-theme-selector/dot-theme-selector.component.spec.ts index a9a206cd802e..d70056e82565 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-edit-layout-designer/components/dot-theme-selector/dot-theme-selector.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-edit-layout-designer/components/dot-theme-selector/dot-theme-selector.component.spec.ts @@ -29,9 +29,11 @@ import { DotThemeSelectorComponent } from './dot-theme-selector.component'; @Component({ selector: 'dot-site-selector', - template: `` + template: ` + + ` }) class MockDotSiteSelectorComponent { @Input() system; diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-edit-layout-designer/dot-edit-layout-designer.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-edit-layout-designer/dot-edit-layout-designer.component.html index 9073420713b7..46796cd4509f 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-edit-layout-designer/dot-edit-layout-designer.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-edit-layout-designer/dot-edit-layout-designer.component.html @@ -2,8 +2,7 @@ *ngIf="themeDialogVisibility" (selected)="changeThemeHandler($event)" (shutdown)="closeThemeDialog()" - [value]="currentTheme"> - + [value]="currentTheme">
- + styleClass="p-button-rounded p-button-sm p-button-text">
diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-iframe-dialog/dot-iframe-dialog.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-iframe-dialog/dot-iframe-dialog.component.html index aaf1bc298edb..1b2189feaa8b 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-iframe-dialog/dot-iframe-dialog.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-iframe-dialog/dot-iframe-dialog.component.html @@ -12,6 +12,5 @@ (keyWasDown)="onKeyDown($event)" (custom)="custom.emit($event)" [src]="url" - class="dialog__iframe"> - + class="dialog__iframe"> diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-language-selector/dot-language-selector.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-language-selector/dot-language-selector.component.html index db71c28b03c1..261591b4bd83 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-language-selector/dot-language-selector.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-language-selector/dot-language-selector.component.html @@ -15,9 +15,7 @@
{{ value.language }} - - ({{ value.countryCode }}) - + ({{ value.countryCode }})
} diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-large-message-display/dot-large-message-display.component.spec.ts b/core-web/apps/dotcms-ui/src/app/view/components/dot-large-message-display/dot-large-message-display.component.spec.ts index d7815b44cb2a..9cd03b82833b 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-large-message-display/dot-large-message-display.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-large-message-display/dot-large-message-display.component.spec.ts @@ -11,7 +11,9 @@ import { DotLargeMessageDisplayComponent } from './dot-large-message-display.com @Component({ selector: 'dot-test-host-component', - template: ` ` + template: ` + + ` }) class TestHostComponent {} diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-link/dot-link.component.spec.ts b/core-web/apps/dotcms-ui/src/app/view/components/dot-link/dot-link.component.spec.ts index c604894fba8b..93d744286952 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-link/dot-link.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-link/dot-link.component.spec.ts @@ -9,7 +9,9 @@ import { MockDotMessageService } from '@dotcms/utils-testing'; import { DotLinkComponent } from '././dot-link.component'; @Component({ - template: ` ` + template: ` + + ` }) class TestHostComponent { href = 'api/v1/123'; diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-listing-data-table/action-header/action-header.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-listing-data-table/action-header/action-header.component.html index 38cc067c7c44..d6ac09ecc5b4 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-listing-data-table/action-header/action-header.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-listing-data-table/action-header/action-header.component.html @@ -12,9 +12,9 @@
- {{ selectedItems.length }} {{ 'selected' | dm }} + + {{ selectedItems.length }} {{ 'selected' | dm }} + - + class="listing-datatable__action-button"> diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-listing-data-table/dot-listing-data-table.component.spec.ts b/core-web/apps/dotcms-ui/src/app/view/components/dot-listing-data-table/dot-listing-data-table.component.spec.ts index ab31526b9553..2a7ecc609227 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-listing-data-table/dot-listing-data-table.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-listing-data-table/dot-listing-data-table.component.spec.ts @@ -46,30 +46,34 @@ import { DotActionButtonComponent } from '../_common/dot-action-button/dot-actio @Component({ selector: 'dot-empty-state', - template: `

Im empty

` + template: ` +

Im empty

+ ` }) class EmptyMockComponent {} @Component({ selector: 'dot-test-host-component', - template: ` - - ` + template: ` + + + + ` }) class TestHostComponent { @Input() columns: DataTableColumn[]; diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-item/dot-nav-item.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-item/dot-nav-item.component.html index b12dcd15bd40..b1c865fdb71d 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-item/dot-nav-item.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-item/dot-nav-item.component.html @@ -14,8 +14,7 @@ + name="{{ data.isOpen ? 'arrow_drop_down' : 'arrow_drop_up' }}">
- + #subnav> diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-item/dot-nav-item.component.spec.ts b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-item/dot-nav-item.component.spec.ts index ebcd54ebc769..c3a5b809b754 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-item/dot-nav-item.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-nav-item/dot-nav-item.component.spec.ts @@ -19,7 +19,9 @@ import { DotSubNavComponent } from '../dot-sub-nav/dot-sub-nav.component'; @Component({ selector: 'dot-test-host-component', - template: ` ` + template: ` + + ` }) class TestHostComponent { menu: DotMenu = { diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-sub-nav/dot-sub-nav.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-sub-nav/dot-sub-nav.component.html index 03d250d831b2..69c29bc1cbc7 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-sub-nav/dot-sub-nav.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/components/dot-sub-nav/dot-sub-nav.component.html @@ -5,8 +5,8 @@ [class.dot-nav-sub__link--active]="subItem.active" [routerLink]="subItem.menuLink" [state]="{ menuId: data.id }" - class="dot-nav-sub__link" - >{{ subItem.label }} + class="dot-nav-sub__link"> + {{ subItem.label }} + diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.html index 30b0aff06eaa..29d3a4f5155b 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-navigation/dot-navigation.component.html @@ -8,8 +8,7 @@ (menuClick)="onMenuClick($event)" (itemClick)="onItemClick($event)" [data]="item" - [collapsed]="dotNavigationService.collapsed$ | async"> - + [collapsed]="dotNavigationService.collapsed$ | async"> diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selected-item/dot-persona-selected-item.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selected-item/dot-persona-selected-item.component.html index 54e2ff26917d..caf1522fc633 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selected-item/dot-persona-selected-item.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selected-item/dot-persona-selected-item.component.html @@ -12,9 +12,9 @@ - {{ - persona?.name || ('modes.persona.no.persona' | dm) - }} + + {{ persona?.name || ('modes.persona.no.persona' | dm) }} + diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selected-item/dot-persona-selected-item.component.spec.ts b/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selected-item/dot-persona-selected-item.component.spec.ts index 2d10bb73aec3..f7821b392a88 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selected-item/dot-persona-selected-item.component.spec.ts +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selected-item/dot-persona-selected-item.component.spec.ts @@ -22,7 +22,9 @@ const messageServiceMock = new MockDotMessageService({ }); @Component({ - template: ` ` + template: ` + + ` }) class TestHostComponent { persona = mockDotPersona; @@ -78,7 +80,7 @@ describe('DotPersonaSelectedItemComponent', () => { it('should render persona name and label', () => { const name = de.query(By.css('.dot-persona-selector__name')).nativeElement; - expect(name.innerText).toBe('Global Investor'); + expect(name.innerText.trim()).toBe('Global Investor'); }); describe('tooltip properties', () => { diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selector-option/dot-persona-selector-option.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selector-option/dot-persona-selector-option.component.html index 5a9c88cd96da..f00190e229d0 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selector-option/dot-persona-selector-option.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-persona-selector-option/dot-persona-selector-option.component.html @@ -17,8 +17,8 @@ 'dot-persona-selector-option__selected': selected }" class="dot-persona-selector-option__label" - style="-webkit-box-orient: vertical; -moz-box-orient: vertical" - >{{ persona.name }} + style="-webkit-box-orient: vertical; -moz-box-orient: vertical"> + {{ persona.name }}
diff --git a/core-web/apps/dotcms-ui/src/app/view/components/dot-toolbar/components/dot-toolbar-notifications/dot-toolbar-notifications.component.html b/core-web/apps/dotcms-ui/src/app/view/components/dot-toolbar/components/dot-toolbar-notifications/dot-toolbar-notifications.component.html index be7d20f1044f..57d636b8995b 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/dot-toolbar/components/dot-toolbar-notifications/dot-toolbar-notifications.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/dot-toolbar/components/dot-toolbar-notifications/dot-toolbar-notifications.component.html @@ -3,13 +3,11 @@ (click)="onActiveAnnouncements($event)" [class.dot-toolbar-notifications__button-active]="activeAnnouncements" icon="pi pi-megaphone" - styleClass="p-button-rounded p-button-text"> - + styleClass="p-button-rounded p-button-text"> - + id="dot-toolbar-notifications-badge"> - + width="200px">
diff --git a/core-web/apps/dotcms-ui/src/app/view/components/login/dot-login-component/dot-login.component.html b/core-web/apps/dotcms-ui/src/app/view/components/login/dot-login-component/dot-login.component.html index 316d8abea4be..a9db8263f5c1 100644 --- a/core-web/apps/dotcms-ui/src/app/view/components/login/dot-login-component/dot-login.component.html +++ b/core-web/apps/dotcms-ui/src/app/view/components/login/dot-login-component/dot-login.component.html @@ -11,8 +11,7 @@ class="p-dropdown-sm" #languageDropdown data-testId="language" - formControlName="language"> - + formControlName="language">

{{ loginInfo.i18nMessagesMap['forgot-password'] }}

- + {{ loginInfo.i18nMessagesMap['forgot-password'] }}

loginInfo.i18nMessagesMap['emailAddressLabel'] ) " - [field]="forgotPasswordForm.get('login')"> - + [field]="forgotPasswordForm.get('login')">
` + template: ` + + ` }) export class RippleComponent implements OnInit { constructor(private primengConfig: PrimeNGConfig) {} diff --git a/core-web/apps/dotcms-ui/src/stories/primeng/overlay/DynamicDialogButton.component.ts b/core-web/apps/dotcms-ui/src/stories/primeng/overlay/DynamicDialogButton.component.ts index 717ea6480c2d..1b99bcd6db4c 100644 --- a/core-web/apps/dotcms-ui/src/stories/primeng/overlay/DynamicDialogButton.component.ts +++ b/core-web/apps/dotcms-ui/src/stories/primeng/overlay/DynamicDialogButton.component.ts @@ -9,12 +9,14 @@ import { Product } from './Product.interface'; @Component({ selector: 'dot-p-dialog-button', providers: [DialogService, MessageService], - template: `` + template: ` + + ` }) export class DynamicDialogButtonComponent implements OnDestroy { constructor( diff --git a/core-web/libs/block-editor/src/lib/extensions/ai-content-prompt/ai-content-prompt.component.html b/core-web/libs/block-editor/src/lib/extensions/ai-content-prompt/ai-content-prompt.component.html index 7a0629a676f7..2a0a996889f6 100644 --- a/core-web/libs/block-editor/src/lib/extensions/ai-content-prompt/ai-content-prompt.component.html +++ b/core-web/libs/block-editor/src/lib/extensions/ai-content-prompt/ai-content-prompt.component.html @@ -29,8 +29,7 @@ class="ai-content__generated-text" #generatedText formControlName="generatedText" - pInputTextarea> - + pInputTextarea> - + rejectIcon="null"> } diff --git a/core-web/libs/block-editor/src/lib/extensions/bubble-form/bubble-form.component.html b/core-web/libs/block-editor/src/lib/extensions/bubble-form/bubble-form.component.html index c8d9b380bc56..2af9b8dae17c 100644 --- a/core-web/libs/block-editor/src/lib/extensions/bubble-form/bubble-form.component.html +++ b/core-web/libs/block-editor/src/lib/extensions/bubble-form/bubble-form.component.html @@ -6,19 +6,16 @@ [formControlName]="control.key" [binary]="true" [id]="control.key"> - + + [for]="control.key"> + {{ control.label | titlecase }} + This field is required + class="error-message"> + This field is required +
diff --git a/core-web/libs/block-editor/src/lib/extensions/bubble-link-form/bubble-link-form.component.html b/core-web/libs/block-editor/src/lib/extensions/bubble-link-form/bubble-link-form.component.html index 10beb804c702..49c5c886d0f9 100644 --- a/core-web/libs/block-editor/src/lib/extensions/bubble-link-form/bubble-link-form.component.html +++ b/core-web/libs/block-editor/src/lib/extensions/bubble-link-form/bubble-link-form.component.html @@ -51,14 +51,12 @@ [items]="items" [loading]="loading" [title]="noResultsTitle" - #suggestions> - + #suggestions> - + [link]="currentLink">
diff --git a/core-web/libs/block-editor/src/lib/extensions/bubble-link-form/components/suggestion-page/suggestion-page.component.html b/core-web/libs/block-editor/src/lib/extensions/bubble-link-form/components/suggestion-page/suggestion-page.component.html index f06ed588e973..2163b10fe9f5 100644 --- a/core-web/libs/block-editor/src/lib/extensions/bubble-link-form/components/suggestion-page/suggestion-page.component.html +++ b/core-web/libs/block-editor/src/lib/extensions/bubble-link-form/components/suggestion-page/suggestion-page.component.html @@ -7,8 +7,7 @@ [label]="item.label" [url]="item.icon" [data]="item.data" - [page]="true"> - + [page]="true"> @@ -17,6 +16,8 @@ - - + diff --git a/core-web/libs/block-editor/src/lib/extensions/bubble-menu/bubble-menu.component.html b/core-web/libs/block-editor/src/lib/extensions/bubble-menu/bubble-menu.component.html index 43ca5c54f281..51ef85905c01 100644 --- a/core-web/libs/block-editor/src/lib/extensions/bubble-menu/bubble-menu.component.html +++ b/core-web/libs/block-editor/src/lib/extensions/bubble-menu/bubble-menu.component.html @@ -4,8 +4,10 @@
- - +
diff --git a/core-web/libs/block-editor/src/lib/extensions/floating-button/floating-button.component.html b/core-web/libs/block-editor/src/lib/extensions/floating-button/floating-button.component.html index 8460d8ad2922..5f70099613a3 100644 --- a/core-web/libs/block-editor/src/lib/extensions/floating-button/floating-button.component.html +++ b/core-web/libs/block-editor/src/lib/extensions/floating-button/floating-button.component.html @@ -12,9 +12,9 @@
- Something went wrong, please try again later or - contact support + + Something went wrong, please try again later or + contact support
diff --git a/core-web/libs/block-editor/src/lib/nodes/contentlet-block/contentlet-block.component.html b/core-web/libs/block-editor/src/lib/nodes/contentlet-block/contentlet-block.component.html index 76708eb49867..08bdfa981c80 100644 --- a/core-web/libs/block-editor/src/lib/nodes/contentlet-block/contentlet-block.component.html +++ b/core-web/libs/block-editor/src/lib/nodes/contentlet-block/contentlet-block.component.html @@ -5,8 +5,7 @@ [width]="94" [height]="94" [iconSize]="'72px'" - [contentlet]="data"> - + [contentlet]="data">

{{ data.title }}

@@ -14,7 +13,7 @@

{{ data.title }}

- + @if (data.language) { {{ data.language | lowercase }} } diff --git a/core-web/libs/block-editor/src/lib/shared/components/suggestions/suggestions.component.html b/core-web/libs/block-editor/src/lib/shared/components/suggestions/suggestions.component.html index 2f1522e98fc8..e20ca9b99b5d 100644 --- a/core-web/libs/block-editor/src/lib/shared/components/suggestions/suggestions.component.html +++ b/core-web/libs/block-editor/src/lib/shared/components/suggestions/suggestions.component.html @@ -9,8 +9,7 @@

{{ title }}

[label]="item.label" [url]="item.icon" [data]="item.data" - [disabled]="item.disabled"> - + [disabled]="item.disabled">
@@ -22,6 +21,5 @@

{{ title }}

- + [showBackBtn]="!isFilterActive"> diff --git a/core-web/libs/block-editor/src/lib/shared/directives/draggable/draggable.directive.spec.ts b/core-web/libs/block-editor/src/lib/shared/directives/draggable/draggable.directive.spec.ts index 1ce0c580d7ee..63f576a64fdb 100644 --- a/core-web/libs/block-editor/src/lib/shared/directives/draggable/draggable.directive.spec.ts +++ b/core-web/libs/block-editor/src/lib/shared/directives/draggable/draggable.directive.spec.ts @@ -5,7 +5,9 @@ import { By } from '@angular/platform-browser'; import { DraggableDirective } from './draggable.directive'; @Component({ - template: `
Hello Tiptap!
` + template: ` +
Hello Tiptap!
+ ` }) class TestComponent {} diff --git a/core-web/libs/block-editor/src/lib/shared/directives/node-view-content/node-view-content.directive.spec.ts b/core-web/libs/block-editor/src/lib/shared/directives/node-view-content/node-view-content.directive.spec.ts index 30c2b3725ee7..a3298e1119d8 100644 --- a/core-web/libs/block-editor/src/lib/shared/directives/node-view-content/node-view-content.directive.spec.ts +++ b/core-web/libs/block-editor/src/lib/shared/directives/node-view-content/node-view-content.directive.spec.ts @@ -5,7 +5,9 @@ import { By } from '@angular/platform-browser'; import { NodeViewContentDirective } from './node-view-content.directive'; @Component({ - template: `
Hello Tiptap!
` + template: ` +
Hello Tiptap!
+ ` }) class TestComponent {} diff --git a/core-web/libs/data-access/src/lib/dot-http-error-manager/dot-http-error-manager.service.ts b/core-web/libs/data-access/src/lib/dot-http-error-manager/dot-http-error-manager.service.ts index 23f9e5c866da..d63bd46c136f 100644 --- a/core-web/libs/data-access/src/lib/dot-http-error-manager/dot-http-error-manager.service.ts +++ b/core-web/libs/data-access/src/lib/dot-http-error-manager/dot-http-error-manager.service.ts @@ -78,7 +78,7 @@ export class DotHttpErrorManagerService { ? this.isLicenseError(response) ? this.handleLicense() : this.handleForbidden() - : this.errorHandlers?.[code as HttpCode](response) ?? false; + : (this.errorHandlers?.[code as HttpCode](response) ?? false); } private contentletIsForbidden(error: string): boolean { diff --git a/core-web/libs/dot-rules/src/lib/components/dot-autocomplete-tags/dot-autocomplete-tags.component.html b/core-web/libs/dot-rules/src/lib/components/dot-autocomplete-tags/dot-autocomplete-tags.component.html index 6c660a266007..6d4cd60eea5d 100644 --- a/core-web/libs/dot-rules/src/lib/components/dot-autocomplete-tags/dot-autocomplete-tags.component.html +++ b/core-web/libs/dot-rules/src/lib/components/dot-autocomplete-tags/dot-autocomplete-tags.component.html @@ -11,6 +11,6 @@ [inputId]="inputId" field="label"> - {{ value }} + {{ value }} diff --git a/core-web/libs/dot-rules/src/lib/components/dot-unlicense/dot-unlicense.component.html b/core-web/libs/dot-rules/src/lib/components/dot-unlicense/dot-unlicense.component.html index 1700cbdcef99..d945a7bed312 100644 --- a/core-web/libs/dot-rules/src/lib/components/dot-unlicense/dot-unlicense.component.html +++ b/core-web/libs/dot-rules/src/lib/components/dot-unlicense/dot-unlicense.component.html @@ -7,9 +7,9 @@

{{ rulesTitle }} {{ onlyEnterpriseLabel }}

diff --git a/core-web/libs/dot-rules/src/lib/components/dropdown/dropdown.ts b/core-web/libs/dot-rules/src/lib/components/dropdown/dropdown.ts index b4bdd6c3f504..39225de2a5ae 100644 --- a/core-web/libs/dot-rules/src/lib/components/dropdown/dropdown.ts +++ b/core-web/libs/dot-rules/src/lib/components/dropdown/dropdown.ts @@ -38,16 +38,14 @@ import { map, mergeMap, toArray } from 'rxjs/operators'; #inputDropdown ng-valid class="ui fluid ng-valid" - appendTo="body"> - + appendTo="body"> - + [placeholder]="placeholder"> ` }) export class Dropdown implements ControlValueAccessor, OnChanges { diff --git a/core-web/libs/dot-rules/src/lib/components/input-date/input-date.ts b/core-web/libs/dot-rules/src/lib/components/input-date/input-date.ts index c0d718e65702..0258df9e9982 100644 --- a/core-web/libs/dot-rules/src/lib/components/input-date/input-date.ts +++ b/core-web/libs/dot-rules/src/lib/components/input-date/input-date.ts @@ -16,16 +16,18 @@ import { NgControl, ControlValueAccessor } from '@angular/forms'; changeDetection: ChangeDetectionStrategy.OnPush, // host: { role: 'text' }, selector: 'cw-input-date', - template: `` + template: ` + + ` }) export class InputDate implements ControlValueAccessor { private static DEFAULT_VALUE: Date; diff --git a/core-web/libs/dot-rules/src/lib/components/restdropdown/RestDropdown.ts b/core-web/libs/dot-rules/src/lib/components/restdropdown/RestDropdown.ts index 36bb199feb9e..329a79e74fb6 100644 --- a/core-web/libs/dot-rules/src/lib/components/restdropdown/RestDropdown.ts +++ b/core-web/libs/dot-rules/src/lib/components/restdropdown/RestDropdown.ts @@ -23,8 +23,7 @@ import { Verify } from '../../services/validation/Verify'; [minSelections]="minSelections" [allowAdditions]="allowAdditions" [options]="options | async" - placeholder="{{ placeholder }}"> - + placeholder="{{ placeholder }}"> ` }) export class RestDropdown implements AfterViewInit, OnChanges, ControlValueAccessor { diff --git a/core-web/libs/dot-rules/src/lib/condition-types/serverside-condition/serverside-condition.ts b/core-web/libs/dot-rules/src/lib/condition-types/serverside-condition/serverside-condition.ts index 677487522e32..38b92f9d2847 100644 --- a/core-web/libs/dot-rules/src/lib/condition-types/serverside-condition/serverside-condition.ts +++ b/core-web/libs/dot-rules/src/lib/condition-types/serverside-condition/serverside-condition.ts @@ -17,108 +17,108 @@ import { Verify } from '../../services/validation/Verify'; @Component({ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'cw-serverside-condition', - template: ` -
- -
-   -
- - - -
- +
+ +
+   +
+ + +
- + layout-fill + layout="column" + class="cw-input"> + +
+ {{ getErrorMessage(input) }} +
+
+
- {{ getErrorMessage(input) }} + *ngIf="input.type === 'text' || input.type === 'number'" + [class.cw-last]="islast" + flex + layout-fill + layout="column" + class="cw-input"> + +
+ {{ getErrorMessage(input) }} +
-
- -
- -
- {{ getErrorMessage(input) }} -
-
- - - -
- ` + [value]="input.value" + flex + layout-fill + class="cw-input" + #gInput="ngForm"> +
+
+ + ` }) export class ServersideCondition { @Input() componentInstance: ServerSideFieldModel; diff --git a/core-web/libs/dot-rules/src/lib/custom-types/visitors-location/visitors-location.component.ts b/core-web/libs/dot-rules/src/lib/custom-types/visitors-location/visitors-location.component.ts index f618be0d3795..02beaf8f2978 100644 --- a/core-web/libs/dot-rules/src/lib/custom-types/visitors-location/visitors-location.component.ts +++ b/core-web/libs/dot-rules/src/lib/custom-types/visitors-location/visitors-location.component.ts @@ -28,7 +28,8 @@ const UNITS = { changeDetection: ChangeDetectionStrategy.OnPush, providers: [DecimalPipe], selector: 'cw-visitors-location-component', - template: `
- + placeholder="{{ comparisonDropdown.placeholder }}">
` + [circle]="circle"> + ` }) export class VisitorsLocationComponent { @Input() circle: GCircle = { center: { lat: 38.89, lng: -77.04 }, radius: 10000 }; diff --git a/core-web/libs/dot-rules/src/lib/custom-types/visitors-location/visitors-location.container.ts b/core-web/libs/dot-rules/src/lib/custom-types/visitors-location/visitors-location.container.ts index d935d03a20e6..cab247d46904 100644 --- a/core-web/libs/dot-rules/src/lib/custom-types/visitors-location/visitors-location.container.ts +++ b/core-web/libs/dot-rules/src/lib/custom-types/visitors-location/visitors-location.container.ts @@ -29,15 +29,17 @@ const I8N_BASE = 'api.sites.ruleengine'; changeDetection: ChangeDetectionStrategy.OnPush, providers: [DecimalPipe], selector: 'cw-visitors-location-container', - template: ` ` + template: ` + + ` }) export class VisitorsLocationContainer { @Input() componentInstance: ServerSideFieldModel; diff --git a/core-web/libs/dot-rules/src/lib/google-map/area-picker-dialog.component.ts b/core-web/libs/dot-rules/src/lib/google-map/area-picker-dialog.component.ts index 50be9553d69d..3a04424cd5eb 100644 --- a/core-web/libs/dot-rules/src/lib/google-map/area-picker-dialog.component.ts +++ b/core-web/libs/dot-rules/src/lib/google-map/area-picker-dialog.component.ts @@ -27,16 +27,18 @@ let mapIdCounter = 1; } ` ], - template: ` -
-
-
-
` + template: ` + +
+
+
+
+ ` }) export class AreaPickerDialogComponent implements OnChanges { @Input() apiKey = ''; diff --git a/core-web/libs/dot-rules/src/lib/modal-dialog/dialog-component.ts b/core-web/libs/dot-rules/src/lib/modal-dialog/dialog-component.ts index 8184c6d25092..55770e9c2d2d 100644 --- a/core-web/libs/dot-rules/src/lib/modal-dialog/dialog-component.ts +++ b/core-web/libs/dot-rules/src/lib/modal-dialog/dialog-component.ts @@ -5,37 +5,39 @@ import { KeyCode } from '../services/util/key-util'; @Component({ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'cw-modal-dialog', - template: ` - + template: ` + + - - - - - - ` + + + + + + + ` }) export class ModalDialogComponent { @Input() okEnabled = true; diff --git a/core-web/libs/dot-rules/src/lib/push-publish/add-to-bundle-dialog-component.ts b/core-web/libs/dot-rules/src/lib/push-publish/add-to-bundle-dialog-component.ts index 8a3e7fca4e8f..6fe5e2c98b8a 100644 --- a/core-web/libs/dot-rules/src/lib/push-publish/add-to-bundle-dialog-component.ts +++ b/core-web/libs/dot-rules/src/lib/push-publish/add-to-bundle-dialog-component.ts @@ -14,46 +14,47 @@ import { IBundle } from '../services/bundle-service'; @Component({ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'cw-add-to-bundle-dialog-component', - template: ` - - - - - - - - ` + template: ` + + + + + + + + + ` }) export class AddToBundleDialogComponent implements OnChanges { @Input() hidden = false; diff --git a/core-web/libs/dot-rules/src/lib/push-publish/add-to-bundle-dialog-container.ts b/core-web/libs/dot-rules/src/lib/push-publish/add-to-bundle-dialog-container.ts index 9051c689cff1..97fa4a88f497 100644 --- a/core-web/libs/dot-rules/src/lib/push-publish/add-to-bundle-dialog-container.ts +++ b/core-web/libs/dot-rules/src/lib/push-publish/add-to-bundle-dialog-container.ts @@ -14,12 +14,14 @@ import { BundleService, IBundle } from '../services/bundle-service'; @Component({ changeDetection: ChangeDetectionStrategy.OnPush, selector: 'cw-add-to-bundle-dialog-container', - template: `` + template: ` + + ` }) // tslint:disable-next-line:component-class-suffix export class AddToBundleDialogContainer implements OnChanges { diff --git a/core-web/libs/dot-rules/src/lib/rule-action-component.ts b/core-web/libs/dot-rules/src/lib/rule-action-component.ts index a8e2d7a75eda..1921e1dfc9a6 100644 --- a/core-web/libs/dot-rules/src/lib/rule-action-component.ts +++ b/core-web/libs/dot-rules/src/lib/rule-action-component.ts @@ -22,15 +22,13 @@ import { ServerSideTypeModel } from './services/ServerSideFieldModel'; [options]="typeDropdown.options" flex class="cw-type-dropdown" - placeholder="{{ actionTypePlaceholder }}"> - + placeholder="{{ actionTypePlaceholder }}">
- + class="cw-condition-component">
- - + (click)="$event.stopPropagation()" + [value]="fireOn.value" + [options]="fireOn.options" + class="cw-fire-on-dropdown" + flex="none" + placeholder="{{ fireOn.placeholder | async }}">
-
-
-
- -
-
- {{ rsrc('inputs.action.firesActions') | async }} +
+ + {{ statusText(30) }} + + +
+ + + +
-
-
- -
-
- +
+
+ +
+
+ {{ rsrc('inputs.action.firesActions') | async }} +
+
+
+ +
+
+ +
-
- ` + + ` }) class RuleComponent { @Input() rule: RuleModel; diff --git a/core-web/libs/dot-rules/src/lib/rule-condition-component.ts b/core-web/libs/dot-rules/src/lib/rule-condition-component.ts index e50de438093a..a081012908eb 100644 --- a/core-web/libs/dot-rules/src/lib/rule-condition-component.ts +++ b/core-web/libs/dot-rules/src/lib/rule-condition-component.ts @@ -14,7 +14,8 @@ import { I18nService } from './services/system/locale/I18n'; @Component({ selector: 'rule-condition', - template: `
+ template: ` +
@@ -62,7 +61,8 @@ import { I18nService } from './services/system/locale/I18n'; class="p-button-rounded p-button-danger p-button-text" aria-label="Delete Condition">
-
` +
+ ` }) export class ConditionComponent implements OnInit { @Input() condition: ConditionModel; diff --git a/core-web/libs/dot-rules/src/lib/rule-condition-group-component.ts b/core-web/libs/dot-rules/src/lib/rule-condition-group-component.ts index 346cc82beb5b..505318bbe908 100644 --- a/core-web/libs/dot-rules/src/lib/rule-condition-group-component.ts +++ b/core-web/libs/dot-rules/src/lib/rule-condition-group-component.ts @@ -16,52 +16,56 @@ import { I18nService } from './services/system/locale/I18n'; @Component({ selector: 'condition-group', - template: `
-
- {{ rsrc('inputs.group.whenConditions.label') | async }} -
-
- - - {{ rsrc('inputs.group.whenFurtherConditions.label') | async }} - -
-
-
- -
-
- + template: ` +
+
+ {{ rsrc('inputs.group.whenConditions.label') | async }} +
+
+ + + {{ rsrc('inputs.group.whenFurtherConditions.label') | async }} + +
+
+
+ +
+
+ +
-
` + ` }) export class ConditionGroupComponent implements OnChanges { private static I8N_BASE = 'api.sites.ruleengine.rules'; diff --git a/core-web/libs/dot-rules/src/lib/rule-engine.ts b/core-web/libs/dot-rules/src/lib/rule-engine.ts index 603f9041df6a..e38ef252ff8f 100644 --- a/core-web/libs/dot-rules/src/lib/rule-engine.ts +++ b/core-web/libs/dot-rules/src/lib/rule-engine.ts @@ -42,9 +42,9 @@ const I8N_BASE = 'api.sites.ruleengine'; *ngIf="showCloseButton" (click)="globalError.message = ''" class="material-icons" - class="close-button" - >X + class="close-button"> + X +
{{ rsrc('inputs.filter.status.all.label') | async }} + href="javascript:void(0)"> + {{ rsrc('inputs.filter.status.all.label') | async }} + | {{ rsrc('inputs.filter.status.active.label') | async }} + href="javascript:void(0)"> + {{ rsrc('inputs.filter.status.active.label') | async }} + | {{ rsrc('inputs.filter.status.inactive.label') | async }} + href="javascript:void(0)"> + {{ rsrc('inputs.filter.status.inactive.label') | async }} +
@@ -101,9 +101,9 @@ const I8N_BASE = 'api.sites.ruleengine'; | async }}{{ rsrc('inputs.add.one.now') | async }} - {{ - rsrc('inputs.page.rules.fired.every.time') | async - }} + + {{ rsrc('inputs.page.rules.fired.every.time') | async }} +
@if (loading) { @@ -44,12 +45,12 @@ data-testId="publish-history" aria-label="Publish History"> {{ 'Published' | dm }} - {{ - contentlet?.publishUserName - }} - {{ - contentlet?.publishDate | dotRelativeDate: 'MM/dd/yyyy' : null - }} + + {{ contentlet?.publishUserName }} + + + {{ contentlet?.publishDate | dotRelativeDate: 'MM/dd/yyyy' : null }} + } @if (contentlet?.modDate) { @@ -61,9 +62,9 @@ aria-label="Modification History"> {{ 'Modified' | dm }} {{ contentlet?.modUserName }} - {{ - contentlet?.modDate | dotRelativeDate: 'MM/dd/yyyy' : null - }} + + {{ contentlet?.modDate | dotRelativeDate: 'MM/dd/yyyy' : null }} + } }
diff --git a/core-web/libs/edit-content/src/lib/feature/edit-content/edit-content.layout.component.html b/core-web/libs/edit-content/src/lib/feature/edit-content/edit-content.layout.component.html index 135154761379..3a45cc62bbea 100644 --- a/core-web/libs/edit-content/src/lib/feature/edit-content/edit-content.layout.component.html +++ b/core-web/libs/edit-content/src/lib/feature/edit-content/edit-content.layout.component.html @@ -11,9 +11,9 @@ {{ 'edit.content.layout.beta.message.switch' | dm }} + data-testId="content-type"> + {{ 'edit.content.layout.beta.message.switch' | dm }} + {{ ' ' }}{{ 'edit.content.layout.beta.message.needed' | dm }}
diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-binary-field/components/dot-binary-field-editor/dot-binary-field-editor.component.html b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-binary-field/components/dot-binary-field-editor/dot-binary-field-editor.component.html index 362d8848a5cb..77e6909ea875 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-binary-field/components/dot-binary-field-editor/dot-binary-field-editor.component.html +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-binary-field/components/dot-binary-field-editor/dot-binary-field-editor.component.html @@ -1,9 +1,9 @@
@if (allowFileNameEdit) {
- + - + data-testId="contentlet-thumbnail"> }
- + +
diff --git a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-host-folder-field/componentes/treeselect.component.ts b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-host-folder-field/componentes/treeselect.component.ts index fe110c3d95a7..42b916a0a0e7 100644 --- a/core-web/libs/edit-content/src/lib/fields/dot-edit-content-host-folder-field/componentes/treeselect.component.ts +++ b/core-web/libs/edit-content/src/lib/fields/dot-edit-content-host-folder-field/componentes/treeselect.component.ts @@ -95,9 +95,9 @@ export const TREESELECT_VALUE_ACCESSOR = {
{{ node.label }}
- {{ - placeholder || 'empty' - }} + + {{ placeholder || 'empty' }} +
diff --git a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-goal-select/dot-experiments-configuration-goal-select.component.html b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-goal-select/dot-experiments-configuration-goal-select.component.html index 066a0a314c8a..53f9f4214eb2 100644 --- a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-goal-select/dot-experiments-configuration-goal-select.component.html +++ b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-goal-select/dot-experiments-configuration-goal-select.component.html @@ -51,9 +51,9 @@
- + [size]="16" data-testId="goal-title-step-done" name="check_circle"> - {{ - 'experiments.configure.goals.name' | dm - }} + + {{ 'experiments.configure.goals.name' | dm }} +
@@ -46,10 +46,10 @@

- {{ - 'experiments.goal.conditions.default' | dm - }} + + + {{ 'experiments.goal.conditions.default' | dm }} + - {{ @@ -94,8 +94,8 @@

- {{ GOALS_METADATA_MAP[vm.goals.primary.type].label | dm }} + + {{ GOALS_METADATA_MAP[vm.goals.primary.type].label | dm }} - {{ vm.goals.primary.name | dm }} diff --git a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-scheduling-add/dot-experiments-configuration-scheduling-add.component.html b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-scheduling-add/dot-experiments-configuration-scheduling-add.component.html index 22abc5a5e143..12ca9b040f84 100644 --- a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-scheduling-add/dot-experiments-configuration-scheduling-add.component.html +++ b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-scheduling-add/dot-experiments-configuration-scheduling-add.component.html @@ -38,8 +38,7 @@ [stepMinute]="30" id="endTime" data-testId="scheduling-endDate" - formControlName="endDate"> - + formControlName="endDate">

diff --git a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-scheduling/dot-experiments-configuration-scheduling.component.html b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-scheduling/dot-experiments-configuration-scheduling.component.html index e825da26727f..a078f615f1ea 100644 --- a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-scheduling/dot-experiments-configuration-scheduling.component.html +++ b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-scheduling/dot-experiments-configuration-scheduling.component.html @@ -15,9 +15,9 @@

- {{ - 'experiments.configure.scheduling.start' | dm - }} + + {{ 'experiments.configure.scheduling.start' | dm }} +
- + class="scheduling-setup-date-spacing"> + - + {{ 'end' | dm | titlecase }}: {{ vm.scheduling.endDate | date: 'EEE, LLL dd, Y, h:mm aa zz' }} diff --git a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-traffic-split-add/dot-experiments-configuration-traffic-split-add.component.html b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-traffic-split-add/dot-experiments-configuration-traffic-split-add.component.html index b33bc7449a3f..a7299d049da8 100644 --- a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-traffic-split-add/dot-experiments-configuration-traffic-split-add.component.html +++ b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-traffic-split-add/dot-experiments-configuration-traffic-split-add.component.html @@ -18,13 +18,11 @@ (click)="splitVariantsEvenly()" [label]="'experiments.configure.traffic.split.evenly' | dm" [value]="splitEvenly" - formControlName="type"> - + formControlName="type"> - + formControlName="type">
@@ -53,15 +51,14 @@ [min]="0" class="experiment-traffic-split__variants-weight p-inputtext-sm" formControlName="weight" - mode="decimal"> - + mode="decimal"> {{ variant.value.weight }} + data-testId="variant-weight"> + {{ variant.value.weight }} +
diff --git a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-traffic/dot-experiments-configuration-traffic.component.html b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-traffic/dot-experiments-configuration-traffic.component.html index f12b550fe457..c0d9d1a45a1f 100644 --- a/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-traffic/dot-experiments-configuration-traffic.component.html +++ b/core-web/libs/portlets/dot-experiments/portlet/src/lib/dot-experiments-configuration/components/dot-experiments-configuration-traffic/dot-experiments-configuration-traffic.component.html @@ -15,9 +15,9 @@

- {{ - 'experiments.configure.traffic.load.name' | dm - }} + + {{ 'experiments.configure.traffic.load.name' | dm }} +
- + [size]="16" data-testId="variant-title-step-done" name="check_circle"> - {{ - 'experiments.configure.variants.name' | dm - }} + + {{ 'experiments.configure.variants.name' | dm }} +

- + [maxLength]="maxVariantsAllowed">
@@ -34,7 +33,7 @@

variant.name === defaultVariantName || vm.disabledTooltipLabel; else editVariantNameTpl "> - {{ variant.name }} + {{ variant.name }}
- +
- + + rows="11">
@if (aiProcessedPrompt && !isLoading) {
-