Changes for page Protection

Last modified by test user on 2026/05/27 13:00

From version 4.1
edited by test user
on 2026/05/25 08:58
Change comment: There is no comment for this version
To version 7.1
edited by test user
on 2026/05/26 20:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,15 +9,7 @@
1 -## xwiki-migration:create-button-begin
2 -{{velocity}}
3 -{{html clean="false"}}
4 -<p class="xm-create-button"><a class="btn btn-primary" href="$doc.getURL('create', 'templateprovider=MUD.Code.Templates.SpellTemplateProvider')"><span class="fa fa-plus"></span> New Spell</a></p>
5 -{{/html}}
6 -{{/velocity}}
7 -## xwiki-migration:create-button-end
8 -
9 9  {{liveData
10 10   id="mud-spells-divine-protection"
11 11   source="liveTable"
12 - sourceParameters="className=MUD.Code.SpellClass&translationPrefix=mud.spells.&location=MUD.Spells.Divine.Protection"
4 + sourceParameters="className=MUD.Code.SpellClass&translationPrefix=platform.index.&location=MUD.Spells.Divine.Protection"
13 13   properties="doc.title,spell_type,sphere,category,level,target_type,gp_cost,cast_time,source"
14 14   sort="doc.title"
15 15  }}
... ... @@ -60,6 +60,10 @@
60 60  
61 61  ----
62 62  
63 -{{create-from-template templateName="17858564" templateId="17858564" buttonLabel="Add new spell"/}}
55 +{{velocity}}
56 +{{html clean="false"}}
57 +<p class="xm-create-button xm-create-button-spells"><a class="btn btn-primary" href="$doc.getURL('create', 'templateprovider=MUD.Code.Templates.SpellTemplateProvider')"><span class="fa fa-plus"></span> New Spell</a></p>
58 +{{/html}}
59 +{{/velocity}}
64 64  
65 -{{detailssummary headings="Category,Sphere,Level,Source" cql="label = ~"spell~" and space = currentSpace() and ancestor = currentContent()"/}}
61 +