Author: hansbak
Date: Wed Feb 10 03:50:50 2010
New Revision: 908341
URL:
http://svn.apache.org/viewvc?rev=908341&view=revLog:
remove application dependency from breadcrums dropdown theme
Modified:
ofbiz/trunk/themes/droppingcrumbs/includes/appbarOpen.ftl
Modified: ofbiz/trunk/themes/droppingcrumbs/includes/appbarOpen.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/themes/droppingcrumbs/includes/appbarOpen.ftl?rev=908341&r1=908340&r2=908341&view=diff==============================================================================
--- ofbiz/trunk/themes/droppingcrumbs/includes/appbarOpen.ftl (original)
+++ ofbiz/trunk/themes/droppingcrumbs/includes/appbarOpen.ftl Wed Feb 10 03:50:50 2010
@@ -58,11 +58,8 @@
<#if thisApp != "/">
<#assign thisURL = thisURL + "/control/main">
</#if>
- <#-- Show OFBiz Setup component menu bar when the system not have an organization -->
- <#if thisApp.equals("/ofbizsetup")>
- <#if PartyAcctgPrefAndGroupList.size() == 0>
- <li><a href="${thisURL + externalKeyParam}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
- </#if>
+ <#if layoutSettings.suppressTab?exists && display.name == layoutSettings.suppressTab>
+ <!-- do not display this component-->
<#else>
<li <#if selected>class="selected"</#if>><a href="${thisURL + externalKeyParam}" <#if uiLabelMap?exists> title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> title="${display.description}">${display.title}</#if></a></li>
</#if>