| ... |
... |
@@ -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-head" |
| 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.Head" |
|
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,22 +42,10 @@ |
| 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.Head" |
| 54 |
|
- } |
| 55 |
|
- ] |
| 56 |
|
- } |
| 57 |
|
- ] |
| 58 |
58 |
} |
| 59 |
59 |
} |
| 60 |
60 |
{{/liveData}} |
|
54 |
+ |
| 61 |
61 |
---- |
| 62 |
62 |
|
| 63 |
63 |
{{create-from-template templateName="17858566" templateId="17858566" buttonLabel="Create new Armour"/}} |