Allow items links in editors

This commit is contained in:
sladecraven 2022-09-28 15:42:45 +02:00
parent 4442050b11
commit 895a722f4c
21 changed files with 24 additions and 24 deletions

View File

@ -540,17 +540,17 @@
<hr> <hr>
<h3>Biographie : </h3> <h3>Biographie : </h3>
<div class="form-group editor"> <div class="form-group editor">
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
<hr> <hr>
<h3>Notes : </h3> <h3>Notes : </h3>
<div class="form-group editor"> <div class="form-group editor">
{{editor data.notes target="system.notes" button=true owner=owner editable=editable}} {{editor notes target="system.notes" button=true owner=owner editable=editable}}
</div> </div>
<hr> <hr>
<h3>Tirage des Runes: </h3> <h3>Tirage des Runes: </h3>
<div class="form-group editor"> <div class="form-group editor">
{{editor data.tiragerunes target="system.tiragerunes" button=true owner=owner editable=editable}} {{editor tiragerunes target="system.tiragerunes" button=true owner=owner editable=editable}}
</div> </div>
<hr> <hr>
{{>"systems/fvtt-yggdrasill/templates/editor-notes-gm.html"}} {{>"systems/fvtt-yggdrasill/templates/editor-notes-gm.html"}}

View File

@ -1,6 +1,6 @@
{{#if data.isGM}} {{#if data.isGM}}
<h3>GM Notes : </h3> <h3>GM Notes : </h3>
<div class="form-group editor"> <div class="form-group editor">
{{editor data.biodata.gmnotes target="system.biodata.gmnotes" button=true owner=owner editable=editable}} {{editor gmnotes target="system.biodata.gmnotes" button=true owner=owner editable=editable}}
</div> </div>
{{/if}} {{/if}}

View File

@ -151,12 +151,12 @@
<article class="flexcol"> <article class="flexcol">
<h3>Biographie : </h3> <h3>Biographie : </h3>
<div class="form-group editor"> <div class="form-group editor">
{{editor content=data.description target="data.description" button=true owner=owner editable=editable}} {{editor description target="data.description" button=true owner=owner editable=editable}}
</div> </div>
<hr> <hr>
<h3>Notes : </h3> <h3>Notes : </h3>
<div class="form-group editor"> <div class="form-group editor">
{{editor content=data.notes target="data.notes" button=true owner=owner editable=editable}} {{editor notes target="data.notes" button=true owner=owner editable=editable}}
</div> </div>
</article> </article>
</div> </div>

View File

@ -32,7 +32,7 @@
<li class="flexrow"><label class="generic-label">Valeur</label><input type="text" name="system.valeur" value="{{data.valeur}}" data-dtype="Number"/></li> <li class="flexrow"><label class="generic-label">Valeur</label><input type="text" name="system.valeur" value="{{data.valeur}}" data-dtype="Number"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -29,7 +29,7 @@
<li class="flexrow"><label class="generic-label">Portée</label><input type="text" name="system.portee" value="{{data.portee}}" data-dtype="String"/></li> <li class="flexrow"><label class="generic-label">Portée</label><input type="text" name="system.portee" value="{{data.portee}}" data-dtype="String"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -27,7 +27,7 @@
<li class="flexrow"><label class="generic-label">Valeur</label><input type="text" name="system.valeur" value="{{data.valeur}}" data-dtype="Number"/></li> <li class="flexrow"><label class="generic-label">Valeur</label><input type="text" name="system.valeur" value="{{data.valeur}}" data-dtype="Number"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -11,7 +11,7 @@
<div class="tab" data-group="primary"> <div class="tab" data-group="primary">
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -28,7 +28,7 @@
<li class="flexrow"><label class="generic-label">Valeur</label><input type="text" name="system.valeur" value="{{data.valeur}}" data-dtype="Number"/></li> <li class="flexrow"><label class="generic-label">Valeur</label><input type="text" name="system.valeur" value="{{data.valeur}}" data-dtype="Number"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -34,7 +34,7 @@
</li> </li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -11,7 +11,7 @@
<div class="tab" data-group="primary"> <div class="tab" data-group="primary">
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -11,7 +11,7 @@
<div class="tab" data-group="primary"> <div class="tab" data-group="primary">
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -17,7 +17,7 @@
</li> </li>
</ul> </ul>
<label class="generic-label">Effet</label> <label class="generic-label">Effet</label>
{{editor data.effet target="system.effet" button=true owner=owner editable=editable}} {{editor effet target="system.effet" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -18,7 +18,7 @@
<li class="flexrow"><label class="generic-label">Valeur</label><input type="text" name="system.valeur" value="{{data.valeur}}" data-dtype="Number"/></li> <li class="flexrow"><label class="generic-label">Valeur</label><input type="text" name="system.valeur" value="{{data.valeur}}" data-dtype="Number"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -11,7 +11,7 @@
<div class="tab" data-group="primary"> <div class="tab" data-group="primary">
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -24,7 +24,7 @@
</li> </li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -15,7 +15,7 @@
<li class="flexrow"><label class="generic-label">Encombrement</label><input type="text" name="system.enc" value="{{data.enc}}" data-dtype="Number"/></li> <li class="flexrow"><label class="generic-label">Encombrement</label><input type="text" name="system.enc" value="{{data.enc}}" data-dtype="Number"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -23,7 +23,7 @@
<li class="flexrow"><label class="generic-label">Type</label><input type="text" name="system.type" value="{{data.type}}" data-dtype="String"/></li> <li class="flexrow"><label class="generic-label">Type</label><input type="text" name="system.type" value="{{data.type}}" data-dtype="String"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -33,7 +33,7 @@
<li class="flexrow"><label class="generic-label">Modificateur</label><input type="text" name="system.modificateur" value="{{data.modificateur}}" data-dtype="Number"/></li> <li class="flexrow"><label class="generic-label">Modificateur</label><input type="text" name="system.modificateur" value="{{data.modificateur}}" data-dtype="Number"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -24,7 +24,7 @@
<li class="flexrow"><label class="generic-label">Zone/Cible</label><input type="text" name="system.zonecible" value="{{data.zonecible}}" data-dtype="String"/></li> <li class="flexrow"><label class="generic-label">Zone/Cible</label><input type="text" name="system.zonecible" value="{{data.zonecible}}" data-dtype="String"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -24,7 +24,7 @@
<li class="flexrow"><label class="generic-label">SD</label><input type="text" name="system.sd" value="{{data.sd}}" data-dtype="Number"/></li> <li class="flexrow"><label class="generic-label">SD</label><input type="text" name="system.sd" value="{{data.sd}}" data-dtype="Number"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>

View File

@ -26,7 +26,7 @@
<li class="flexrow"><label class="generic-label">Zone</label><input type="text" name="system.zone" value="{{data.zone}}" data-dtype="String"/></li> <li class="flexrow"><label class="generic-label">Zone</label><input type="text" name="system.zone" value="{{data.zone}}" data-dtype="String"/></li>
</ul> </ul>
<label class="generic-label">Description</label> <label class="generic-label">Description</label>
{{editor data.description target="system.description" button=true owner=owner editable=editable}} {{editor description target="system.description" button=true owner=owner editable=editable}}
</div> </div>
</section> </section>