{{ 'common.product.detail.information.value.tag' | translate }}
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.html b/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.html
index 15e185a93..eac66489e 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.html
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.html
@@ -1,20 +1,12 @@
-
- <!-- {{ productModuleContent.name }} -->
-
- <dependency>
-
- <groupId>{{ productModuleContent.groupId }}</groupId>
-
- <artifactId>{{
- productModuleContent.artifactId
- }}</artifactId>
-
- <version>{{
- selectedVersion.replaceAll('Version ', '')
- }}</version>
-
- <type>{{ productModuleContent.type }}</type>
-
- </dependency>
-
\ No newline at end of file
+
+
+ <!-- {{ getProductName() }} -->
+ <dependency>
+ <groupId>{{ productDetail.productModuleContent.groupId }}</groupId>
+ <artifactId>{{productDetail.productModuleContent.artifactId}}</artifactId>
+ <version>{{ selectedVersion.replaceAll('Version ', '') }}</version>
+ <type>{{ productDetail.productModuleContent.type }}</type>
+ </dependency>
+
+
\ No newline at end of file
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.scss b/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.scss
index e69de29bb..0c04bfd6e 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.scss
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.scss
@@ -0,0 +1,3 @@
+pre {
+ border: 1px solid #c7d426;
+}
\ No newline at end of file
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.spec.ts b/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.spec.ts
index 5fc90702b..6130b7de4 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.spec.ts
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.spec.ts
@@ -15,7 +15,7 @@ describe('ProductDetailMavenContentComponent', () => {
fixture = TestBed.createComponent(ProductDetailMavenContentComponent);
component = fixture.componentInstance;
- component.productModuleContent = MOCK_PRODUCT_DETAIL.productModuleContent;
+ component.productDetail = MOCK_PRODUCT_DETAIL;
component.selectedVersion = '1.0.0';
fixture.detectChanges();
});
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.ts b/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.ts
index a645e68e9..bf944286c 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.ts
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-maven-content/product-detail-maven-content.component.ts
@@ -1,7 +1,8 @@
import { Component, inject, Input } from '@angular/core';
import { TranslateModule } from '@ngx-translate/core';
-import { ProductModuleContent } from '../../../../shared/models/product-module-content.model';
import { LanguageService } from '../../../../core/services/language/language.service';
+import { Language } from '../../../../shared/enums/language.enum';
+import { ProductDetail } from '../../../../shared/models/product-detail.model';
@Component({
selector: 'app-product-detail-maven-content',
@@ -12,9 +13,13 @@ import { LanguageService } from '../../../../core/services/language/language.ser
})
export class ProductDetailMavenContentComponent {
@Input()
- productModuleContent!: ProductModuleContent;
+ productDetail!: ProductDetail;
@Input()
selectedVersion!: string;
languageService = inject(LanguageService);
+
+ getProductName() {
+ return this.productDetail.names[Language.EN];
+ }
}
diff --git a/marketplace-ui/src/app/modules/product/product-detail/product-detail-version-action/product-detail-version-action.component.html b/marketplace-ui/src/app/modules/product/product-detail/product-detail-version-action/product-detail-version-action.component.html
index cf558e51b..ba5356303 100644
--- a/marketplace-ui/src/app/modules/product/product-detail/product-detail-version-action/product-detail-version-action.component.html
+++ b/marketplace-ui/src/app/modules/product/product-detail/product-detail-version-action/product-detail-version-action.component.html
@@ -1,37 +1,39 @@
-@switch(actionType){
+@switch (actionType) {
@case ('standard') {
-