diff --git a/core/static/core/style.css b/core/static/core/style.css index 31ee710e..4c67f11d 100644 --- a/core/static/core/style.css +++ b/core/static/core/style.css @@ -154,6 +154,11 @@ code { display: inline-block; margin: 4px; } +.important { + font-size: 1.2em; + font-weight: bold; + color: red; +} table { width: 100%; font-size: 0.90em; diff --git a/counter/templates/counter/counter_click.jinja b/counter/templates/counter/counter_click.jinja index 648ac247..a086aa6a 100644 --- a/counter/templates/counter/counter_click.jinja +++ b/counter/templates/counter/counter_click.jinja @@ -34,18 +34,20 @@
{% trans %}Selling{% endtrans %}
- {% if request.session['too_young'] %} -

{% trans %}Too young for that product{% endtrans %}

- {% endif %} - {% if request.session['not_allowed'] %} -

{% trans %}Not allowed for that product{% endtrans %}

- {% endif %} - {% if request.session['no_age'] %} -

{% trans %}No date of birth provided{% endtrans %}

- {% endif %} - {% if request.session['not_enough'] %} -

{% trans %}Not enough money{% endtrans %}

- {% endif %} +
+ {% if request.session['too_young'] %} +

{% trans %}Too young for that product{% endtrans %}

+ {% endif %} + {% if request.session['not_allowed'] %} +

{% trans %}Not allowed for that product{% endtrans %}

+ {% endif %} + {% if request.session['no_age'] %} +

{% trans %}No date of birth provided{% endtrans %}

+ {% endif %} + {% if request.session['not_enough'] %} +

{% trans %}Not enough money{% endtrans %}

+ {% endif %} +
{% csrf_token %} @@ -66,6 +68,20 @@ {% endfor %}

{% trans %}Total: {% endtrans %}{{ "%0.2f"|format(basket_total) }} €

+
+ {% if request.session['too_young'] %} +

{% trans %}Too young for that product{% endtrans %}

+ {% endif %} + {% if request.session['not_allowed'] %} +

{% trans %}Not allowed for that product{% endtrans %}

+ {% endif %} + {% if request.session['no_age'] %} +

{% trans %}No date of birth provided{% endtrans %}

+ {% endif %} + {% if request.session['not_enough'] %} +

{% trans %}Not enough money{% endtrans %}

+ {% endif %} +
{% csrf_token %}