Show auth popup on buy school if user not authenticated

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent 0177d7f4af
commit b857215d22
  1. 4
      project/templates/lilcity/main.html

@ -6,7 +6,11 @@
<div class="main__center center">
<div class="main__title">Первая онлайн-школа креативного мышления для детей! 5+</div>
<a
{% if not user.is_authenticated %}
data-popup=".js-popup-auth"
{% else %}
data-popup=".js-popup-buy"
{% endif %}
class="main__btn btn"
href="#"
>КУПИТЬ ДОСТУП ОТ 2000р. в мес.</a>

Loading…
Cancel
Save