Skip to content

Commit

Permalink
Apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
klmp200 committed Dec 15, 2024
1 parent 2cc4308 commit 0631c77
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/templates/core/user_preferences.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@


{% if student_card_fragment %}
<h3>{% trans %}Student card{% endtrans %}</h3>
{{ student_card_fragment }}
<p class="justify">
{% trans %}You can add a card by asking at a counter or add it yourself here. If you want to manually
Expand Down
1 change: 1 addition & 0 deletions counter/templates/counter/counter_click.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
<p>{% trans %}Amount: {% endtrans %}{{ customer.amount }} €</p>

{% if counter.type == 'BAR' %}
<h5>{% trans %}Student card{% endtrans %}</h3>
{{ student_card_fragment }}
{% endif %}
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div id="student_card_form">
<h3>{% trans %}Student card{% endtrans %}</h3>
{% if not customer.student_card %}
<form
hx-post="{{ action }}"
Expand Down

0 comments on commit 0631c77

Please sign in to comment.