You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2008/12/25 04:11:31 UTC
svn commit: r729390 -
/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl
Author: hansbak
Date: Wed Dec 24 19:11:31 2008
New Revision: 729390
URL: http://svn.apache.org/viewvc?rev=729390&view=rev
Log:
make space for picture on the summary listing if one is defined on the category
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl?rev=729390&r1=729389&r2=729390&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl Wed Dec 24 19:11:31 2008
@@ -71,7 +71,8 @@
<#if categoryImageUrl?has_content || longDescription?has_content>
<div>
<#if categoryImageUrl?has_content>
- <img src='<@o...@ofbizContentUrl>' vspace='5' hspace='5' border='1' height='100' align='left'/>
+ <#assign height=100/>
+ <img src='<@o...@ofbizContentUrl>' vspace='5' hspace='5' border='1' height='${height}' align='left'/>
</#if>
<#if longDescription?has_content>
${longDescription}
@@ -94,7 +95,11 @@
<#assign numCol = numCol?default(1)>
<#assign numCol = numCol?number>
<#assign tabCol = 1>
- <div class="productsummary-container<#if (numCol?int > 1)> matrix</#if>">
+ <div
+ <#if categoryImageUrl?has_content>
+ style="position: relative; margin-top: ${height}px;"
+ </#if>
+ class="productsummary-container<#if (numCol?int > 1)> matrix</#if>">
<#if (numCol?int > 1)>
<table>
</#if>