Code source wiki de DigDash Enterprise [2024R1]

Modifié par Aurelie Bertrand le 2024/05/16 09:43

Masquer les derniers auteurs
Aurelie Bertrand 20.4 1 {{ddchildren}}{{/ddchildren}}
jhurst 1.1 2
Aurelie Bertrand 20.4 3 {{include reference="Main.Search"/}}
jhurst 1.1 4
Aurelie Bertrand 20.4 5 ----
jhurst 1.1 6
Aurelie Bertrand 20.4 7 {{include reference="ddobjects.ddvariables.WebHome"/}}
jhurst 1.1 8
Aurelie Bertrand 20.4 9 {{velocity}}
10 #set($categories = [ $userGuides, $deployment ])
11 #foreach($category in $categories)
12 #foreach($title in $category.keySet())
13 #set($mainDocument = $xwiki.getDocument($title))
14 #set($translatedMain = $mainDocument.getTranslatedDocument())
15 = $translatedMain.getTitle() =
jhurst 1.1 16
Aurelie Bertrand 20.4 17 #foreach($subtitle in $category[$title].keySet())
18 #set($subDocument = $xwiki.getDocument($subtitle))
19 #set($translatedSub = $subDocument.getTranslatedDocument())
jhurst 1.1 20
21 * (((
Aurelie Bertrand 20.4 22 $translatedSub.getTitle()
jhurst 1.1 23
Aurelie Bertrand 20.4 24 #foreach($page in $category[$title][$subtitle])
25 #set($document = $xwiki.getDocument($page))
26 #set($translatedDoc = $document.getTranslatedDocument())
27 * [[$translatedDoc.getTitle()>>doc:$document]]
28 #end
jhurst 1.1 29 )))
Aurelie Bertrand 20.4 30 #end
31 #end
32 #end
jhurst 1.1 33
Aurelie Bertrand 20.4 34 #foreach($title in $customization.keySet())
35 #set($mainDocument = $xwiki.getDocument($title))
36 #set($translatedMain = $mainDocument.getTranslatedDocument())
37 = $translatedMain.getTitle() =
Aurelie Bertrand 8.1 38
Aurelie Bertrand 20.4 39 #foreach($subtitle in $customization[$title].keySet())
40 #set($subDocument = $xwiki.getDocument($subtitle))
41 #set($translatedSub = $subDocument.getTranslatedDocument())
jhurst 1.1 42
Aurelie Bertrand 20.4 43 * [[$translatedSub.getTitle()>>doc:$subDocument]]
44 #end
45 #end
46 {{/velocity}}
jhurst 1.1 47
Aurelie Bertrand 20.4 48 ----