svn commit: r688491 - in /ofbiz/trunk/applications/party: webapp/partymgr/party/profileblocks/ShipperAccount.ftl widget/partymgr/PartyMenus.xml widget/partymgr/ProfileScreens.xml

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

svn commit: r688491 - in /ofbiz/trunk/applications/party: webapp/partymgr/party/profileblocks/ShipperAccount.ftl widget/partymgr/PartyMenus.xml widget/partymgr/ProfileScreens.xml

hansbak-2
Author: hansbak
Date: Sun Aug 24 03:24:26 2008
New Revision: 688491

URL: http://svn.apache.org/viewvc?rev=688491&view=rev
Log:
some corrections on previous commit

Removed:
    ofbiz/trunk/applications/party/webapp/partymgr/party/profileblocks/ShipperAccount.ftl
Modified:
    ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
    ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml

Modified: ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml?rev=688491&r1=688490&r2=688491&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/PartyMenus.xml Sun Aug 24 03:24:26 2008
@@ -173,8 +173,11 @@
         </menu-item>
     </menu>
     
-    <menu name="addSchipper">
+    <menu name="addShipper">
         <menu-item name="new" title="${uiLabelMap.CommonCreateNew}">
+            <condition>
+                <if-has-permission permission="PARTYMGR" action="_CREATE"/>
+            </condition>
             <link target="editCarrierAccount?partyId=${party.partyId}"/>
         </menu-item>
     </menu>

Modified: ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml?rev=688491&r1=688490&r2=688491&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml (original)
+++ ofbiz/trunk/applications/party/widget/partymgr/ProfileScreens.xml Sun Aug 24 03:24:26 2008
@@ -444,8 +444,8 @@
                 <set field="partyId" from-field="parameters.partyId"/>
             </actions>
             <widgets>
-                <screenlet title="${uiLabelMap.PartyShipperAccount}" navigation-menu-name="addSchipper">
-                    <include-menu name="addSchipper" location="component://party/widget/partymgr/PartyMenus.xml"/>
+                <screenlet title="${uiLabelMap.PartyShipperAccount}" navigation-menu-name="addShipper">
+                    <include-menu name="addShipper" location="component://party/widget/partymgr/PartyMenus.xml"/>
                     <include-form name="ListCarrierAccounts" location="component://party/webapp/partymgr/party/PartyForms.xml"/>
                 </screenlet>
             </widgets>