From 0631c77a1ca437fdd0dbb9c6f25d8453b5c80083 Mon Sep 17 00:00:00 2001 From: Sli Date: Sun, 15 Dec 2024 17:02:44 +0100 Subject: [PATCH] Apply review comments --- core/templates/core/user_preferences.jinja | 1 + counter/templates/counter/counter_click.jinja | 1 + counter/templates/counter/fragments/create_student_card.jinja | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/templates/core/user_preferences.jinja b/core/templates/core/user_preferences.jinja index bf5189ae..13bee656 100644 --- a/core/templates/core/user_preferences.jinja +++ b/core/templates/core/user_preferences.jinja @@ -36,6 +36,7 @@ {% if student_card_fragment %} +

{% trans %}Student card{% endtrans %}

{{ student_card_fragment }}

{% trans %}You can add a card by asking at a counter or add it yourself here. If you want to manually diff --git a/counter/templates/counter/counter_click.jinja b/counter/templates/counter/counter_click.jinja index 4b9e1898..3df77555 100644 --- a/counter/templates/counter/counter_click.jinja +++ b/counter/templates/counter/counter_click.jinja @@ -31,6 +31,7 @@

{% trans %}Amount: {% endtrans %}{{ customer.amount }} €

{% if counter.type == 'BAR' %} +
{% trans %}Student card{% endtrans %}
{{ student_card_fragment }} {% endif %} diff --git a/counter/templates/counter/fragments/create_student_card.jinja b/counter/templates/counter/fragments/create_student_card.jinja index c0701b7a..f15716e4 100644 --- a/counter/templates/counter/fragments/create_student_card.jinja +++ b/counter/templates/counter/fragments/create_student_card.jinja @@ -1,5 +1,4 @@
-

{% trans %}Student card{% endtrans %}

{% if not customer.student_card %}