mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-12-22 22:01:48 +01:00
List affected stats & players in reset
This commit is contained in:
parent
9448feed1d
commit
49ac17fe94
3 changed files with 15 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
Êtes-vous certain de vouloir réinitialiser les stats de {{ character.name }} ?<br>
|
||||
Cette action est irréversible.
|
||||
</p>
|
||||
{% include "character/snippets/reset_affected_stats.html" %}
|
||||
<button class="btn btn-primary" type="submit">
|
||||
<i class="fa-solid fa-suitcase-medical"></i> Réinitialiser les stats
|
||||
</button>
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<p>Stats affectées :</p>
|
||||
<ul>
|
||||
<li>Santé (PV)</li>
|
||||
<li>Mana (PM)</li>
|
||||
<li>Points de chance</li>
|
||||
<li>Points de récupération</li>
|
||||
</ul>
|
|
@ -10,6 +10,13 @@
|
|||
Êtes-vous certain de vouloir réinitialiser les stats de tous les membres de {{ party.name }} ?<br>
|
||||
Cette action est irréversible.
|
||||
</p>
|
||||
<p>Joueurs affectés :</p>
|
||||
<ul>
|
||||
{% for character in party.characters.all %}
|
||||
<li>{{ character.name }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% include "character/snippets/reset_affected_stats.html" %}
|
||||
<button class="btn btn-primary" type="submit">
|
||||
<i class="fa-solid fa-suitcase-medical"></i> Réinitialiser les stats
|
||||
</button>
|
||||
|
|
Loading…
Reference in a new issue