Support handling vault-content events in the vault UI
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
<div class="inventory-item-{{item.material}}">
|
||||
{% if quantity > 0 %}
|
||||
<div class="quantity">{{quantity}}</div>
|
||||
<div class="inventory-item-{{item.material}}" data-material="{{item.material}}"
|
||||
data-quantity="{{quantity}}" data-damage="{{item.damage}}">
|
||||
<div class="quantity">
|
||||
{% if quantity > 0 %}{{quantity}}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="name">{{item.name}}</div>
|
||||
{% if item.damage %}
|
||||
<div class="damage">
|
||||
<div class="current"
|
||||
style="width:{{item.damagePct}}%"></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="damage {% if not item.damage %}empty{%endif%}">
|
||||
<div class="current"
|
||||
style="width:{{item.damagePct}}%"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user