foundryvtt-reve-de-dragon/templates/actor/liens-vehicules.hbs

30 lines
971 B
Handlebars
Raw Normal View History

{{#if subacteurs.vehicules.length}}
2022-08-27 16:23:22 +02:00
<ul class="item-list alterne-list">
<li class="competence-header flexrow">
<span class="item-name"><h4>Véhicules</h4></span>
<span></span>
<span>Catégorie</span>
<span>Résistance</span>
<span>Structure</span>
<span></span>
</li>
2022-08-27 16:23:22 +02:00
{{#each subacteurs.vehicules as |vehicule id|}}
<li class="item flexrow list-item" data-subactor-id="{{vehicule.id}}">
<img class="sheet-competence-img subacteur-open" src="{{vehicule.img}}" title="{{vehicule.name}}"/>
<span class="subacteur-label subacteur-open"><a>{{vehicule.name}}</a></span>
<span>{{vehicule.system.categorie}}</span>
<span>{{vehicule.system.etat.resistance.max}}</span>
<span>{{vehicule.system.etat.structure.max}}</span>
<span>
<a class="subacteur-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
</span>
2022-08-27 16:23:22 +02:00
</li>
{{/each}}
</ul>
{{else}}
<span class="item-name"><h4>Véhicules</h4></span>
{{/if}}
2022-08-27 16:23:22 +02:00