This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release18.12 by this push:
new f0b9741 Improved: Default ordering of webapps titles in main menu
(OFBIZ-12166)
f0b9741 is described below
commit f0b974134724a6d3e07f7d85bbe29f886f528350
Author: Jacques Le Roux <[email protected]>
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.
Conflicts handled by hand applications/product/ofbiz-component.xml
---
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 | 3 +++
applications/workeffort/ofbiz-component.xml | 1 +
framework/webtools/ofbiz-component.xml | 1 +
10 files changed, 13 insertions(+)
diff --git a/applications/accounting/ofbiz-component.xml
b/applications/accounting/ofbiz-component.xml
index 31692c8..442c3ad 100644
--- a/applications/accounting/ofbiz-component.xml
+++ b/applications/accounting/ofbiz-component.xml
@@ -78,6 +78,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 350e785..5377969 100644
--- a/applications/content/ofbiz-component.xml
+++ b/applications/content/ofbiz-component.xml
@@ -47,6 +47,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 9526ef5..94f31a2 100644
--- a/applications/humanres/ofbiz-component.xml
+++ b/applications/humanres/ofbiz-component.xml
@@ -34,6 +34,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 737d5b3..c733dbd 100644
--- a/applications/manufacturing/ofbiz-component.xml
+++ b/applications/manufacturing/ofbiz-component.xml
@@ -47,6 +47,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 b5cdcea..2132fd6 100644
--- a/applications/marketing/ofbiz-component.xml
+++ b/applications/marketing/ofbiz-component.xml
@@ -38,12 +38,14 @@ under the License.
<webapp name="marketing"
title="Marketing"
+ position="11"
server="default-server"
location="webapp/marketing"
base-permission="OFBTOOLS,MARKETING"
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 7222034..d31d9ad 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"
location="webapp/ordermgr"
diff --git a/applications/party/ofbiz-component.xml
b/applications/party/ofbiz-component.xml
index d393aec..ab9cfad 100644
--- a/applications/party/ofbiz-component.xml
+++ b/applications/party/ofbiz-component.xml
@@ -41,6 +41,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 66a361d..1f3ea0b 100644
--- a/applications/product/ofbiz-component.xml
+++ b/applications/product/ofbiz-component.xml
@@ -75,13 +75,16 @@ under the License.
<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 b5a0e00..7c2e9fe 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"