DIvers petites corrections pour les specialités et les competences
All checks were successful
Release Creation / build (release) Successful in 54s

This commit is contained in:
2026-01-18 18:39:51 +01:00
parent d3c24e44d8
commit f445741eda
66 changed files with 277 additions and 238 deletions

View File

@@ -8,21 +8,19 @@
</a>
</span>
{{else}}
<span class="item-field-label-long">
<h3><label class="items-title-text">{{upperFirst keyProfil}}</label></h3>
</span>
<h3><label class="items-title-text">{{upperFirst keyProfil}} (Rang: {{skillDef.rang}})</label></h3>
{{/if}}
{{#if isPNJ}}
<span class="item-field-label-short">
<label class="short-label">Niveau</label>
</span>
{{#if isPNJ}}
<span class="item-field-label-short">
<input type="text" data-dtype="Number" class="item-field-label-short"
name="system.competences.{{keyProfil}}.niveau" value="{{skillDef.niveau}}" style="text-align: center;">
</span>
{{/if}}
<div class="item-filler">&nbsp;</div>
{{/if}}
</li>
{{#each skillDef.skills as |skill key|}}
<li class="item flexrow " data-item-id="{{skill._id}}" data-item-type="competence">
@@ -32,7 +30,7 @@
value="{{skill.system.niveau}}" data-dtype="Number">
{{selectOptions @root.config.listNiveau selected=skill.system.niveau}}
</select>
<input type="checkbox" class="item-field-label-short edit-item-data" data-tooltip="Prédilection" data-item-field="predilection" {{checked
<input type="checkbox" class="item-field-label-short edit-item-data" data-tooltip="Prédilection" data-item-field="predilection" data-dtype="Boolean" {{checked
skill.system.predilection}} />
<div class="item-controls item-controls-fixed">
<a class="item-control item-edit" title="Edit Item" data-action="editItem"><i class="fas fa-edit"></i></a>