|
|
|
|
@ -35,12 +35,12 @@ |
|
|
|
|
<div class="go__title">Вернуться</div> |
|
|
|
|
</a> |
|
|
|
|
{% if has_full_access %} |
|
|
|
|
<a class="go__btn btn btn_light-gray" href="{% url 'course_edit' course.id %}">Редактировать</a> |
|
|
|
|
<a class="btn btn_light-gray" href="{% url 'course_edit' course.id %}">Редактировать</a> |
|
|
|
|
{% endif %} |
|
|
|
|
{% if course.author != request.user and not paid and course.price %} |
|
|
|
|
<div> |
|
|
|
|
<a href="#" |
|
|
|
|
class="go__btn btn{% if pending %} btn_gray{% endif %} btn_md" |
|
|
|
|
class="btn{% if pending %} btn_gray{% endif %} btn_md" |
|
|
|
|
{% if user.is_authenticated %} |
|
|
|
|
{% if not pending %} |
|
|
|
|
data-course-buy |
|
|
|
|
|