Migration vers datamodels
This commit is contained in:
@@ -5,61 +5,55 @@
|
||||
<h4 class="chat-actor-name">{{alias}}</h4>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
||||
<div class="ecryme-chat-body">
|
||||
|
||||
{{#if img}}
|
||||
<div >
|
||||
<div class="ecryme-chat-icon-row">
|
||||
<img class="chat-icon" src="{{img}}" alt="{{name}}" />
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="flexcol">
|
||||
</div>
|
||||
<ul>
|
||||
{{#if skill}}
|
||||
<li>{{localize skill.name}}: <strong>{{skill.value}}</strong></li>
|
||||
{{#if spec}}
|
||||
<li>{{localize "ECRY.chat.specialization"}} {{spec.name}} (+{{spec.system.bonus}})</li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
<div>
|
||||
<ul>
|
||||
{{#if skill}}
|
||||
<li>{{localize skill.name}}: {{skill.value}} </li>
|
||||
{{#if spec}}
|
||||
<li>{{localize "ECRY.chat.specialization"}} {{spec.name}} (+{{spec.system.bonus}}) </li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{#if impactMalus}}
|
||||
<li>{{localize "ECRY.ui.impactmalus"}}: <strong>{{impactMalus}}</strong></li>
|
||||
{{/if}}
|
||||
|
||||
{{#if impactMalus}}
|
||||
<li>{{localize "ECRY.ui.impactmalus"}}: {{impactMalus}} </li>
|
||||
{{/if}}
|
||||
{{#if skillTranscendence}}
|
||||
<li>{{localize "ECRY.ui.skilltranscendence"}}: <strong>{{skillTranscendence}}</strong></li>
|
||||
{{/if}}
|
||||
|
||||
{{#if skillTranscendence}}
|
||||
<li>{{localize "ECRY.ui.skilltranscendence"}}: {{skillTranscendence}} </li>
|
||||
{{/if}}
|
||||
{{#if traitsBonusList}}
|
||||
{{#each traitsBonusList as |trait idx|}}
|
||||
<li>{{localize "ECRY.chat.traitbonus"}}: <strong>{{trait.name}}</strong> ({{trait.system.level}})</li>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{#if traitsMalusList}}
|
||||
{{#each traitsMalusList as |trait idx|}}
|
||||
<li>{{localize "ECRY.chat.traitmalus"}}: <strong>{{trait.name}}</strong> ({{trait.system.level}})</li>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{#if bonusMalusTraits}}
|
||||
<li>{{localize "ECRY.chat.bonusmalustraits"}}: <strong>{{bonusMalusTraits}}</strong></li>
|
||||
{{/if}}
|
||||
|
||||
{{#if traitsBonusList}}
|
||||
{{#each traitsBonusList as |trait idx|}}
|
||||
<li>{{localize "ECRY.chat.traitbonus"}}: {{trait.name}} ({{trait.system.level}}) </li>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{#if traitsMalusList}}
|
||||
{{#each traitsMalusList as |trait idx|}}
|
||||
<li>{{localize "ECRY.chat.traitmalus"}}: {{trait.name}} ({{trait.system.level}}) </li>
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{#if bonusMalusTraits}}
|
||||
<li>{{localize "ECRY.chat.bonusmalustraits"}}: {{bonusMalusTraits}} </li>
|
||||
{{/if}}
|
||||
<li>{{localize "ECRY.chat.formula"}}: <strong>{{diceFormula}}</strong></li>
|
||||
<li>{{localize "ECRY.chat.dicesum"}}: <strong>{{diceSum}}</strong></li>
|
||||
<li>{{localize "ECRY.chat.result"}}: <strong>{{total}}</strong></li>
|
||||
{{#if difficulty}}
|
||||
<li>{{localize "ECRY.chat.difficulty"}}: {{difficulty}} — {{localize "ECRY.chat.margin"}}: <strong>{{margin}}</strong></li>
|
||||
{{#if isSuccess}}
|
||||
<li class="ecryme-result-line"><label class="chat-result-text chat-result-success">{{localize "ECRY.chat.success"}}</label></li>
|
||||
{{else}}
|
||||
<li class="ecryme-result-line"><label class="chat-result-text chat-result-failure">{{localize "ECRY.chat.failure"}}</label></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
</ul>
|
||||
|
||||
<li>{{localize "ECRY.chat.formula"}}: {{diceFormula}} </li>
|
||||
<li>{{localize "ECRY.chat.dicesum"}}: {{diceSum}} </li>
|
||||
<li>{{localize "ECRY.chat.result"}}: {{total}} </li>
|
||||
{{#if difficulty}}
|
||||
<li>{{localize "ECRY.chat.difficulty"}}: {{difficulty}} - {{localize "ECRY.chat.margin"}}: {{margin}} </li>
|
||||
{{#if isSuccess}}
|
||||
<li><label class="chat-result-text chat-result-success ">{{localize "ECRY.chat.success"}}</label></li>
|
||||
{{else}}
|
||||
<li><label class="chat-result-text chat-result-failure">{{localize "ECRY.chat.failure"}}</label></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user