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