Ä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
-
... ... @@ -19,21 +19,25 @@ 19 19 ))) 20 20 |((( 21 21 22 -(% style="width:1673px" %) 23 -|(% style="width:621px" %)((( 24 -= [[Allgemein:>>Allgemein]] = 25 -)))|(% style="width:621px" %)((( 26 -= Puppet-Version spezifisch: = 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" %) 22 +{{velocity}}#set($cats = "where doc.parent='${doc.web}.${doc.name}' order by doc.name asc") 23 +#set($hql = "where ") 24 +#foreach($cat in $xwiki.searchDocuments($cats)) 25 +#if ($cat.matches(".*${doc.name.replaceAll('WebHome', '')}(?i:puppet-version).*")) 26 +#set($subcats = "where doc.parent='${cat}' order by doc.name asc") 27 +#foreach($subcat in $xwiki.searchDocuments($subcats)) 28 +#set($hql = "${hql}doc.parent='${subcat}' OR ") 29 +#end 30 +#else 31 +#set($hql = "${hql}doc.parent='${cat}' OR ") 32 +#end 33 +#end 34 +#set($hql = $hql.replaceAll('OR $', '') + "order by doc.date desc") 35 +#foreach($docname in $xwiki.searchDocuments($hql, 5, 0)) 36 +#set($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) 37 +[[$rdoc.getDisplayTitle()>>$rdoc.fullName]] 38 +#end{{/velocity}} 39 + 31 31 32 -{{velocity}} 33 -{{activity spaces="$doc.space" /}} 34 -{{/velocity}} 35 -# 36 - 37 37 ))) 38 38 39 39 ==== ====