Changes for page Academy

Last modified by Erik Bakker on 2024/09/24 16:12

From version 50.1
edited by Erik Bakker
on 2022/04/25 15:31
Change comment: There is no comment for this version
To version 29.1
edited by Erik Bakker
on 2022/04/21 15:46
Change comment: Added object

Summary

Details

XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,1 +1,0 @@
1 -long
Code
... ... @@ -1,1 +1,0 @@
1 -#xwikicontent {background-color: #f5f5f5}
Content Type
... ... @@ -1,1 +1,0 @@
1 -CSS
Name
... ... @@ -1,1 +1,0 @@
1 -TestCSSExtension
Parse content
... ... @@ -1,1 +1,0 @@
1 -Yes
Use this extension
... ... @@ -1,1 +1,0 @@
1 -currentPage
XWiki.DocumentSheetBinding[0]
XWiki.GadgetClass[0]
content
... ... @@ -1,0 +1,9 @@
1 +{{velocity}}
2 +#set ($extraParams = '')
3 +#if ($doc.space != 'Main')
4 + #set ($escapedDocumentReference = $services.rendering.escape($services.model.serialize($doc.documentReference,
5 + 'default'), 'xwiki/2.1'))
6 + #set ($extraParams = "root='document:$escapedDocumentReference'")
7 +#end
8 +{{documentTree showTranslations="false" showAttachments="false" compact="true" $extraParams /}}
9 +{{/velocity}}
position
... ... @@ -1,0 +1,1 @@
1 +1,1
title
... ... @@ -1,0 +1,1 @@
1 +#if ($doc.space == 'Main')$services.localization.render('platform.dashboard.wiki.pages')#{else}$services.localization.render('platform.dashboard.space.documents', [$doc.plainTitle])#end
XWiki.GadgetClass[1]
content
... ... @@ -1,0 +1,9 @@
1 +{{html}}
2 +<div class="card">
3 + <img src="img_avatar.png" alt="Avatar" style="width:100%">
4 + <div class="container">
5 + <h4><b>John Doe</b></h4>
6 + <p>Architect & Engineer</p>
7 + </div>
8 +</div>
9 +{{/html}}
position
... ... @@ -1,0 +1,1 @@
1 +1, 2
title
... ... @@ -1,0 +1,1 @@
1 +$services.localization.render('rendering.macro.html.name')