working on properties
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
<li class="item flexcol" data-item-id="{{item._id}}">
|
||||
<ul class="item-header item-control">
|
||||
<li class="item-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
|
||||
<li class="item-name">{{ item.name }}</li>
|
||||
<li class="item-edit" title="{{localize 'l5r5e.global.edit'}}"><i class="fas fa-edit"></i></li>
|
||||
<li class="item-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
|
||||
<li class="property flexcol" data-property-id="{{item._id}}">
|
||||
<ul class="property-header property-control">
|
||||
<li class="property-img"><img src="{{item.img}}" title="{{item.name}}" width="32px" height="32px"/></li>
|
||||
<li class="property-name">{{ item.name }}</li>
|
||||
<li class="property-delete" title="{{localize 'l5r5e.global.delete'}}"><i class="fas fa-trash"></i></li>
|
||||
</ul>
|
||||
<div class="item-description">{{{ item.data.description }}}</div>
|
||||
</li>
|
||||
@@ -79,10 +79,8 @@
|
||||
</label>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
{{json data.properties}}
|
||||
<legend class="text-block-header">{{ localize 'l5r5e.properties' }}</legend>
|
||||
<!-- TODO data.properties a faire en dnd avec les items de type "property" -->
|
||||
{{> 'systems/l5r5e/templates/items/property/properties.html' properties=data.properties }}
|
||||
{{> 'systems/l5r5e/templates/items/property/properties.html' properties=data.propertiesList }}
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend class="text-block-header">{{ localize 'l5r5e.description' }}</legend>
|
||||
|
||||
Reference in New Issue
Block a user