Modifiche per il documento Utenti
Dalla versione 11.1
modificato da Andrea Omicini
il 2026/08/29 17:44
il 2026/08/29 17:44
Cambia il commento:
add the ?status= filter, validated against the class's own value list
Alla versione 15.1
modificato da Andrea Omicini
il 2026/08/29 18:06
il 2026/08/29 18:06
Cambia il commento:
restore the translated title lost in the rename
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -64,7 +64,7 @@ 64 64 #### the class does not declare this value — say so, and show what it does declare 65 65 >{{stringEngIta eng="Unknown status" ita="Stato sconosciuto"/}}: **$escapetool.xml($wanted)** 66 66 67 - #foreach( $s in $statusList )[[$services.localization.render("XWiki.XWikiUsers_status_${s}")>> ||queryString="status=${s}"]]#if( !$foreach.last ) • #end#end67 + #foreach( $s in $statusList )[[$services.localization.render("XWiki.XWikiUsers_status_${s}")>>path:$doc.getURL('view', "status=${s}")]]#if( !$foreach.last ) • #end#end 68 68 69 69 #elseif( $wanted != '' ) 70 70 #### ONE GROUP, ASKED FOR BY ?status= — students included, like any other value ... ... @@ -76,16 +76,11 @@ 76 76 #apiceGroup($wanted) 77 77 #end 78 78 #else 79 -#### CURRENTPEOPLE—everystatusexceptstudentsandpast members79 +#### EVERY GROUP THE CLASS DECLARES, in the class's own order 80 80 #foreach( $s in $statusList ) 81 - #if( $s != 'student' && $s != 'gone' ) 82 - #apiceGroup($s) 83 - #end 81 + #apiceGroup($s) 84 84 #end 85 85 ## 86 -#### PAST MEMBERS 87 -#apiceGroup('gone') 88 -## 89 89 #### anyone whose status is not among those declared by the class — should be empty 90 90 #set( $strays = [] ) 91 91 #foreach( $ref in $rows )