Änderungen von Dokument LD Mobile
Zuletzt geändert von Jonas Mayer am 2022/03/23 09:04
Zusammenfassung
-
Seiteneigenschaften (1 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Inhalt
-
... ... @@ -17,24 +17,24 @@ 17 17 |((( 18 18 ==== Neueste ==== 19 19 ))) 20 -| (((21 - 22 - (%style="width:1673px"%)23 - |(% style="width:621px" %)(((24 - =[[Allgemein:>>Allgemein]] =25 - )))|(%style="width:621px"%)(((26 - = Puppet-Versionspezifisch: =27 - )))|(%style="width:621px"%)(((28 - = Neueste: =29 - )))30 - |(%style="width:514px" %) |(% style="width:621px" %)[[1.3.22.14>>path:/xwiki/bin/view/Main/Nextcloud/Puppet-Version/]]|(%style="width:621px"%)31 - 32 - {{velocity}}33 - {{activityspaces="$doc.space"/}}34 - {{/velocity}}35 -# 36 - 37 - )))20 +|{{velocity}} 21 +#set($cats = "where doc.parent='${doc.web}.${doc.name}' order by doc.name asc") 22 +#set($hql = "where ") 23 +#foreach($cat in $xwiki.searchDocuments($cats)) 24 +#if ($cat.matches(".*${doc.name.replaceAll('WebHome', '')}(?i:puppet-version).*")) 25 +#set($subcats = "where doc.parent='${cat}' order by doc.name asc") 26 +#foreach($subcat in $xwiki.searchDocuments($subcats)) 27 +#set($hql = "${hql}doc.parent='${subcat}' OR ") 28 +#end 29 +#else 30 +#set($hql = "${hql}doc.parent='${cat}' OR ") 31 +#end 32 +#end 33 +#set($hql = $hql.replaceAll('OR $', '') + "order by doc.date desc") 34 +#foreach($docname in $xwiki.searchDocuments($hql, 5, 0)) 35 +#set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) 36 +[[$rdoc.getDisplayTitle()>>$rdoc.fullName]] 37 +#end{{/velocity}} 38 38 39 39 ==== ==== 40 40 )))