0 Votes

Changes for page AdminUsersSheet

Last modified by Ryan C on 2025/06/02 08:46

From version 3.1
edited by Ryan C
on 2025/06/02 08:46
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/17.4.0]
To version 1.1
edited by Ryan C
on 2025/03/06 09:59
Change comment: Install extension [org.xwiki.platform:xwiki-platform-administration-ui/17.1.0]

Summary

Details

Page properties
Content
... ... @@ -206,13 +206,11 @@
206 206  #macro (maybeShowDeleteUserWarning $userReference $right)
207 207   #countPagesLastModifiedBy($userReference)
208 208   #if ($pageCount > 0)
209 - {{/html}}
210 -
211 - {{error cssClass="xform"}}
212 - {{html}}
209 + <div class="box errormessage xform">
213 213   #set ($pageIndexReference = $services.model.createDocumentReference(
214 214   $userReference.wikiReference.name, 'Main', 'AllDocs'))
215 - #set ($pageIndexURL = $xwiki.getURL($pageIndexReference, 'view', "doc.author=${escapetool.url($services.model.serialize($userReference, 'local'))}"))
212 + #set ($pageIndexURL = $xwiki.getURL($pageIndexReference) + '#|t=alldocs&doc.author=' +
213 + $escapetool.url($services.model.serialize($userReference, 'local')))
216 216   #set ($translationKey = "administration.section.users.deleteUser.${right}RightsWarning")
217 217   $services.localization.render($translationKey, ["<a href='$pageIndexURL'>", $pageCount, '</a>'])
218 218   <dl>
... ... @@ -237,10 +237,7 @@
237 237   [$rightTranslation]))</span>
238 238   </dd>
239 239   </dl>
240 - {{/html}}
241 - {{/error}}
242 -
243 - {{html clean="false"}}
238 + </div>
244 244   #end
245 245  #end
246 246