Rendu des tables de compendiums

This commit is contained in:
2024-10-16 23:29:18 +02:00
parent 226afc1680
commit 5004774a15
6 changed files with 15 additions and 13 deletions

View File

@ -0,0 +1,21 @@
<div>
<img class="chat-icon" src="{{img}}" data-tooltip="{{typeName}}" />
<h4>Table aléatoire: {{typeName}}</h4>
{{#with (lookup table 0) as |row|}}
<div>
{{row.document.pack}}
</div>
{{/with}}
<br>
</div>
<div>
<ul class="flexcol item-list alterne-list">
{{#each table as |row|}}
<li class="item list-item ">
<span class="flex-group-left">
{{row.min}}{{#unless (eq row.min row.max)}}-{{row.max}}{{/unless}}&nbsp;: {{linkCompendium row.document.pack row.document.id row.document.name}}
</span>
</li>
{{/each}}
</ul>
</div>