<#ftl output_format="HTML"> <@cTpl>

#i18n{wiki.item.searchUsers}

<#if permission_type?? && permission_type == "VIEW"> #i18n{wiki.search.descriptionView} <#elseif permission_type?? && permission_type == "EDIT"> #i18n{wiki.search.descriptionEdit} <#else> #i18n{wiki.search.description}

<#include "commons/messages.html" />
<#if permission_type??>
<#if attribute_mapping_list?? && attribute_mapping_list?size gt 0> <#assign hasSearchedAttributes = false> <#if searched_attributes??> <#list searched_attributes?keys as key> <#if searched_attributes[key]?has_content> <#assign hasSearchedAttributes = true> <#break>
#i18n{wiki.search.advancedSearch}
<#list attribute_mapping_list as mapping> <#list mylutece_attributes_list as attr> <#if attr.idAttribute == mapping.id>
#i18n{wiki.action.cancel}
<#if search_results??>
<#if search_results?size gt 0>
<#list search_results as user>
#i18n{wiki.search.user.name} #i18n{wiki.search.user.email} #i18n{wiki.search.user.login} #i18n{wiki.search.user.actions}
${user.givenName!""} ${user.lastName!""} ${user.email!""} ${user.login!""} <#if permission_type?? && permission_type == "VIEW"> #i18n{wiki.action.add} <#elseif permission_type?? && permission_type == "EDIT"> #i18n{wiki.action.add} <#else>
<#else>
#i18n{wiki.search.noResults}