Changes for page Legs

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

From version 4.1
edited by test user
on 2026/05/23 18:56
Change comment: There is no comment for this version
To version 9.1
edited by test user
on 2026/05/25 13:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Tags
... ... @@ -1,0 +1,1 @@
1 +needs-paste
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-legs"
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=mud.armour.&location=MUD.Items.Armour.Legs"
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   {
... ... @@ -42,24 +42,11 @@
42 42   "editable": false
43 43   }
44 44   ]
45 - },
46 - "query": {
47 - "filters": [
48 - {
49 - "property": "doc.location",
50 - "constraints": [
51 - {
52 - "operator": "startsWith",
53 - "value": "MUD.Items.Armour.Legs"
54 - }
55 - ]
56 - }
57 - ]
58 58   }
59 59  }
60 60  {{/liveData}}
54 +
61 61  ----
62 62  
63 -{{create-from-template templateName="17858566" templateId="17858566" buttonLabel="Create new Armour"/}}
64 64  
65 -{{detailssummary cql="label = ~"equipment~" and space = currentSpace() and ancestor = currentContent()"/}}
58 +