From ef76ae1116f16b1b2bb0f3fa9a243dbc25d78a30 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnier Date: Wed, 5 Aug 2026 17:49:22 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20fiche=20de=20Groupe=20-=20ordre=20des?= =?UTF-8?q?=20sections=20Mat=C3=A9riel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Onglet Matériel : les Objets passent sous les Armes et les Protections (ordre aligné sur la fiche PJ : Armes, Protections, Objets, Véhicules, Notes). --- templates/actor/appv2/group-gear.hbs | 81 +++++++++++++++------------- 1 file changed, 43 insertions(+), 38 deletions(-) diff --git a/templates/actor/appv2/group-gear.hbs b/templates/actor/appv2/group-gear.hbs index 70a9ec6..21455c6 100644 --- a/templates/actor/appv2/group-gear.hbs +++ b/templates/actor/appv2/group-gear.hbs @@ -1,45 +1,50 @@
-
-
-
    -
  1. -
    {{ localize 'IDENTITY.name'}}
    -
    {{ localize 'VERMINE.qty'}}
    -
    {{ localize 'VERMINE.weight'}}
    +
    +

    {{localize 'ITEMS.weapons'}}

    + {{> "systems/vermine2047/templates/actor/parts/actor-weapons.hbs"}} +
    +
    +

    {{localize 'ITEMS.defenses'}}

    + {{> "systems/vermine2047/templates/actor/parts/actor-defenses.hbs"}} +
    +
    +

    {{localize 'ITEMS.items'}}

    +
      +
    1. +
      {{ localize 'IDENTITY.name'}}
      +
      {{ localize 'VERMINE.qty'}}
      +
      {{ localize 'VERMINE.weight'}}
      +
      + {{#if isEditMode}} + + {{/if}} +
      +
    2. + {{#each gear as |item id|}} +
    3. +
      +
      + +
      + {{item.name}} +
      + +
      - {{#if isEditMode}} - + {{#if @root.isEditMode}} + {{/if}}
    4. - {{#each gear as |item id|}} -
    5. -
      -
      - -
      - {{item.name}} -
      - - -
      - {{#if @root.isEditMode}} - - {{/if}} -
      -
    6. - {{/each}} -
    -
    -
    -

    {{ localize 'IDENTITY.notes'}}

    - {{formInput systemFields.equipment.fields.description enriched=enrichedEquipmentNotes value=system.equipment.description name="system.equipment.description" toggled=true}} -
    + {{/each}} +
+
+
+

{{localize 'ITEMS.vehicles'}}

+ {{> "systems/vermine2047/templates/actor/group/group-vehicles.hbs"}} +
+
+

{{ localize 'IDENTITY.notes'}}

+ {{formInput systemFields.equipment.fields.description enriched=enrichedEquipmentNotes value=system.equipment.description name="system.equipment.description" toggled=true}}
-

{{localize 'ITEMS.weapons'}}

- {{> "systems/vermine2047/templates/actor/parts/actor-weapons.hbs"}} -

{{localize 'ITEMS.defenses'}}

- {{> "systems/vermine2047/templates/actor/parts/actor-defenses.hbs"}} -

{{localize 'ITEMS.vehicles'}}

- {{> "systems/vermine2047/templates/actor/group/group-vehicles.hbs"}}