LIL-719 Исправить верстку управляющих кнопок

remotes/origin/editis_13-01-19
gzbender 7 years ago
parent f134d0d125
commit ff6e8c5432
  1. 4
      apps/course/templates/course/course.html

@ -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

Loading…
Cancel
Save