diff --git a/marketplace-ui/src/app/modules/product/product-card/product-card.component.html b/marketplace-ui/src/app/modules/product/product-card/product-card.component.html
index bd404c3ba..dd414407c 100644
--- a/marketplace-ui/src/app/modules/product/product-card/product-card.component.html
+++ b/marketplace-ui/src/app/modules/product/product-card/product-card.component.html
@@ -7,7 +7,10 @@
width="70"
height="70"
[ngSrc]="product | logo"
- [alt]="product.names | multilingualism: languageService.selectedLanguage()" />
+ [alt]="
+ product.names | multilingualism: languageService.selectedLanguage()
+ "
+ [lang]="languageService.selectedLanguage()" />
@if (isShowInRESTClientEditor) {
} @else {
{{ 'common.filter.value.' + product.type | translate }}
@@ -23,13 +27,15 @@
}
-
- {{
- product.names | multilingualism: languageService.selectedLanguage()
- }}
+
+ {{ product.names | multilingualism: languageService.selectedLanguage() }}
@if (!isShowInRESTClientEditor) {
-
+
{{
product.shortDescriptions
| multilingualism: languageService.selectedLanguage()
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-detail-feedback.component.html b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-detail-feedback.component.html
index 196c02984..de0d9b4fb 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-detail-feedback.component.html
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-detail-feedback.component.html
@@ -1,15 +1,15 @@
@if (isShowBtnMore()) {
-
-
- {{ 'common.feedback.showMoreBtnLabel' | translate }}
-
-
+
+
+ {{ 'common.feedback.showMoreBtnLabel' | translate }}
+
+
}
\ No newline at end of file
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-detail-feedback.component.ts b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-detail-feedback.component.ts
index 7b4e4d318..3ed5bab2a 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-detail-feedback.component.ts
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-detail-feedback.component.ts
@@ -11,6 +11,7 @@ import { ProductFeedbacksPanelComponent } from './product-feedbacks-panel/produc
import { AppModalService } from '../../../../shared/services/app-modal.service';
import { ProductFeedbackService } from './product-feedbacks-panel/product-feedback.service';
import { TranslateModule } from '@ngx-translate/core';
+import { LanguageService } from '../../../../core/services/language/language.service';
const MAX_ELEMENTS = 6;
@@ -41,6 +42,7 @@ export class ProductDetailFeedbackComponent {
productFeedbackService = inject(ProductFeedbackService);
appModalService = inject(AppModalService);
+ languageService = inject(LanguageService);
showPopup!: boolean;
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/feedback-filter/feedback-filter.component.html b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/feedback-filter/feedback-filter.component.html
index 1741cde6d..9df399dcb 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/feedback-filter/feedback-filter.component.html
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/feedback-filter/feedback-filter.component.html
@@ -1,14 +1,12 @@
-
{{'common.sort.label' | translate}}:
-
{{'common.sort.label' |
+ translate}}:
+
@for (type of feedbackSortTypes; track $index) {
-
- {{ type.label | translate }}
-
+
+ {{ type.label | translate }}
+
}
-
+
\ No newline at end of file
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/feedback-filter/feedback-filter.component.ts b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/feedback-filter/feedback-filter.component.ts
index e8b316b5a..1a7645579 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/feedback-filter/feedback-filter.component.ts
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/feedback-filter/feedback-filter.component.ts
@@ -3,6 +3,7 @@ import { TranslateModule } from '@ngx-translate/core';
import { FEEDBACK_SORT_TYPES } from '../../../../../../shared/constants/common.constant';
import { FormsModule } from '@angular/forms';
import { ProductFeedbackService } from '../product-feedback.service';
+import { LanguageService } from '../../../../../../core/services/language/language.service';
@Component({
selector: 'app-feedback-filter',
@@ -17,6 +18,7 @@ export class FeedbackFilterComponent {
@Output() sortChange = new EventEmitter
();
productFeedbackService = inject(ProductFeedbackService);
+ languageService = inject(LanguageService);
onSortChange(event: Event): void {
const selectElement = event.target as HTMLSelectElement;
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedbacks-panel.component.html b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedbacks-panel.component.html
index 37067feed..3e674a7e7 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedbacks-panel.component.html
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedbacks-panel.component.html
@@ -1,27 +1,27 @@
@if (isRenderInModalDialog) {
-
- @for (feedback of feedbacks(); track $index) {
-
- }
-
+
+ @for (feedback of feedbacks(); track $index) {
+
+ }
+
} @else if (isMobileMode()) {
-
- @for (feedback of feedbacks(); track $index) {
-
- }
-
+
+ @for (feedback of feedbacks(); track $index) {
+
+ }
+
} @else {
-
- @for (feedback of feedbacks() | slice:0:6; track $index) {
-
- }
-
+
+ @for (feedback of feedbacks() | slice:0:6; track $index) {
+
+ }
+
}
-
+
\ No newline at end of file
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedbacks-panel.component.ts b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedbacks-panel.component.ts
index 6f2c46cca..3531a69fc 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedbacks-panel.component.ts
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-feedback/product-feedbacks-panel/product-feedbacks-panel.component.ts
@@ -15,6 +15,7 @@ import { ThemeService } from '../../../../../core/services/theme/theme.service';
import { Feedback } from '../../../../../shared/models/feedback.model';
import { CommonModule } from '@angular/common';
import { ProductDetailService } from '../../product-detail.service';
+import { LanguageService } from '../../../../../core/services/language/language.service';
interface CustomElement extends HTMLElement {
scrollTop: number;
@@ -43,6 +44,7 @@ export class ProductFeedbacksPanelComponent {
themeService = inject(ThemeService);
productFeedbackService = inject(ProductFeedbackService);
productDetailService = inject(ProductDetailService);
+ languageService = inject(LanguageService);
feedbacks: Signal