diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index 9f6273b4..2737a719 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -135,14 +135,13 @@ {% endif %}
{% comment %} 234.120.345 руб. {% endcomment %} - {% with roles='author admin' %} - {% if request.user.role in roles.split and request.user.auth_token %} - {{request.user.auth_token}} + {% if request.user.auth_token %} + {% if request.user.role == 1 or request.user.role == 2 %} {% else %} {% endif %} - {% endwith %} + {% endif %}
ДОБАВИТЬ КУРС