Working on 0.8.x

- Working on title
- Added property update/delete for item patterns
This commit is contained in:
Vlyan
2021-05-21 14:12:14 +02:00
parent 4350ea25ee
commit 4f9b72c63f
22 changed files with 586 additions and 101 deletions

View File

@@ -27,6 +27,17 @@
{{ localize 'l5r5e.bought_at_rank' }}
<input class="select-on-focus" type="number" name="data.bought_at_rank" value="{{document.data.data.bought_at_rank}}" data-dtype="Number" min="0" placeholder="0"/>
</label>
<label class="attribute">
{{ localize 'l5r5e.linked_property' }}
{{#if data.linkedProperty}}
<ul class="item-properties">
<li>{{{ data.linkedProperty.name }}}</li>
<li data-item-id="{{data.linkedProperty.id}}" class="item-control linked-property-delete" title="{{localize 'Delete'}}"> <i class="fas fa-trash"></i></li>
</ul>
{{else}}
-
{{/if}}
</label>
</article>
{{> 'systems/l5r5e/templates/items/item/item-infos.html'}}
</section>

View File

@@ -32,7 +32,6 @@
{{!-- Embbed advancements --}}
<article class="tab experience" data-group="primary" data-tab="experience">
{{!-- TODO --}}
{{!-- Others progession (does not count in school xp) --}}
<fieldset class="xp-spent xp-spent-body">
<legend class="tools">{{localize 'l5r5e.advancements.title'}} <a data-item-type="advancement-others" class="advancement-others-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a></legend>
@@ -48,7 +47,7 @@
</tr>
</thead>
<tbody class="flex">
{{#each data.advancementsOthers as |advancement advancementId|}}
{{#each data.embedItemsList as |advancement|}}
{{> 'systems/l5r5e/templates/actors/character/advancement-others.html' advancement=advancement editable=../options.editable}}
{{/each}}
</tbody>