Afficher les derniers auteurs
1 {{velocity}}
2 #macro (displaySearchFacetValue_user $user)
3 #set ($userReference = $services.model.resolveDocument($user))
4 #set ($escapedUserName = $escapetool.xml($xwiki.getPlainUserName($userReference)))
5 #getUserAvatarURL($userReference $avatarURL 30)
6 <span class="user">##
7 <img class="user-avatar" src="$escapetool.xml($avatarURL.url)" alt="$escapedUserName" />##
8 <span class="user-name">$escapedUserName</span>##
9 </span>##
10 #end
11 #if ($facetValues)
12 #set ($discard = $xwiki.ssx.use('Main.SolrUserFacet'))
13 {{html clean="false"}}
14 <ul class="users">
15 #displaySearchFacetValuesLimited($facetValues {} 'displaySearchFacetValue_user')
16 </ul>
17 {{/html}}
18 #end
19 {{/velocity}}
#getBlogDocument($space $blogDoc)
XWiki Enterprise 14.6 - Documentation