La fenêtre de jet se comporte correctement si le personnage ne connait pas d'oeuvre
22 lines
732 B
Handlebars
22 lines
732 B
Handlebars
<roll-part-img>
|
|
<img src="{{current.oeuvre.img}}" data-tooltip="{{current.oeuvre.name}}" />
|
|
</roll-part-img>
|
|
<roll-part-detail>
|
|
{{#if refs.oeuvres}}
|
|
<subline>
|
|
<select name="select-oeuvre" {{#if rollData.type.retry}}disabled{{/if}}>
|
|
{{selectOptions refs.oeuvres selected=current.key valueAttr="key" labelAttr="label"}}
|
|
</select>
|
|
{{#if current.oeuvre}}
|
|
<selected-numeric-value>{{plusMoins current.value}}</selected-numeric-value>
|
|
{{/if}}
|
|
</subline>
|
|
{{#if current.oeuvre}}
|
|
{{> (concat 'roll-oeuvre-' current.oeuvre.type)}}
|
|
{{/if}}
|
|
{{else}}
|
|
<subline>
|
|
<p>Le personnage ne connait aucune œuvre à interpréter</p>
|
|
</subline>
|
|
{{/if}}
|
|
</roll-part-detail> |