[ofbiz-framework] branch trunk updated: Improved: Default ordering of webapps titles in main menu (OFBIZ-12166)

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

[ofbiz-framework] branch trunk updated: Improved: Default ordering of webapps titles in main menu (OFBIZ-12166)

jleroux@apache.org
This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a2dac54  Improved: Default ordering of webapps titles in main menu (OFBIZ-12166)
a2dac54 is described below

commit a2dac5482cc7aa4049dce59e6551b5702549659a
Author: Jacques Le Roux <[hidden email]>
AuthorDate: Sun Feb 14 21:11:58 2021 +0100

    Improved: Default ordering of webapps titles in main menu (OFBIZ-12166)
   
    [...] having more important apps in 1st places would be better [...]
    the feature should be easily changed by custom projects [...]
    documentation for that would be enough.
   
    This 1st step sorts the applications and webtools. I believe webtools should not
    be secondary but that needs to be discussed with other options.
---
 applications/accounting/ofbiz-component.xml    |  1 +
 applications/content/ofbiz-component.xml       |  1 +
 applications/humanres/ofbiz-component.xml      |  1 +
 applications/manufacturing/ofbiz-component.xml |  1 +
 applications/marketing/ofbiz-component.xml     |  2 ++
 applications/order/ofbiz-component.xml         |  1 +
 applications/party/ofbiz-component.xml         |  1 +
 applications/product/ofbiz-component.xml       | 18 ++++++++++--------
 applications/workeffort/ofbiz-component.xml    |  1 +
 framework/webtools/ofbiz-component.xml         |  1 +
 10 files changed, 20 insertions(+), 8 deletions(-)

diff --git a/applications/accounting/ofbiz-component.xml b/applications/accounting/ofbiz-component.xml
index 503f300..b174ce0 100644
--- a/applications/accounting/ofbiz-component.xml
+++ b/applications/accounting/ofbiz-component.xml
@@ -77,6 +77,7 @@ under the License.
 
     <webapp name="accounting"
         title="Accounting"
+        position="5"
         server="default-server"
         location="webapp/accounting"
         base-permission="OFBTOOLS,ACCOUNTING"
diff --git a/applications/content/ofbiz-component.xml b/applications/content/ofbiz-component.xml
index 1fa9978..34a886f 100644
--- a/applications/content/ofbiz-component.xml
+++ b/applications/content/ofbiz-component.xml
@@ -46,6 +46,7 @@ under the License.
 
     <webapp name="content"
         title="Content"
+        position="6"
         server="default-server"
         location="webapp/content"
         base-permission="OFBTOOLS,CONTENTMGR"
diff --git a/applications/humanres/ofbiz-component.xml b/applications/humanres/ofbiz-component.xml
index 50b6644..18b12af 100644
--- a/applications/humanres/ofbiz-component.xml
+++ b/applications/humanres/ofbiz-component.xml
@@ -33,6 +33,7 @@ under the License.
 
     <webapp name="humanres"
         title="HR"
+        position="10"
         description="HumanResourceApplication"
         server="default-server"
         location="webapp/humanres"
diff --git a/applications/manufacturing/ofbiz-component.xml b/applications/manufacturing/ofbiz-component.xml
index 1b0612e..4f4925e 100644
--- a/applications/manufacturing/ofbiz-component.xml
+++ b/applications/manufacturing/ofbiz-component.xml
@@ -45,6 +45,7 @@ under the License.
 
     <!-- web applications; will be mounted when using the embedded container -->
     <webapp name="manufacturing"
+        position="7"
         title="Manufacturing"
         server="default-server"
         location="webapp/manufacturing"
diff --git a/applications/marketing/ofbiz-component.xml b/applications/marketing/ofbiz-component.xml
index f8c6106..913aff5 100644
--- a/applications/marketing/ofbiz-component.xml
+++ b/applications/marketing/ofbiz-component.xml
@@ -37,6 +37,7 @@ under the License.
 
     <webapp name="marketing"
         title="Marketing"
+        position="11"
         server="default-server"
         location="webapp/marketing"
         base-permission="OFBTOOLS,MARKETING"
@@ -44,6 +45,7 @@ under the License.
         mount-point="/marketing"/>
     <webapp name="SalesForceAutomation"
         title="SFA"
+        position="8"
         server="default-server"
         location="webapp/sfa"
         base-permission="OFBTOOLS,SFA"
diff --git a/applications/order/ofbiz-component.xml b/applications/order/ofbiz-component.xml
index 7fc3a3a..7e05aaa 100644
--- a/applications/order/ofbiz-component.xml
+++ b/applications/order/ofbiz-component.xml
@@ -57,6 +57,7 @@ under the License.
 
     <webapp name="order"
         title="Order"
+        position="4"
         description="OrderComponentDescription"
         server="default-server"
         app-shortcut-screen="component://order/widget/ordermgr/CommonScreens.xml#ShortcutApp"
diff --git a/applications/party/ofbiz-component.xml b/applications/party/ofbiz-component.xml
index 456682b..da2fa6a 100644
--- a/applications/party/ofbiz-component.xml
+++ b/applications/party/ofbiz-component.xml
@@ -42,6 +42,7 @@ under the License.
 
     <webapp name="party"
         title="Party"
+        position="1"
         description="PartyComponentDescription"
         server="default-server"
         location="webapp/partymgr"
diff --git a/applications/product/ofbiz-component.xml b/applications/product/ofbiz-component.xml
index 0673043..0276895 100644
--- a/applications/product/ofbiz-component.xml
+++ b/applications/product/ofbiz-component.xml
@@ -75,16 +75,18 @@ under the License.
     <test-suite loader="main" location="testdef/ProductPromoTests.xml"/>
     <test-suite loader="main" location="testdef/ProductConfigTests.xml"/>
 
-        <webapp name="catalog"
-            title="Catalog"
-            description="CatalogComponentDescription"
-            server="default-server"
-            location="webapp/catalog"
-            base-permission="OFBTOOLS,CATALOG"
-            app-shortcut-screen="component://product/widget/catalog/CatalogScreens.xml#ShortcutApp"
-            mount-point="/catalog"/>
+    <webapp name="catalog"
+        title="Catalog"
+        position="2"
+        description="CatalogComponentDescription"
+        server="default-server"
+        location="webapp/catalog"
+        base-permission="OFBTOOLS,CATALOG"
+        app-shortcut-screen="component://product/widget/catalog/CatalogScreens.xml#ShortcutApp"
+        mount-point="/catalog"/>
     <webapp name="facility"
         title="Facility"
+        position="3"
         description="FacilityComponentDescription"
         server="default-server"
         location="webapp/facility"
diff --git a/applications/workeffort/ofbiz-component.xml b/applications/workeffort/ofbiz-component.xml
index 8ec2292..070e58a 100644
--- a/applications/workeffort/ofbiz-component.xml
+++ b/applications/workeffort/ofbiz-component.xml
@@ -40,6 +40,7 @@ under the License.
 
      <webapp name="workeffort"
         title="WorkEffort"
+        position="9"
         server="default-server"
         location="webapp/workeffort"
         base-permission="OFBTOOLS,WORKEFFORTMGR"
diff --git a/framework/webtools/ofbiz-component.xml b/framework/webtools/ofbiz-component.xml
index 662e606..09e0c2d 100644
--- a/framework/webtools/ofbiz-component.xml
+++ b/framework/webtools/ofbiz-component.xml
@@ -29,6 +29,7 @@ under the License.
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <webapp name="webtools"
         title="WebTools"
+        position="12"
         menu-name="secondary"
         server="default-server"
         location="webapp/webtools"