Author: jnicolas Date: Thu Feb 4 08:56:02 2016 New Revision: 1728425 URL: http://svn.apache.org/viewvc?rev=1728425&view=rev Log: JIRA6843 - Fix issue on avatar.ftl for rainbowstone theme
Modified: ofbiz/trunk/themes/rainbowstone/includes/avatar.ftl Modified: ofbiz/trunk/themes/rainbowstone/includes/avatar.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/themes/rainbowstone/includes/avatar.ftl?rev=1728425&r1=1728424&r2=1728425&view=diff ============================================================================== --- ofbiz/trunk/themes/rainbowstone/includes/avatar.ftl (original) +++ ofbiz/trunk/themes/rainbowstone/includes/avatar.ftl Thu Feb 4 08:56:02 2016 @@ -1,19 +1,19 @@ <div id="user-avatar" onclick="showHideUserPref()"> -<#if avatarDetail?exists> +<#if avatarDetail??> <img src="/content/control/stream?contentId=${avatarDetail.contentId}" alt="user"> <#else> <img src="/rainbowstone/images/avatar.svg" alt="user"> </#if> <div id="user-details" style="display:none;"> <div id="user-row1"> - <#if avatarDetail?exists> + <#if avatarDetail??> <img src="/content/control/stream?contentId=${avatarDetail.contentId}" alt="user"> <#else> <img src="/rainbowstone/images/avatar.svg" alt="user"> </#if> - <div id="user-name" onclick="javascript:location.href='/partymgr/control/viewprofile?partyId=${userLogin.partyId}'"> + <div id="user-name" <#if userLogin.partyId??>onclick="javascript:location.href='/partymgr/control/viewprofile?partyId=${userLogin.partyId}'"</#if>> <#if person?exists> - <#if person.firstName?exists> + <#if person.firstName??> <span>${person.firstName}</span> <span>${person.lastName?upper_case}</span> <#else>