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 %}