Ä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,24 @@ 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}} 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}} 34 34 35 35 ==== ==== 36 36 )))