-
+
-
+
-
+
-
+
`
+ 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>
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 @@