Création de tâches dans la fenêtre de jets

This commit is contained in:
2025-10-18 00:26:10 +02:00
parent e16f89743a
commit e21f7e398a
9 changed files with 73 additions and 7 deletions

View File

@@ -7,7 +7,14 @@
{{selectOptions refs.taches selected=current.key valueAttr="key" labelAttr="label"}}
</select>
<selected-numeric-value>{{plusMoins current.value}}</selected-numeric-value>
{{#unless refs.forced}}
<button name="create-tache" data-tooltip="Créer une nouvelle tâche"><i class="fa-solid fa-circle-plus"></i></button>
{{#if refs.taches.length}}
<button name="edit-tache" data-tooltip="Modifier la tâche"><i class="fa-solid fa-edit"></i></button>
{{/if}}
{{/unless}}
</subline>
{{#if refs.taches.length}}
<subline>
Points de tâche: {{current.tache.system.points_de_tache_courant}} /
{{#if current.tache.system.cacher_points_de_tache}}
@@ -25,4 +32,5 @@
{{#if current.tache.system.periodicite}}
<subline>Périodicité: {{current.tache.system.periodicite}}</subline>
{{/if}}
{{/if}}
</roll-part-detail>