Apply review comments

This commit is contained in:
Antoine Bartuccio 2024-12-15 17:02:44 +01:00
parent 2cc4308a58
commit 0631c77a1c
3 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@
{% if student_card_fragment %} {% if student_card_fragment %}
<h3>{% trans %}Student card{% endtrans %}</h3>
{{ student_card_fragment }} {{ student_card_fragment }}
<p class="justify"> <p class="justify">
{% trans %}You can add a card by asking at a counter or add it yourself here. If you want to manually {% trans %}You can add a card by asking at a counter or add it yourself here. If you want to manually

View File

@ -31,6 +31,7 @@
<p>{% trans %}Amount: {% endtrans %}{{ customer.amount }} €</p> <p>{% trans %}Amount: {% endtrans %}{{ customer.amount }} €</p>
{% if counter.type == 'BAR' %} {% if counter.type == 'BAR' %}
<h5>{% trans %}Student card{% endtrans %}</h3>
{{ student_card_fragment }} {{ student_card_fragment }}
{% endif %} {% endif %}
</div> </div>

View File

@ -1,5 +1,4 @@
<div id="student_card_form"> <div id="student_card_form">
<h3>{% trans %}Student card{% endtrans %}</h3>
{% if not customer.student_card %} {% if not customer.student_card %}
<form <form
hx-post="{{ action }}" hx-post="{{ action }}"