Affiche le type de case si TMR cachées

This commit is contained in:
Vincent Vandemeulebrouck 2022-09-21 16:46:09 +02:00
parent c76bf912d1
commit e69fb222c3

View File

@ -464,24 +464,21 @@
</li> </li>
{{/if}} {{/if}}
<li class="item flexrow"> <li class="item flexrow">
<span class="competence-label flex-shrink">Demi rêve :
{{#if options.isGM}} {{#if options.isGM}}
<span class="competence-label flex-shrink">Demi rêve : {{caseTmr-label system.reve.tmrpos.coord}}
<span>{{caseTmr-label system.reve.tmrpos.coord}}</span> </span><span>
</span>
<span>
<input class="competence-value" type="text" name="system.reve.tmrpos.coord" value="{{system.reve.tmrpos.coord}}" data-dtype="String"/> <input class="competence-value" type="text" name="system.reve.tmrpos.coord" value="{{system.reve.tmrpos.coord}}" data-dtype="String"/>
</span> {{else if hautreve.cacheTMR}}
{{caseTmr-type system.reve.tmrpos.coord}}
</span><span>
??
{{else}} {{else}}
<span class="competence-label flex-shrink">Demi rêve : {{caseTmr-label system.reve.tmrpos.coord}}
{{#unless hautreve.cacheTMR}} </span><span>
<span>{{caseTmr-label system.reve.tmrpos.coord}}</span> {{system.reve.tmrpos.coord}}
{{/unless}}
</span>
<span>
{{#if hautreve.cacheTMR}}??{{else}}{{system.reve.tmrpos.coord}}{{/if}}
</span>
{{/if}} {{/if}}
</span>
</li> </li>
{{/if}} {{/if}}
<li class="item flexrow"> <li class="item flexrow">