Ajout d'un champ pour les métiers
This commit is contained in:
parent
e89a8ba232
commit
50d923061b
@ -53,6 +53,7 @@ const TABLEAU_SORTS = [...Array(NB_SORTS).keys()]
|
|||||||
const MAPPING_BASE = [
|
const MAPPING_BASE = [
|
||||||
{ column: "ID", getter: (actor, context) => actor.id },
|
{ column: "ID", getter: (actor, context) => actor.id },
|
||||||
{ column: "name", getter: (actor, context) => actor.name },
|
{ column: "name", getter: (actor, context) => actor.name },
|
||||||
|
{ column: "metier", getter: (actor, context) => actor.system.metier },
|
||||||
// { column: "biographie", getter: (actor, context) => actor.system.biographie },
|
// { column: "biographie", getter: (actor, context) => actor.system.biographie },
|
||||||
{ column: "taille", getter: (actor, context) => actor.system.carac.taille.value },
|
{ column: "taille", getter: (actor, context) => actor.system.carac.taille.value },
|
||||||
{ column: "apparence", getter: (actor, context) => actor.system.carac.apparence.value },
|
{ column: "apparence", getter: (actor, context) => actor.system.carac.apparence.value },
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
|
"metier": "",
|
||||||
"biographie": "Histoire personnelle...",
|
"biographie": "Histoire personnelle...",
|
||||||
"notes": "Notes",
|
"notes": "Notes",
|
||||||
"notesmj": "Notes du MJ",
|
"notesmj": "Notes du MJ",
|
||||||
|
@ -172,6 +172,10 @@
|
|||||||
<label for="system.poids">Poids :</label>
|
<label for="system.poids">Poids :</label>
|
||||||
<input class="flex-grow" type="text" name="system.poids" value="{{system.poids}}" data-dtype="String"/>
|
<input class="flex-grow" type="text" name="system.poids" value="{{system.poids}}" data-dtype="String"/>
|
||||||
</li>
|
</li>
|
||||||
|
<li class="item flexrow list-item">
|
||||||
|
<label for="system.metier">Métier :</label>
|
||||||
|
<input class="flex-grow" type="text" name="system.metier" value="{{system.metier}}" data-dtype="String"/>
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="item-list alterne-list">
|
<ul class="item-list alterne-list">
|
||||||
<li class="item flexrow list-item">
|
<li class="item flexrow list-item">
|
||||||
|
Loading…
Reference in New Issue
Block a user