From 66b48213610fc9cb4db7cccf6eaa60b0ad444b34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tr=E1=BA=A7n=20V=C4=A9nh=20Thi=E1=BB=87n=20Ph=C3=BAc?= <143604440+tvtphuc-axonivy@users.noreply.github.com> Date: Mon, 21 Oct 2024 15:35:49 +0700 Subject: [PATCH 1/8] MARP-1260 Remove Times/mal for downloads (#207) --- .../product-installation-count-action.component.html | 7 ++----- marketplace-ui/src/assets/i18n/de.yaml | 1 - marketplace-ui/src/assets/i18n/en.yaml | 1 - 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-installation-count-action/product-installation-count-action.component.html b/marketplace-ui/src/app/modules/product/product-detail/product-installation-count-action/product-installation-count-action.component.html index 98a1a2082..787cdc386 100644 --- a/marketplace-ui/src/app/modules/product/product-detail/product-installation-count-action/product-installation-count-action.component.html +++ b/marketplace-ui/src/app/modules/product/product-detail/product-installation-count-action/product-installation-count-action.component.html @@ -2,8 +2,5 @@

{{ 'common.product.detail.installation' | translate }}

-

{{this.currentInstallationCount}}

-

- {{ 'common.product.detail.times' | translate }} -

- \ No newline at end of file +

{{ this.currentInstallationCount }}

+ diff --git a/marketplace-ui/src/assets/i18n/de.yaml b/marketplace-ui/src/assets/i18n/de.yaml index 14bc3c827..d72f5089d 100644 --- a/marketplace-ui/src/assets/i18n/de.yaml +++ b/marketplace-ui/src/assets/i18n/de.yaml @@ -55,7 +55,6 @@ common: backToMainPage: Zurück zur Übersicht review: Überprüfung installation: Downloads - times: Mal type: Typ description: Beschreibung installationGuide: Installationsanleitung diff --git a/marketplace-ui/src/assets/i18n/en.yaml b/marketplace-ui/src/assets/i18n/en.yaml index 9c125bfde..40836f2ff 100644 --- a/marketplace-ui/src/assets/i18n/en.yaml +++ b/marketplace-ui/src/assets/i18n/en.yaml @@ -59,7 +59,6 @@ common: backToMainPage: Back to overview review: Review installation: Downloads - times: Times type: Type description: Description installationGuide: Installation Guide From 49548a18d5bf34af0e6cc0f621854ee210230276 Mon Sep 17 00:00:00 2001 From: vhhoang-axonivy Date: Mon, 21 Oct 2024 15:49:10 +0700 Subject: [PATCH 2/8] MARP-1251 Product detail page renders multiple time when clicking on the background (#206) --- .../product/product-detail/product-detail.component.html | 2 -- .../modules/product/product-detail/product-detail.component.ts | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.html b/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.html index 29653d343..0cad4513f 100644 --- a/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.html +++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.html @@ -152,7 +152,6 @@

- @if (!isEmptyProductContent()) { @for (displayedTab of displayedTabsSignal(); track $index) {
}
} - }
} diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.ts b/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.ts index ea153175a..bb2f7be67 100644 --- a/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.ts +++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail.component.ts @@ -322,6 +322,7 @@ export class ProductDetailComponent { handleClickOutside(event: MouseEvent) { const formSelect = this.elementRef.nativeElement.querySelector('.form-select'); + if ( formSelect && !formSelect.contains(event.target) && From e1c44b8127335c1cc07834a0362b6739865269c9 Mon Sep 17 00:00:00 2001 From: vhhoang-axonivy Date: Tue, 22 Oct 2024 14:11:21 +0700 Subject: [PATCH 3/8] MARP-1277 Fix styling of error page (#209) --- marketplace-ui/src/app/app.component.html | 4 +- marketplace-ui/src/app/app.component.scss | 4 ++ .../error-page/error-page.component.html | 6 +- .../error-page/error-page.component.scss | 63 +++++++++---------- .../components/footer/footer.component.html | 4 +- .../components/footer/footer.component.scss | 17 ++++- 6 files changed, 55 insertions(+), 43 deletions(-) diff --git a/marketplace-ui/src/app/app.component.html b/marketplace-ui/src/app/app.component.html index 016a69a82..3a65033de 100644 --- a/marketplace-ui/src/app/app.component.html +++ b/marketplace-ui/src/app/app.component.html @@ -18,9 +18,7 @@ @if (!routingQueryParamService.isDesignerEnv()) {
-
- -
+
} diff --git a/marketplace-ui/src/app/app.component.scss b/marketplace-ui/src/app/app.component.scss index 693e97949..cdd509942 100644 --- a/marketplace-ui/src/app/app.component.scss +++ b/marketplace-ui/src/app/app.component.scss @@ -14,6 +14,10 @@ footer { padding: 0 0 56px 0; border-top: 1px solid var(--ivy-secondary-border-color); margin-top: 64.14px; + + @media screen and (max-width: 991px) { + margin-top: 4rem; + } } @media all and (max-width: 992px) { diff --git a/marketplace-ui/src/app/shared/components/error-page/error-page.component.html b/marketplace-ui/src/app/shared/components/error-page/error-page.component.html index bf6cbc0f2..b4434506f 100644 --- a/marketplace-ui/src/app/shared/components/error-page/error-page.component.html +++ b/marketplace-ui/src/app/shared/components/error-page/error-page.component.html @@ -1,8 +1,8 @@
+ class="d-flex flex-column justify-content-center module-gap col-12 col-lg-4 text-center text-lg-start"> @if (errorId !== undefined) {
{{ 'common.error.code' | translate }}: {{ errorId }} @@ -14,6 +14,7 @@
-
-
+