Les rencontres sont configurables #572
@ -416,6 +416,7 @@ export class RdDUtility {
|
||||
RdDUtility.filterEquipementParType(formData, itemTypes);
|
||||
|
||||
formData.sorts = this.arrayOrEmpty(itemTypes['sort']);
|
||||
formData.rencontres = this.arrayOrEmpty(itemTypes['rencontre']);
|
||||
formData.casestmr = this.arrayOrEmpty(itemTypes['casetmr']);
|
||||
formData.signesdraconiques = this.arrayOrEmpty(itemTypes['signedraconique']);
|
||||
formData.queues = this.arrayOrEmpty(itemTypes['queue']);
|
||||
|
@ -15,3 +15,22 @@
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
{{#if rencontres.length}}
|
||||
<h3>Rencontres en attente dans les TMR</h3>
|
||||
<ul class="item-list">
|
||||
{{#each rencontres as |rencontre key|}}
|
||||
<li class="item flexrow" data-item-id="{{rencontre._id}}" data-attribute="{{key}}">
|
||||
<img class="sheet-competence-img" src="{{rencontre.img}}" />
|
||||
<span class="display-label"><a>{{rencontre.name}} r{{rencontre.system.force}}</a></span>
|
||||
<span class="flex-shrink">{{rencontre.system.coord}} - {{caseTmr-label rencontre.system.coord}}</span>
|
||||
{{#if rencontre.system.date}}
|
||||
<span class="flex-shrink">{{upperFirst rencontre.system.heure}}, le {{rencontre.system.date}}</span>
|
||||
{{/if}}
|
||||
<div class="item-controls flex-shrink">
|
||||
<a class="item-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
</ul>
|
||||
{{/if}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user