Modifiche per il documento Utenti
Dalla versione 18.1
modificato da Andrea Omicini
il 2026/08/29 18:32
il 2026/08/29 18:32
Cambia il commento:
lowercase the labels in the select bar
Alla versione 16.1
modificato da Andrea Omicini
il 2026/08/29 18:27
il 2026/08/29 18:27
Cambia il commento:
house layout: mainheader, index bar and per-group separators
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -80,7 +80,7 @@ 80 80 $escapetool.xml($wanted) 81 81 </div> 82 82 <div class="mainselectbar"> 83 -#foreach( $s in $statusList )#if( !$foreach.first ) • #end[[$services.localization.render("XWiki.XWikiUsers_status_${s}") .toLowerCase()>>path:$doc.getURL('view', "status=${s}")]]#end83 +#foreach( $s in $statusList )#if( !$foreach.first ) • #end[[$services.localization.render("XWiki.XWikiUsers_status_${s}")>>path:$doc.getURL('view', "status=${s}")]]#end 84 84 </div> 85 85 #else 86 86 #### page subtitle: how many people, and over what ... ... @@ -99,7 +99,7 @@ 99 99 #### the index bar, only when the page carries more than one group 100 100 #if( $shown.size() > 1 ) 101 101 <div class="mainselectbar" id="index"> 102 -#foreach( $s in $shown )#if( !$foreach.first ) • #end[[$services.localization.render("XWiki.XWikiUsers_status_${s}") .toLowerCase()>>||anchor="$s"]]#end102 +#foreach( $s in $shown )#if( !$foreach.first ) • #end[[$services.localization.render("XWiki.XWikiUsers_status_${s}")>>||anchor="$s"]]#end 103 103 </div> 104 104 #end 105 105 #### one block per group: separator, the people, footer ... ... @@ -118,8 +118,7 @@ 118 118 <span class="textsecondary"> / </span> 119 119 $services.localization.render("XWiki.XWikiUsers_status_${s}") 120 120  •  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"]] • [[$services.localization.render('bottom').toLowerCase()>>||anchor="bottom"]]#end 121 +#anchorlinks() 123 123 </div> 124 124 #end 125 125 #### anyone whose status is not among those declared by the class — should be empty