Fix condition

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent 46e099c74f
commit 9ba7e83a44
  1. 4
      apps/course/templates/course/course.html

@ -25,7 +25,7 @@
</div>
<div class="go__title">Вернуться</div>
</a>
{% if course.author != request.user not paid and course.price %}
{% if course.author != request.user and not paid and course.price %}
<a
class="go__btn btn{% if pending %} btn_gray{% endif %} btn_md"
{% if user.is_authenticated %}
@ -392,7 +392,7 @@
</div>
{% endif %}
</div>
{% if course.author != request.user not paid and course.price %}
{% if course.author != request.user and not paid and course.price %}
<a
class="go__btn btn{% if pending %} btn_gray{% endif %} btn_md"
{% if user.is_authenticated %}

Loading…
Cancel
Save