Added a drop icon on army and cohort sheet for actor

This commit is contained in:
Vlyan
2021-12-11 13:29:53 +01:00
parent 93a174e84a
commit 5e624b9e02
5 changed files with 11 additions and 8 deletions

View File

@@ -1,8 +1,6 @@
<div class="header-fields warlord">
<fieldset>
<p>
<strong>{{localize 'l5r5e.army.warlord'}}</strong>
</p>
<legend>{{^if data.data.warlord_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.warlord'}}</legend>
<p>
{{#if data.data.warlord_actor_id}}
<span data-actor-id="{{actor.id}}" data-type="warlord" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
@@ -23,9 +21,7 @@
</div>
<div class="header-fields commander">
<fieldset>
<label>
<strong>{{localize 'l5r5e.army.commander'}}</strong>
</label>
<legend>{{^if data.data.commander_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.commander'}}</legend>
{{#if data.data.commander_actor_id}}
<span data-actor-id="{{actor.id}}" data-type="commander" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>
<a data-actor-id="{{data.data.commander_actor_id}}" class="open-sheet-actor-id">{{data.data.commander}}</a>

View File

@@ -26,7 +26,7 @@
</label>
<label class="attribute army-cohort-types flx50">
{{localize 'l5r5e.army.cohort.leader'}}
{{^if data.data.leader_actor_id}}<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{/if}}{{localize 'l5r5e.army.cohort.leader'}}
{{#if data.data.leader_actor_id}}
<div>
<span data-actor-id="{{data.data.leader_actor_id}}" class="actor-remove-control pointer" title="{{localize 'Delete'}}"><i class="fas fa-trash"></i></span>