Продление подписки ведет на страницу с ценами See merge request lilschool/site!413remotes/origin/hotfix/landing-validation
commit
0f2bd22e4a
2 changed files with 8 additions and 4 deletions
@ -1,9 +1,9 @@ |
||||
<a |
||||
{% if not user.is_authenticated %} |
||||
data-popup=".js-popup-auth" |
||||
href="#" |
||||
{% else %} |
||||
data-popup=".js-popup-buy" |
||||
href="{% url 'packages' %}" |
||||
{% endif %} |
||||
class="casing__btn btn{% if pink %} btn_pink{% endif %}" |
||||
href="#" |
||||
>продлить</a> |
||||
|
||||
@ -1,5 +1,9 @@ |
||||
<a |
||||
data-popup=".js-popup-buy" data-prolong="1" data-date-start="{{ prolong_date_start|date:'Y-m-d' }}" |
||||
class="casing__btn btn{% if pink %} btn_pink{% endif %}" |
||||
{% if not user.is_authenticated %} |
||||
data-popup=".js-popup-auth" |
||||
href="#" |
||||
{% else %} |
||||
href="{% url 'packages' %}" |
||||
{% endif %} |
||||
class="casing__btn btn{% if pink %} btn_pink{% endif %}" |
||||
>продлить</a> |
||||
|
||||
Loading…
Reference in new issue