foundryvtt-reve-de-dragon/templates/actor/xp-journal.html

28 lines
1.0 KiB
HTML
Raw Permalink Normal View History

<h3>Journal d'Experience</h3>
2022-12-15 00:36:12 +01:00
<div class="form-group large-editor">
<ul class="item-list alterne-list">
{{#each system.experiencelog as |xplog key|}}
<li class="experiencelog flexrow list-item" data-key="{{key}}">
<label class="flex-shrink">{{xplog.valeur}} {{experienceLog-topic xplog.mode}} </label>
{{#if (or xplog.from xplog.to)}}
<label class="flex-grow">{{xplog.raison}}: de {{xplog.from}} à {{xplog.to}}</label>
{{else}}
<label class="flex-grow">{{xplog.raison}}</label>
{{/if}}
<label class="flex-shrink">{{xplog.daterdd}}</label>
<label class="flex-shrink">{{xplog.datereel}}</label>
{{#if @root.options.isGM}}
<span class="flex-shrink">
<a class="experiencelog-delete" data-tooltip="Supprimer">
<i class="fas fa-trash"></i>
</a>
<a class="experiencelog-delete-previous" data-tooltip="Supprimer jusqu'ici">
<i class="fas fa-eraser"></i>
</a>
</span>
{{/if}}
</li>
{{/each}}
</ul>
</div>