Fixed a bug in the template for the order page caused by localization and removed the previously applied workaround for this issue

This commit is contained in:
W13R 2022-05-16 10:51:22 +02:00
parent aa0f2d67ed
commit d792a7658c
3 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,7 @@
{% extends "baseLayout.html" %}
{% load i18n %}
{% load l10n %}
{% block title %}
{% translate "Drinks - Order" %}
@ -31,7 +32,7 @@
<div class="row">
<div class="column">{% translate "Price per Item" %} ({{ currency_suffix }}):</div>
<div class="column" id="pricePerDrink" data-drink-price="{{ drink.price }}">{{ drink.price }}</div>
<div class="column" id="pricePerDrink" data-drink-price="{% localize off %}{{ drink.price }}{% endlocalize %}">{{ drink.price }}</div>
</div>
{% if not drink.binary_availability %}