|
|
|
|
@ -138,14 +138,14 @@ |
|
|
|
|
{% if request.user.role == request.user.AUTHOR_ROLE or request.user.role == request.user.ADMIN_ROLE %} |
|
|
|
|
<a |
|
|
|
|
href="{% url 'course-only-lessons' course.id %}" |
|
|
|
|
class="course__action btn btn_lg{% if not only_lessons %} btn_stroke{% else %} btn_gray{% endif %}" |
|
|
|
|
class="course__action btn btn_lg{% if only_lessons %} btn_stroke{% else %} btn_gray{% endif %}" |
|
|
|
|
{% if not user.is_authenticated %}data-popup=".js-popup-auth"{% endif %} |
|
|
|
|
>УРОКИ |
|
|
|
|
</a> |
|
|
|
|
{% else %} |
|
|
|
|
<a |
|
|
|
|
href="{% if paid %}{% url 'course-only-lessons' course.id %}{% else %}#{% endif %}" |
|
|
|
|
class="course__action btn btn_lg{% if not only_lessons %} btn_stroke{% else %} btn_gray{% endif %}" |
|
|
|
|
class="course__action btn btn_lg{% if only_lessons %} btn_stroke{% else %} btn_gray{% endif %}" |
|
|
|
|
>УРОКИ |
|
|
|
|
{% if not paid %} |
|
|
|
|
<svg class="icon icon-lock"> |
|
|
|
|
|