Author: jacopoc
Date: Fri Jul 20 00:26:12 2007
New Revision: 557902
URL:
http://svn.apache.org/viewvc?view=rev&rev=557902Log:
Small improvement to the ecommerce sideepcategory.
Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl
Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl?view=diff&rev=557902&r1=557901&r2=557902==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl Fri Jul 20 00:26:12 2007
@@ -43,13 +43,13 @@
<#if wrapInBox == "Y">
<div class="screenlet">
<div class="screenlet-header">
- <div class="boxhead"><#if categoryName?has_content>${categoryName}<#else>${categoryDescription?default("")}</#if></div>
+ <div class="boxhead"><#if categoryDescription?has_content>${categoryDescription}<#else>${categoryName?default("")}</#if></div>
</div>
<div class="screenlet-body">
<div style='margin-left: 10px;'>
</#if>
<div class="browsecategorytext">
- - <a href="<@ofbizUrl>category/~category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="${browseCategoryButtonClass}"><#if categoryDescription?has_content>${categoryDescription}<#else>${categoryName?default("")}</#if></a>
+ - <a href="<@ofbizUrl>category/~category_id=${category.productCategoryId}${pStr?if_exists}</@ofbizUrl>" class="${browseCategoryButtonClass}"><#if categoryName?has_content>${categoryName}<#else>${categoryDescription?default("")}</#if></a>
</div>
<#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?exists && curCategoryId == category.productCategoryId)>
<#local subCatList = Static["org.ofbiz.product.category.CategoryWorker"].getRelatedCategoriesRet(request, "subCatList", category.getString("productCategoryId"), true)>