foundryvtt-reve-de-dragon/templates/coeur/afficher-coeur.hbs

12 lines
457 B
Handlebars
Raw Permalink Normal View History

2023-11-27 23:45:33 +01:00
<a data-numero-coeur="{{numero}}">
{{#if (and (lte numero courant) (lte numero prochain))}}
<i class="fa-solid fa-heart"></i>
{{else if (and (lte numero courant) (gt numero prochain))}}
<i class="fa-solid fa-heart-crack"></i>
{{else if (and (gt numero courant) (lte numero prochain))}}
<i class="fa-solid fa-hand-holding-heart"></i>
{{else if (and (gt numero courant) (gt numero prochain))}}
<i class="fa-regular fa-heart"></i>
{{/if}}
</a>