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 6107063aa5 Fixed: BlueLight theme error when launching OFBiz 
(OFBIZ-12938)
6107063aa5 is described below

commit 6107063aa561d78f3ac8850351b2526d0e3fc026
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Wed Mar 13 09:21:55 2024 +0100

    Fixed: BlueLight theme error when launching OFBiz (OFBIZ-12938)
    
    We have an error for BlueLight theme.
    HumanResShortcutAppBar and AccountingShortcutAppBar are concerned.
    Tomahawk (derived from BlueLight) is OK.
    
    This simply replace the corresponding lines in BlueLight by the sole one in
    Tomahawk.  I also noted that there is in BlueLight the same line at line 84
    before patching
    
    Thanks: Pierre Smits for help
---
 themes/bluelight/template/AppBarOpen.ftl | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/themes/bluelight/template/AppBarOpen.ftl 
b/themes/bluelight/template/AppBarOpen.ftl
index 99e82bf7e7..084f471eb5 100644
--- a/themes/bluelight/template/AppBarOpen.ftl
+++ b/themes/bluelight/template/AppBarOpen.ftl
@@ -54,14 +54,7 @@ under the License.
               <#if layoutSettings.suppressTab?? && display.name == 
layoutSettings.suppressTab>
                 <!-- do not display this component-->
               <#else>
-                  <li <#if selected>class="selected"</#if>>
-                      <a href="${thisURL + externalKeyParam}" <#if 
uiLabelMap??> 
title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> 
title="${display.description}">${display.title}</#if></a>
-                      <#if thisAppShortcutScreen?has_content>
-                          <ul class="shortcut">
-                              ${screens.render(thisAppShortcutScreen)!}
-                          </ul>
-                      </#if>
-                  </li>
+                <li <#if selected>class="selected"</#if>><a href="${thisURL + 
externalKeyParam}" <#if uiLabelMap??> 
title="${uiLabelMap[display.description]}">${uiLabelMap[display.title]}<#else> 
title="${display.description}">${display.title}</#if></a></li>
               </#if>
             </#list>
            </ul></li>

Reply via email to