Changes for page Users

From version 16.1
edited by Andrea Omicini
on 2026/08/29 18:27
Change comment: house layout: mainheader, index bar and per-group separators
To version 17.1
edited by Andrea Omicini
on 2026/08/29 18:30
Change comment: no index link in the footer when the page has a single group

Summary

Details

Page properties
Content
... ... @@ -118,7 +118,8 @@
118 118  <span class="textsecondary">&ensp;/&ensp;</span>
119 119  $services.localization.render("XWiki.XWikiUsers_status_${s}")
120 120  &ensp;&bull;&ensp;
121 -#anchorlinks()
121 +#### the shared macro also offers the index; with one group there is no index bar
122 +#if( $shown.size() > 1 )#anchorlinks()#else[[$services.localization.render('top').toLowerCase()>>||anchor="top"]] &bull; [[$services.localization.render('bottom').toLowerCase()>>||anchor="bottom"]]#end
122 122  </div>
123 123  #end
124 124  #### anyone whose status is not among those declared by the class — should be empty