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

28 lines
1023 B
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" title="Supprimer">
<i class="fas fa-trash"></i>
</a>
<a class="experiencelog-delete-previous" title="Supprimer jusqu'ici">
<i class="fas fa-eraser"></i>
</a>
</span>
{{/if}}
</li>
{{/each}}
</ul>
</div>