Migration vers datamodels
This commit is contained in:
@@ -5,52 +5,50 @@
|
||||
<h4 class="chat-actor-name">{{alias}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
<div class="ecryme-chat-body">
|
||||
|
||||
{{#if img}}
|
||||
<div>
|
||||
<img class="chat-icon" src="{{img}}" alt="{{alias}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if img}}
|
||||
<div class="ecryme-chat-icon-row">
|
||||
<img class="chat-icon" src="{{img}}" alt="{{alias}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
{{#if (eq mode "cephaly")}}
|
||||
<li>{{localize "ECRY.ui.cephaly"}} : {{localize skill.name}} </li>
|
||||
<li>{{localize "ECRY.ui.cephaly"}} : <strong>{{localize skill.name}}</strong></li>
|
||||
{{else}}
|
||||
<li>Confrontation : {{alias}} </li>
|
||||
<li>Confrontation : <strong>{{alias}}</strong></li>
|
||||
{{/if}}
|
||||
|
||||
<li>{{localize skill.name}}: {{skill.value}} </li>
|
||||
<li>{{localize skill.name}}: <strong>{{skill.value}}</strong></li>
|
||||
{{#if spec}}
|
||||
<li>{{localize "ECRY.chat.specialization"}} {{spec.name}} (+{{spec.system.bonus}}) </li>
|
||||
<li>{{localize "ECRY.chat.specialization"}} {{spec.name}} (+{{spec.system.bonus}})</li>
|
||||
{{/if}}
|
||||
|
||||
{{#each traitsBonus as |trait idx|}}
|
||||
{{#if trait.activated}}
|
||||
<li>{{localize "ECRY.chat.traitbonus"}}: {{trait.name}} ({{trait.system.level}}) </li>
|
||||
<li>{{localize "ECRY.chat.traitbonus"}}: <strong>{{trait.name}}</strong> ({{trait.system.level}})</li>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{#each traitsMalus as |trait idx|}}
|
||||
{{#if trait.activated}}
|
||||
<li>{{localize "ECRY.chat.traitmalus"}}: {{trait.name}} ({{trait.system.level}}) </li>
|
||||
<li>{{localize "ECRY.chat.traitmalus"}}: <strong>{{trait.name}}</strong> ({{trait.system.level}})</li>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{#if bonusMalusTraits}}
|
||||
<li>{{localize "ECRY.chat.bonusmalustraits"}}: {{bonusMalusTraits}} </li>
|
||||
<li>{{localize "ECRY.chat.bonusmalustraits"}}: <strong>{{bonusMalusTraits}}</strong></li>
|
||||
{{/if}}
|
||||
|
||||
{{#if (isGM)}}
|
||||
{{else}}
|
||||
<li>{{localize "ECRY.ui.execution"}} : {{executionTotal}}</li>
|
||||
<li>{{localize "ECRY.ui.preservation"}} : {{preservationTotal}}</li>
|
||||
<li>{{localize "ECRY.ui.execution"}} : <strong>{{executionTotal}}</strong></li>
|
||||
<li>{{localize "ECRY.ui.preservation"}} : <strong>{{preservationTotal}}</strong></li>
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
|
||||
{{#if (isGM)}}
|
||||
{{#if (eq mode "cephaly")}}
|
||||
<div>
|
||||
<div class="ecryme-chat-gm-row">
|
||||
<span>{{localize "ECRY.chat.difficulty"}}</span>
|
||||
<select id="{{rollId}}-cephaly-difficulty" name="cephaly-difficulty">
|
||||
{{#for 1 20 1}}
|
||||
@@ -58,15 +56,12 @@
|
||||
{{/for}}
|
||||
</select>
|
||||
</div>
|
||||
<button class="button-apply-cephaly-difficulty">{{localize "ECRY.ui.cephalydifficulty"}}</button>
|
||||
<button class="chat-card-button button-apply-cephaly-difficulty">{{localize "ECRY.ui.cephalydifficulty"}}</button>
|
||||
{{else}}
|
||||
<button class="button-select-confront">{{localize "ECRY.ui.selectconfront"}}</button>
|
||||
<button class="chat-card-button button-select-confront">{{localize "ECRY.ui.selectconfront"}}</button>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<div>
|
||||
{{localize "ECRY.chat.sentogm"}}
|
||||
</div>
|
||||
<p class="ecryme-chat-sent-gm">{{localize "ECRY.chat.sentogm"}}</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user