svn commit: r926508 - /ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r926508 - /ofbiz/trunk/themes/tomahawk/includes/appbarOpen.ftl

hansbak-2
Author: hansbak
Date: Tue Mar 23 09:13:04 2010
New Revision: 926508

URL: http://svn.apache.org/viewvc?rev=926508&view=rev
Log:
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>