Changes for page OrderTemplate

Last modified by Manoeuvring with Difficulty on 2024/01/25 10:18

From version 6.1
edited by Manoeuvring with Difficulty
on 2024/01/25 08:35
Change comment: There is no comment for this version
To version 5.1
edited by Manoeuvring with Difficulty
on 2024/01/25 08:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Hidden
... ... @@ -1,1 +1,1 @@
1 -false
1 +true
Content
... ... @@ -59,6 +59,14 @@
59 59  #end{{/velocity}}
60 60  
61 61  
62 -{{velocity}}
63 -#set ($tags = $services.query.xwql("select distinct doc.object(XWiki.TagClass).tags from Document doc").execute())
64 -{{/velocity}}
62 +
63 +(% style="text-align:center" %)
64 +**Queued Orders**
65 +{{velocity}}#set ($tags = $services.query.xwql("select distinct obj.tags from Document doc").execute())
66 +$tags
67 +#set ($references = $services.query.xwql("from doc.object(XWiki.TagClass) as tag where 'order' member of tag.tags").execute())
68 +#foreach($reference in $references)
69 + #set ($document = $xwiki.getDocument($reference))
70 + #set ($label = $document.getTitle())
71 + [[$label>>$reference]] | ##
72 +#end{{/velocity}}