Support /astro avec noms partiels ou numériques #484
@ -13,7 +13,7 @@ export class Rencontre extends Draconique {
|
||||
async onActorCreateOwned(actor, item) { }
|
||||
|
||||
code() { return 'rencontre' }
|
||||
tooltip(linkData) { return `${linkData.rencontre.name} de force ${linkData.rencontre.force}` }
|
||||
tooltip(rencontre) { return `${rencontre.name} de force ${rencontre.force}` }
|
||||
img() { return 'systems/foundryvtt-reve-de-dragon/icons/heures/hd06.webp' }
|
||||
|
||||
createSprite(pixiTMR) {
|
||||
|
@ -550,10 +550,10 @@
|
||||
<ul class="item-list">
|
||||
{{#each hautreve.rencontres as |rencontre key|}}
|
||||
<li class="item flexrow" data-item-id="{{key}}" data-attribute="{{key}}">
|
||||
<span class="display-label flex-grow"><a data-item-id="{{key}}">{{rencontre.rencontre.name}} - {{rencontre.coord}}</a></span>
|
||||
<span class="flex-shrink">{{caseTmr-label reserve.coord}}</span>
|
||||
{{#if rencontre.rencontre.date}}
|
||||
<span>({{rencontre.rencontre.date}} - {{rencontre.rencontre.heure}})</span>
|
||||
<span class="display-label"><a data-item-id="{{key}}">{{rencontre.name}} - {{rencontre.coord}}</a></span>
|
||||
<span class="flex-shrink">{{caseTmr-label rencontre.coord}}</span>
|
||||
{{#if rencontre.date}}
|
||||
<span>Le {{rencontre.date}} à {{rencontre.heure}}</span>
|
||||
{{/if}}
|
||||
<div class="item-controls flex-shrink">
|
||||
<a class="item-control rencontre-delete" title="Supprimer"><i class="fas fa-trash"></i></a>
|
||||
|
Loading…
Reference in New Issue
Block a user