Author: hansbak
Date: Tue Mar 23 09:13:04 2010
New Revision: 926508
URL:
http://svn.apache.org/viewvc?rev=926508&view=revLog:
remove dependency on commext component
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=926508&r1=926507&r2=926508&view=diff==============================================================================
--- ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl (original)
+++ ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl Tue Mar 23 09:13:04 2010
@@ -88,11 +88,8 @@ under the License.
<#if thisApp != "/">
<#assign thisURL = StringUtil.wrapString(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>