Changes for page XWiki Users
Last modified by bougault on 2022/12/20 15:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,6 @@ 1 1 {{velocity output="no"}} 2 2 #set($counter = 0) 3 -#set($dateStart = $datetool .getSystemTime())3 +#set($dateStart = $datetool) 4 4 #set($query = $services.query.xwql("from doc.object(XWiki.XWikiUsers) as users")) 5 5 #set($users = $query.execute()) 6 6 ... ... @@ -17,14 +17,16 @@ 17 17 $userDoc.save() 18 18 #end 19 19 20 -#set($dateEnd = $datetool .getSystemTime())20 +#set($dateEnd = $datetool) 21 21 #set($duration = $datetool.difference($dateStart, $dateEnd)) 22 22 {{/velocity}} 23 23 24 24 {{velocity}} 25 +$counter 26 +$duration 27 +{{/velocity}} 25 25 26 -{{html clean="false"}} 27 -<p>$counter users in $duration</p> 29 +{{html}} 30 +$counter 31 +$duration 28 28 {{/html}} 29 - 30 -{{/velocity}}