0 Votes

Changes for page AdminUsersSheet

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

From 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]
To 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]

Summary

Details

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