Changes for page Armour

Last modified by test user on 2026/05/27 12:59

From version 5.1
edited by test user
on 2026/05/23 18:56
Change comment: There is no comment for this version
To version 11.1
edited by test user
on 2026/05/27 12:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,8 +1,14 @@
1 +{{velocity}}
2 +{{html clean="false"}}
3 +<p class="xm-create-button xm-create-button-armour"><a class="btn btn-primary" href="$doc.getURL('create', 'templateprovider=MUD.Code.Templates.ArmourTemplateProvider')"><span class="fa fa-plus"></span> New Armour</a></p>
4 +{{/html}}
5 +{{/velocity}}
6 +
1 1  {{liveData
2 2   id="mud-armour"
3 3   source="liveTable"
4 - sourceParameters="className=MUD.Code.ArmourClass&translationPrefix=mud.armour."
5 - properties="doc.title,judge,location,ac,material,type_,quality,source"
10 + sourceParameters="className=MUD.Code.ArmourClass&translationPrefix=platform.index."
11 + properties="doc.title,judge,slot,ac,material,type_,quality,source"
6 6   sort="doc.title"
7 7  }}
8 8  {
... ... @@ -18,7 +18,7 @@
18 18   "editable": false
19 19   },
20 20   {
21 - "id": "location",
27 + "id": "slot",
22 22   "editable": false
23 23   },
24 24   {
... ... @@ -45,8 +45,8 @@
45 45   }
46 46  }
47 47  {{/liveData}}
54 +
48 48  ----
49 49  
50 -{{create-from-template templateName="17858566" templateId="17858566" buttonLabel="Create new Armour"/}}
51 51  
52 -{{detailssummary cql="label = ~"equipment~" and space = currentSpace() and ancestor = currentContent()"/}}
58 +