Changes for page Candide

Last modified by Antony Desmeaux on 2024/07/20 07:46

From version 12.1
edited by Antony Desmeaux
on 2024/05/26 17:40
Change comment: There is no comment for this version
To version 15.1
edited by Antony Desmeaux
on 2024/06/30 18:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,20 +4,43 @@
4 4  (((
5 5  [[image:https://gitlab.com/manon.lavenier/candide/-/raw/main/plants.gif]]
6 6  
7 -|(% style="background-color:#1c8569; text-align:center" %)(% style="color:#ffffff" %)**Liens utiles**
7 +(% style="width:100%" %)
8 +|(% style="background-color:#1c8569; text-align:center; width:100%" %)(% style="color:#ffffff" %)**Liens utiles**
8 8  
9 9  *
10 10  
12 +(% style="width:100%" %)
11 11  |(% style="background-color:#1c8569; text-align:center" %)(% style="color:#ffffff" %)**Structure hiérarchique**
12 12  
13 13  Page parent
14 14  
15 15  {{velocity}}
16 -[[$parentDoc.title >>doc:$parentDoc]]
18 +* [[$parentDoc.title >>doc:$parentDoc]]
17 17  {{/velocity}}
18 18  
19 19  Contenu
22 +
20 20  {{toc depth="2"/}}
24 +
25 +Pages enfants
26 +
27 +{{documentTree showTranslations="false" showAttachments="false" root="document:xwiki:.WebHome"/}}
28 +
29 +
30 +(% style="width:100%" %)
31 +|(% style="background-color:#1c8569; text-align:center" %)(% style="color:#ffffff" %)**Mentions**
32 +
33 +{{velocity}}
34 +#set ($links = $doc.getBacklinks())
35 +#if ($links.size() > 0)
36 + #foreach ($docname in $links)
37 + #set ($rdoc = $xwiki.getDocument($docname).getTranslatedDocument())
38 + * [[$escapetool.xml($rdoc.fullName)]]
39 + #end
40 +#else
41 + No back links for this page!
42 +#end
43 +{{/velocity}}
21 21  )))
22 22  )))
23 23