Skip to content

Commit 42ab48f

Browse files
LPD-51089 SF
1 parent 9c6f640 commit 42ab48f

File tree

1 file changed

+10
-11
lines changed
  • workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-site-initializer/site-initializer/ddm-templates/marketplace-apps-categories

1 file changed

+10
-11
lines changed

workspaces/liferay-marketplace-workspace/client-extensions/liferay-marketplace-site-initializer/site-initializer/ddm-templates/marketplace-apps-categories/ddm-template.ftl

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,15 @@
7777
</style>
7878

7979
<#assign
80-
productTypeValues =
81-
{
82-
"client-extension": "Client Extension",
83-
"cloud": "Cloud App",
84-
"composite-app": "Composite App",
85-
"dxp": "DXP App",
86-
"low-code-configuration": "Low-Code"
87-
}
80+
productTypeValues = {
81+
"client-extension": "Client Extension",
82+
"cloud": "Cloud App",
83+
"composite-app": "Composite App",
84+
"dxp": "DXP App",
85+
"low-code-configuration": "Low-Code"
86+
}
8887

89-
VOCABULARY_PRODUCT_CATEGORY = "MARKETPLACE APP CATEGORY"
88+
vocabularyProductCategory = "MARKETPLACE APP CATEGORY"
9089
/>
9190

9291
<#if themeDisplay?has_content>
@@ -138,7 +137,7 @@
138137
</#if>
139138

140139
<#if categories?has_content>
141-
<#assign filteredCategories = categories?filter(category -> category.vocabulary?upper_case == VOCABULARY_PRODUCT_CATEGORY) />
140+
<#assign filteredCategories = categories?filter(category -> category.vocabulary?upper_case == vocabularyProductCategory) />
142141

143142
<#if filteredCategories?has_content && appType?has_content>
144143
<span class="align-items-center d-flex justify-content-between">
@@ -149,7 +148,7 @@
149148
</#if>
150149

151150
<#list categories as category>
152-
<#if category.vocabulary?upper_case == VOCABULARY_PRODUCT_CATEGORY>
151+
<#if category.vocabulary?upper_case == vocabularyProductCategory>
153152
<span class="app-category bg-neutral-8 border-radius-small mb-1 mr-2 px-3 rounded-lg" title="${category.name}">
154153
${category.name}
155154
</span>

0 commit comments

Comments
 (0)