Amélioration présentation et navigation

This commit is contained in:
Jean-Christophe Engel 2026-03-16 10:42:09 +01:00
parent e28d1b8195
commit 1961431942
15 changed files with 84 additions and 103 deletions

View file

@ -42,10 +42,6 @@
{{:assign out_keys=$out_keys|implode:","}}
{{:assign out_keys="("|cat:$out_keys|cat:")"}}
<div class="shortFormLeft">
<p class="help">{{$label|ucfirst}}s aux membres</p>
</div>
{{:assign premier=true}}
{{#select
nom, user, GROUP_CONCAT(mat_name, ", ") AS materiel, SUM(remain) AS quantite
@ -90,12 +86,20 @@
<td>{{$materiel}}</td>
</tr>
{{else}}
<p class="block alert">Aucun mouvement.</p>
{{if $label == "prêt"}}
<p class="block alert">Aucun {{$label}} en cours.</p>
{{elseif $label == "location"}}
<p class="block alert">Aucune {{$label}} en cours.</p>
{{/if}}
{{/select}}
</tbody>
</table>
{{else}}
<p class="block alert">Aucun mouvement.</p>
{{if $label == "prêt"}}
<p class="block alert">Aucun {{$label}} en cours.</p>
{{elseif $label == "location"}}
<p class="block alert">Aucune {{$label}} en cours.</p>
{{/if}}
{{/if}}
{{:admin_footer}}