From a3db1bd021cb58db54d4baa194a035229ec89462 Mon Sep 17 00:00:00 2001 From: Thaum Date: Mon, 9 Mar 2015 14:04:54 +0000 Subject: [PATCH] Limited display of effects/attacks to only equipment --- .../character/inventory/itemDialog/itemDialog.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/rpg-docs/client/views/character/inventory/itemDialog/itemDialog.html b/rpg-docs/client/views/character/inventory/itemDialog/itemDialog.html index d58cfedf..e8296652 100644 --- a/rpg-docs/client/views/character/inventory/itemDialog/itemDialog.html +++ b/rpg-docs/client/views/character/inventory/itemDialog/itemDialog.html @@ -25,7 +25,7 @@ - {{# if canEquip}} + {{#if canEquip}}
Equipped
- - {{> effectsEditList sourceId=_id charId=charId type="equipment" enabled=equipped name=name}} - - {{> attackEditList sourceId=_id charId=charId type="equipment" enabled=equipped name=name}} + {{#if canEquip}} + + {{> effectsEditList sourceId=_id charId=charId type="equipment" enabled=equipped name=name}} + + {{> attackEditList sourceId=_id charId=charId type="equipment" enabled=equipped name=name}} + {{/if}} {{/baseDialog}} {{/with}} \ No newline at end of file