<#if propsUtil.get("mwg.test.display")?has_content > <#assign test_display = propsUtil.get("mwg.test.display") />

${test_display}

<#else> ${logo_description}

<#if user_name != "" >
${user_name}
<#assign organizationservice = serviceLocator.findService('com.liferay.portal.service.OrganizationLocalService') /> <#assign organizations = organizationservice.getUserOrganizations(user_id) > <#assign org_names = ""> <#if organizations?has_content> <#list organizations as org> <#assign org_names = org_names+" - ${org.getName()}"> <#if org_names?has_content>

${org_names?substring(3)}

<#assign userGroupRoleService = serviceLocator.findService('com.liferay.portal.service.UserGroupRoleLocalService') /> <#assign roles = userGroupRoleService.getUserGroupRoles(user_id) > <#assign role_names = ""> <#if roles?has_content> <#list roles as role> <#assign roleName = role.getRole().getName()> <#if !roleName?matches('.*Owner') > <#assign roleName = roleName?replace('portos_', '')?replace('_',' ')?capitalize> <#if !role_names?contains(roleName) > <#assign role_names = role_names+", ${roleName}"> <#if role_names?has_content>

${role_names?substring(2)}

<#assign liferay_portlet = PortalJspTagLibs["/WEB-INF/tld/liferay-portlet-ext.tld"] /> <#assign portlet_id = "2_WAR_notificationsportlet" /> ${theme.runtime(portlet_id)}