You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2020/02/12 11:11:53 UTC

[ofbiz-framework] branch trunk updated: Implemented: Add 'controlPath' attribute

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 e1e1a48  Implemented: Add 'controlPath' attribute
e1e1a48 is described below

commit e1e1a4813d05f236ea851c729d3b01f5c2ff44a4
Author: Pierre Smits <pi...@apache.org>
AuthorDate: Tue Feb 11 10:24:10 2020 +0100

    Implemented: Add 'controlPath' attribute
    
    (OFBIZ-11317)
    
    added: Missed aspected in header.ftl in bluelight theme
    (cherry picked from commit ae98498701a8c5e28e9b58af0bb3b64c4d2e511a)
---
 themes/bluelight/template/Header.ftl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/themes/bluelight/template/Header.ftl b/themes/bluelight/template/Header.ftl
index 7f1038b..16fcea2 100644
--- a/themes/bluelight/template/Header.ftl
+++ b/themes/bluelight/template/Header.ftl
@@ -176,11 +176,11 @@ under the License.
                         </li>
                     </#if>
                 </#if>
-                <li class="user"><a href="/partymgr/control/viewprofile?partyId=${userLogin.partyId}${externalKeyParam!}">${userName}</a></li>
+                <li class="user"><a href="<@ofbizUrl controlPath="/partymgr/control">viewprofile?partyId=${userLogin.partyId}${externalKeyParam!}</...@ofbizUrl>">${userName}</a></li>
               <#else>
                 <li class="user">${userName}</li>
               </#if>
-              <#if orgName?has_content>              
+              <#if orgName?has_content>
                 <li class="org">${orgName}</li>
               </#if>
             </#if>