| ... |
... |
@@ -1,7 +1,13 @@ |
|
1 |
+{{velocity}} |
|
2 |
+{{html clean="false"}} |
|
3 |
+<p class="xm-create-button xm-create-button-weapons"><a class="btn btn-primary" href="$doc.getURL('create', 'templateprovider=MUD.Code.Templates.WeaponTemplateProvider')"><span class="fa fa-plus"></span> New Weapon</a></p> |
|
4 |
+{{/html}} |
|
5 |
+{{/velocity}} |
|
6 |
+ |
| 1 |
1 |
{{liveData |
| 2 |
2 |
id="mud-weapons-unarmed" |
| 3 |
3 |
source="liveTable" |
| 4 |
|
- sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons." |
|
10 |
+ sourceParameters="className=MUD.Code.WeaponClass&translationPrefix=mud.weapons.&location=MUD.Items.Weapons.Unarmed" |
| 5 |
5 |
properties="doc.title,judge,hands,damage_type,quality,source,quest_required" |
| 6 |
6 |
sort="doc.title" |
| 7 |
7 |
}} |
| ... |
... |
@@ -38,24 +38,11 @@ |
| 38 |
38 |
"editable": false |
| 39 |
39 |
} |
| 40 |
40 |
] |
| 41 |
|
- }, |
| 42 |
|
- "query": { |
| 43 |
|
- "filters": [ |
| 44 |
|
- { |
| 45 |
|
- "property": "doc.location", |
| 46 |
|
- "constraints": [ |
| 47 |
|
- { |
| 48 |
|
- "operator": "startsWith", |
| 49 |
|
- "value": "MUD.Items.Weapons.Unarmed" |
| 50 |
|
- } |
| 51 |
|
- ] |
| 52 |
|
- } |
| 53 |
|
- ] |
| 54 |
54 |
} |
| 55 |
55 |
} |
| 56 |
56 |
{{/liveData}} |
|
50 |
+ |
| 57 |
57 |
---- |
| 58 |
58 |
|
| 59 |
|
-{{create-from-template templateName="17858610" templateId="17858610" buttonLabel="Add new Weapon"/}} |
| 60 |
60 |
|
| 61 |
|
-{{detailssummary cql="label = ~"equipment~" and space = currentSpace() and ancestor = currentContent()"/}} |
|
54 |
+ |