Продление подписки ведет на страницу с ценами 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 |
<a |
||||||
{% if not user.is_authenticated %} |
{% if not user.is_authenticated %} |
||||||
data-popup=".js-popup-auth" |
data-popup=".js-popup-auth" |
||||||
|
href="#" |
||||||
{% else %} |
{% else %} |
||||||
data-popup=".js-popup-buy" |
href="{% url 'packages' %}" |
||||||
{% endif %} |
{% endif %} |
||||||
class="casing__btn btn{% if pink %} btn_pink{% endif %}" |
class="casing__btn btn{% if pink %} btn_pink{% endif %}" |
||||||
href="#" |
|
||||||
>продлить</a> |
>продлить</a> |
||||||
|
|||||||
@ -1,5 +1,9 @@ |
|||||||
<a |
<a |
||||||
data-popup=".js-popup-buy" data-prolong="1" data-date-start="{{ prolong_date_start|date:'Y-m-d' }}" |
{% if not user.is_authenticated %} |
||||||
class="casing__btn btn{% if pink %} btn_pink{% endif %}" |
data-popup=".js-popup-auth" |
||||||
href="#" |
href="#" |
||||||
|
{% else %} |
||||||
|
href="{% url 'packages' %}" |
||||||
|
{% endif %} |
||||||
|
class="casing__btn btn{% if pink %} btn_pink{% endif %}" |
||||||
>продлить</a> |
>продлить</a> |
||||||
|
|||||||
Loading…
Reference in new issue