Código fuente wiki de DigDash Enterprise [2021R1]
Última modificación por jhurst el 2021/07/12 14:23
Ocultar los últimos autores
author | version | line-number | content |
---|---|---|---|
2.14 | 1 | ||
2.17 | 2 | {{include reference="Main.Search"/}} | |
2.14 | 3 | ||
2.17 | 4 | ---- | |
2.14 | 5 | ||
2.17 | 6 | {{include reference="ddobjects.ddvariables.WebHome"/}} | |
2.14 | 7 | ||
2.17 | 8 | {{velocity}} | |
9 | #set($categories = [ $userGuides, $deployment ]) | ||
10 | #foreach($category in $categories) | ||
11 | #foreach($title in $category.keySet()) | ||
12 | #set($mainDocument = $xwiki.getDocument($title)) | ||
13 | #set($translatedMain = $mainDocument.getTranslatedDocument()) | ||
14 | = $translatedMain.getTitle() = | ||
2.14 | 15 | ||
2.17 | 16 | #foreach($subtitle in $category[$title].keySet()) | |
17 | #set($subDocument = $xwiki.getDocument($subtitle)) | ||
18 | #set($translatedSub = $subDocument.getTranslatedDocument()) | ||
2.14 | 19 | ||
20 | * ((( | ||
2.17 | 21 | $translatedSub.getTitle() | |
2.14 | 22 | ||
2.17 | 23 | #foreach($page in $category[$title][$subtitle]) | |
24 | #set($document = $xwiki.getDocument($page)) | ||
25 | #set($translatedDoc = $document.getTranslatedDocument()) | ||
26 | * [[$translatedDoc.getTitle()>>doc:$document]] | ||
27 | #end | ||
2.14 | 28 | ))) | |
2.17 | 29 | #end | |
30 | #end | ||
31 | #end | ||
2.14 | 32 | ||
2.17 | 33 | #foreach($title in $customization.keySet()) | |
34 | #set($mainDocument = $xwiki.getDocument($title)) | ||
35 | #set($translatedMain = $mainDocument.getTranslatedDocument()) | ||
36 | = $translatedMain.getTitle() = | ||
2.14 | 37 | ||
2.17 | 38 | #foreach($subtitle in $customization[$title].keySet()) | |
39 | #set($subDocument = $xwiki.getDocument($subtitle)) | ||
40 | #set($translatedSub = $subDocument.getTranslatedDocument()) | ||
2.14 | 41 | ||
2.17 | 42 | * [[$translatedSub.getTitle()>>doc:$subDocument]] | |
43 | #end | ||
44 | #end | ||
45 | {{/velocity}} | ||
2.14 | 46 | ||
2.17 | 47 | ---- |