From a01944699bd0db9663d7d9a368ffecc3a4016e14 Mon Sep 17 00:00:00 2001 From: gzbender Date: Fri, 16 Aug 2019 21:10:04 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86?= =?UTF-8?q?=D0=B0=20=D1=81=20=D1=86=D0=B5=D0=BD=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/templates/lilcity/packages.html | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/project/templates/lilcity/packages.html b/project/templates/lilcity/packages.html index fec6e6c4..5600afa6 100644 --- a/project/templates/lilcity/packages.html +++ b/project/templates/lilcity/packages.html @@ -28,29 +28,24 @@
{{ package.options_html|safe }}
- = package.duration #} - {% if user.is_authenticated %} - href="{% url 'school-checkout' %}?duration={{ package.duration }}" - {% else %} - href="#" data-popup=".js-popup-auth" - {% endif %} - {# else %}href="#"{% endif #} + + {% if user.is_authenticated %} + href="{% url 'school-checkout' %}?duration={{ package.duration }}" + {% else %} + href="#" data-popup=".js-popup-auth" + {% endif %} >{% if forloop.counter == 4 %}Вступить в Lil-Клуб{% else %}Купить{% endif %}
{% if next_buy_date %}
- {# if school_months_left >= package.duration #} на {{ package.duration|rupluralize:"месяц,месяца,месяцев" }} с {{ next_buy_date|date:'j b' }} - {# endif #}
{% endif %} {% if forloop.counter == 4 %}