diff --git a/modules/apps/site-initializer/site-initializer-liferay-marketplace/src/main/resources/site-initializer/ddm-templates/marketplace-apps-categories/ddm-template.ftl b/modules/apps/site-initializer/site-initializer-liferay-marketplace/src/main/resources/site-initializer/ddm-templates/marketplace-apps-categories/ddm-template.ftl index 92f8cf5146c32b..37d912194d1d97 100644 --- a/modules/apps/site-initializer/site-initializer-liferay-marketplace/src/main/resources/site-initializer/ddm-templates/marketplace-apps-categories/ddm-template.ftl +++ b/modules/apps/site-initializer/site-initializer-liferay-marketplace/src/main/resources/site-initializer/ddm-templates/marketplace-apps-categories/ddm-template.ftl @@ -5,14 +5,13 @@ .app-container .app-category { background-color: #e6ebf5; - padding: 6px 8px 4px 8px; + padding: 6px 8px 4px } .app-container .app-product-type { - color:#2e5aac; border-color: #2e5aac !important; - padding: 4px 8px 4px 8px; - + color:#2e5aac; + padding: 4px 8px; } @media screen and (max-width: 768px) { @@ -28,17 +27,16 @@ .app-container .app-category, .app-container .app-product-type { - padding: 2px 4px 2px 4px; + padding: 2px 4px; } } - <#assign + PRODUCT_TYPE_CLOUD = "CLOUD" + PRODUCT_TYPE_DXP = "DXP" PRODUCT_TYPE_FREE = "FREE" PRODUCT_TYPE_PAID = "PAID" - PRODUCT_TYPE_DXP = "DXP" - PRODUCT_TYPE_CLOUD = "CLOUD" VOCABULARY_PRODUCT_CATEGORY = "MARKETPLACE APP CATEGORY" /> @@ -49,8 +47,8 @@ <#if currentURL?has_content> <#if currentURL?contains('web')> <#assign - partsUrl = currentURL?split('/') index = 2 + partsUrl = currentURL?split('/') siteName = partsUrl[index..index]?join('/') /> #if> @@ -68,8 +66,8 @@ <#assign product = restClient.get("/headless-commerce-delivery-catalog/v1.0/channels/"+ channelId +"/products/"+ productId +"?accountId=-1&nestedFields=productSpecifications,categories") - productSpecifications = product.productSpecifications![] categories = product.categories![] + productSpecifications = product.productSpecifications![] />