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