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 b63b3e8a66 Improved: Make theme variants visible in demo sites 
(OFBIZ-13024) (#756)
b63b3e8a66 is described below

commit b63b3e8a6602c40d3ffb863733e9eb9d546240ad
Author: Pierre Smits <pierre.sm...@somonar.com>
AuthorDate: Thu Apr 18 09:23:22 2024 +0200

    Improved: Make theme variants visible in demo sites (OFBIZ-13024) (#756)
    
    * Improved: Make theme variants visible in demo sites (OFBIZ-13024)
    
    Currently we have 58 UserLogin records in demo data, and 12 back-office 
VisualTheme records in our demo data sets.
    In order to have more visibilities of the various themes, we should set for 
various UserLogins the theme as a preference.
    
    modified: PartyDemoData.xml
    - added UserPreference records relating to themes
    
    * Update PartyDemoData.xml
    
    Removes one of the bizadmin duplicates.
    
    ---------
    
    Co-authored-by: Jacques Le Roux <jacques.le.r...@les7arts.com>
---
 applications/datamodel/data/demo/PartyDemoData.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/applications/datamodel/data/demo/PartyDemoData.xml 
b/applications/datamodel/data/demo/PartyDemoData.xml
index d268af3c4e..2e1f2a3d4a 100644
--- a/applications/datamodel/data/demo/PartyDemoData.xml
+++ b/applications/datamodel/data/demo/PartyDemoData.xml
@@ -126,4 +126,15 @@ under the License.
     <!-- PartyClassification data -->
     <PartyClassificationGroup partyClassificationGroupId="EMEA" 
description="Europe and Middle East" partyClassificationTypeId="REGION"/>
     <PartyClassificationGroup partyClassificationGroupId="APAC" 
description="Asia and Pacific" partyClassificationTypeId="REGION"/>
+
+    <UserPreference userLoginId="auditor" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="BLUELIGHT"/>
+    <UserPreference userLoginId="FrenchCustomer" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="FLAT_GREY"/>
+    <UserPreference userLoginId="bizadmin" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="HELVETICUS_SAPHIR"/>
+    <UserPreference userLoginId="accountingadmin" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="HELVETICUS_RUBY"/>
+    <UserPreference userLoginId="DemoBuyer" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="HELVETICUS_EMERALD"/>
+    <UserPreference userLoginId="DemoSupplier" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="RAINBOWSTONE_SAPHIR"/>
+    <UserPreference userLoginId="DemoCustomer" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="RAINBOWSTONE_RUBY"/>
+    <UserPreference userLoginId="DemoEmployee" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="RAINBOWSTONE_EMERALD"/>
+    <UserPreference userLoginId="productowner" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="RAINBOWSTONE_AMBER"/>
+    <UserPreference userLoginId="scrummaster" 
userPrefGroupTypeId="GLOBAL_PREFERENCES" userPrefTypeId="VISUAL_THEME" 
userPrefValue="TOMAHAWK"/>
 </entity-engine-xml>

Reply via email to