Files
vermine2047/templates/dialogs/reliability-dialog.hbs
T
uberwald 7ec3d73915 fix: clé i18n manquante VERMINE.close (boutons affichaient 'VERMINE.CLOSE')
La clé 'close' du fichier lang était en fait la compétence 'Corps-à-corps'
(SKILLS.close) : les dialogues totem et Fiabilité affichaient la clé brute
'VERMINE.CLOSE'. Ajout de VERMINE.close = 'Fermer'/'Close', utilisé par les
deux dialogues.
2026-08-07 09:13:14 +02:00

54 lines
1.9 KiB
Handlebars

<div class="roll-dialog-content">
{{#if isTest}}
<div class="form-group">
<label>{{ localize "VERMINE.reliability_severity" }}</label>
<div class="flexrow flex-wrap reliability-severities">
{{#each severities}}
<label class="reliability-option">
<input type="radio" name="severity" value="{{this.key}}" {{#if this.selected}}checked{{/if}}>
<span>{{this.label}}</span>
</label>
{{/each}}
</div>
</div>
{{#if hasEtanche}}
<div class="form-group">
<label class="flexrow reliability-option">
<input type="checkbox" id="reliability-immersion" name="immersion">
<span>{{ localize "VERMINE.reliability_immersion" }}</span>
</label>
</div>
{{/if}}
{{else}}
<div class="form-group">
<label>{{ localize "VERMINE.reliability_repair_mode" }}</label>
<div class="flexrow flex-wrap reliability-modes">
<label class="reliability-option">
<input type="radio" name="repairMode" value="classique" checked>
<span>{{ localize "VERMINE.reliability_repair_classic" }}</span>
</label>
<label class="reliability-option">
<input type="radio" name="repairMode" value="fortune">
<span>{{ localize "VERMINE.reliability_repair_fortune" }}</span>
</label>
</div>
</div>
<div class="form-group">
<label for="reliability-skill">{{ localize "VERMINE.reliability_skill" }}</label>
<select id="reliability-skill" name="skill">
{{#each skills}}
<option value="{{this.key}}">{{this.label}}</option>
{{/each}}
</select>
</div>
{{#unless hasActor}}
<p class="reliability-hint">{{ localize "VERMINE.reliability_need_actor" }}</p>
{{/unless}}
{{/if}}
<footer class="sheet-footer flexrow">
<button type="button" data-action="run">{{ localize "VERMINE.reliability_run" }}</button>
<button type="button" data-action="cancel">{{ localize "VERMINE.close" }}</button>
</footer>
</div>