Projet

Général

Profil

0001-lingo-move-total-outside-of-ul-in-basket-cell-47735.patch

Valentin Deniaud, 15 octobre 2020 15:04

Télécharger (1,23 ko)

Voir les différences:

Subject: [PATCH] lingo: move total outside of <ul> in basket cell (#47735)

 combo/apps/lingo/templates/lingo/combo/basket.html | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
combo/apps/lingo/templates/lingo/combo/basket.html
15 15
          {% endif %}
16 16
  </li>
17 17
  {% endfor %}
18
  {% if not regie_info.regie.can_pay_only_one_basket_item %}
19
  <li><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</li>
20
  {% endif %}
21 18
</ul>
22 19

  
23 20
{% if not regie_info.regie.can_pay_only_one_basket_item %}
24 21
<form action="{% url 'lingo-pay' %}" method="POST">
25 22
{% csrf_token %}
23
<p class="lingo-total"><strong>{% trans "Total:" %}</strong> {{ regie_info.total }} €</p>
26 24
<input type="hidden" name="next_url" value="{{ cell.page.get_online_url }}" />
27 25
<input type="hidden" name="regie" value="{{regie_info.regie.id}}" />
28 26
<button>{% trans "Pay" %}</button>
29
-