diff --git a/core-web/libs/portlets/dot-categories/src/lib/dot-categories-import/dot-categories-import.component.html b/core-web/libs/portlets/dot-categories/src/lib/dot-categories-import/dot-categories-import.component.html index 062ad4848d74..7cf4a03cd627 100644 --- a/core-web/libs/portlets/dot-categories/src/lib/dot-categories-import/dot-categories-import.component.html +++ b/core-web/libs/portlets/dot-categories/src/lib/dot-categories-import/dot-categories-import.component.html @@ -14,81 +14,85 @@
- -
+ + +
- + class="w-24 h-24 shrink-0 rounded-full bg-primary-100 text-primary flex items-center justify-center transition-colors group-hover:bg-primary-200"> +
-

- {{ 'categories.import.drag-drop' | dm }} -

-

- {{ 'categories.import.csv-only' | dm }} + +

+ {{ 'categories.import.dropzone.prefix' | dm }} + + {{ 'categories.import.choose-file' | dm }} + + {{ 'categories.import.dropzone.suffix' | dm }}

-

- {{ 'categories.import.flat-only' | dm }} + +

+ {{ 'categories.import.csv-only' | dm }} +
+ +
+ {{ 'categories.import.flat-only' | dm }} -

-
- - - @if ($selectedFile(); as file) { -
- - {{ file.name }} -
- } + + @if ($selectedFile(); as file) { + {{ file.name }} + } +
-
+
{{ 'categories.import.type' | dm }} -
- - -
-
- - +
+
+ + +
+
+ + +
diff --git a/core-web/libs/portlets/dot-plugins/src/lib/dot-plugins-list/dot-plugins-list.component.html b/core-web/libs/portlets/dot-plugins/src/lib/dot-plugins-list/dot-plugins-list.component.html index 827ba3ee759e..503801eb27b9 100644 --- a/core-web/libs/portlets/dot-plugins/src/lib/dot-plugins-list/dot-plugins-list.component.html +++ b/core-web/libs/portlets/dot-plugins/src/lib/dot-plugins-list/dot-plugins-list.component.html @@ -20,14 +20,14 @@ }
- + diff --git a/core-web/libs/portlets/edit-ema/ui/src/lib/dot-content-compare/components/dot-content-compare-table/dot-content-compare-table.component.html b/core-web/libs/portlets/edit-ema/ui/src/lib/dot-content-compare/components/dot-content-compare-table/dot-content-compare-table.component.html index 4cc59bd46c65..98ef508aaa32 100644 --- a/core-web/libs/portlets/edit-ema/ui/src/lib/dot-content-compare/components/dot-content-compare-table/dot-content-compare-table.component.html +++ b/core-web/libs/portlets/edit-ema/ui/src/lib/dot-content-compare/components/dot-content-compare-table/dot-content-compare-table.component.html @@ -20,8 +20,10 @@ @if ($showActions()) {
diff --git a/core-web/libs/portlets/edit-ema/ui/src/lib/dot-content-compare/components/dot-content-compare-table/dot-content-compare-table.component.spec.ts b/core-web/libs/portlets/edit-ema/ui/src/lib/dot-content-compare/components/dot-content-compare-table/dot-content-compare-table.component.spec.ts index f5be8a44b82c..c8978fad1bac 100644 --- a/core-web/libs/portlets/edit-ema/ui/src/lib/dot-content-compare/components/dot-content-compare-table/dot-content-compare-table.component.spec.ts +++ b/core-web/libs/portlets/edit-ema/ui/src/lib/dot-content-compare/components/dot-content-compare-table/dot-content-compare-table.component.spec.ts @@ -343,6 +343,10 @@ describe('DotContentCompareTableComponent', () => { const dropdown: Select = de.query(By.css('p-select')).componentInstance; expect(dropdown.options).toEqual(dotContentCompareTableDataMock.versions); }); + it('should show data.compare as the initially selected version in the dropdown', () => { + const dropdown: Select = de.query(By.css('p-select')).componentInstance; + expect(dropdown.value).toEqual(dotContentCompareTableDataMock.compare); + }); it('should show selectButton', () => { const select: SelectButton = de.query( By.css('[data-testId="show-diff"]') diff --git a/dotCMS/src/main/webapp/WEB-INF/messages/Language.properties b/dotCMS/src/main/webapp/WEB-INF/messages/Language.properties index 0857e7f46056..ba2e0d696f7f 100644 --- a/dotCMS/src/main/webapp/WEB-INF/messages/Language.properties +++ b/dotCMS/src/main/webapp/WEB-INF/messages/Language.properties @@ -5855,7 +5855,7 @@ locales.variables=Variables locales.edit.locale=Edit Locale locales.add.locale=Add Locale locales.menu=Menu -locales.search.placeholder=Search locales... +locales.search.placeholder=Search locales.edit=Edit Locale locales.push.publish=Push Publish locales.delete=Delete @@ -6619,7 +6619,7 @@ usage.dashboard.lastUpdated=Last Updated usage.dashboard.cacheInfo=Data is cached and refreshed every 5 minutes ## Tags Portlet -tags.search.placeholder=Search tags... +tags.search.placeholder=Search tags.export=Export tags.export.all=Export All tags.import=Import @@ -6639,7 +6639,7 @@ tags.save=Save tags.update=Update tags.done=Done tags.import.header=Import Tags -tags.import.instructions=Please upload the correspondent file you want to upload, such as.... +tags.import.instructions=Please upload the correspondent file you want to upload. tags.import.column.tag-name=Tag Name tags.import.column.tag-name.description=The name of the tag (required) tags.import.column.host-id=Host ID @@ -6666,7 +6666,7 @@ plugins.load=Load plugins.upload=Upload plugins.refresh=Refresh plugins.refresh-table=Refresh Table -plugins.search=Search plugins... +plugins.search=Search plugins.show-undeployed=Show undeployed plugins.extra-packages=Exported Packages plugins.table.name=Name @@ -6750,6 +6750,9 @@ categories.import.flat-only.tooltip=To import into nested categories, navigate t categories.import.success={0} categories imported successfully. categories.import.partial-success={0} categories imported. {1} failed. categories.import.drag-drop=Drag & drop a CSV file or click to browse +categories.import.dropzone.prefix=Drag & drop files or +categories.import.choose-file=Choose CSV File +categories.import.dropzone.suffix=to upload categories.import.remove-file=Remove file categories.import.type=Import Type categories.import.type.merge=Merge @@ -6757,7 +6760,7 @@ categories.import.type.replace=Replace categories.permissions=Permissions categories.permissions.placeholder=Permissions for this category will be managed here. categories.save=Save -categories.search.placeholder=Search categories... +categories.search.placeholder=Search categories.table.header.children=Children categories.table.header.key=Key categories.table.header.name=Name