Amélioration chat-message
- utilisation de partial template - fixes mineurs (this sur static) - singulier/pluriel pour points de rêve/points de tâche
This commit is contained in:
23
templates/chat-infojet.html
Normal file
23
templates/chat-infojet.html
Normal file
@ -0,0 +1,23 @@
|
||||
<div>
|
||||
<span {{#if ajustements}}class="tooltip" {{/if}}>
|
||||
{{rolled.caracValue}} à {{numberFormat rolled.finalLevel decimals=0 sign=true}}
|
||||
{{#if ajustements}}
|
||||
<div class="tooltiptext ttt-ajustements">
|
||||
{{#each ajustements as |item key|}}
|
||||
<div class="{{#if item.strong}}strong-text{{/if}}">
|
||||
{{#if item.descr}}
|
||||
{{{item.descr}}}
|
||||
{{else}}
|
||||
{{item.label}}: {{numberFormat item.value decimals=0 sign=true}}
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if rolled.factor}}<span class="rdd-diviseur">×{{{rolled.factor}}}</span>{{/if}}
|
||||
</span>
|
||||
<span>= {{rolled.score}}%</span>
|
||||
</div>
|
||||
<div>
|
||||
<span>{{rolled.roll}} : </span><span class="rdd-roll-{{rolled.code}} strong-text">{{rolled.quality}}</span>
|
||||
</div>
|
Reference in New Issue
Block a user