You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by bu...@apache.org on 2010/02/17 21:44:40 UTC
svn commit: r911170 - /ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl
Author: buscob
Date: Wed Feb 17 20:44:40 2010
New Revision: 911170
URL: http://svn.apache.org/viewvc?rev=911170&view=rev
Log:
Removed framework dependency from tomahawk theme (same as rev. 908341)
Modified:
ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl
Modified: ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl?rev=911170&r1=911169&r2=911170&view=diff
==============================================================================
--- ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl (original)
+++ ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl Wed Feb 17 20:44:40 2010
@@ -58,13 +58,10 @@
<#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>
+ <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>
</#if>
</#list>