Fix course template for free course

remotes/origin/hasaccess
Ivlev Denis 8 years ago
parent ad41d545d4
commit 1101fd97b5
  1. 4
      apps/course/templates/course/course.html

@ -25,7 +25,7 @@
</div> </div>
<div class="go__title">Вернуться</div> <div class="go__title">Вернуться</div>
</a> </a>
{% if not paid %} {% if not paid and course.price %}
<a <a
class="go__btn btn{% if pending %} btn_gray{% endif %} btn_md" class="go__btn btn{% if pending %} btn_gray{% endif %} btn_md"
{% if user.is_authenticated %} {% if user.is_authenticated %}
@ -387,7 +387,7 @@
<div class="meta__title">{{ course.price|floatformat:"-2" }}₽</div> <div class="meta__title">{{ course.price|floatformat:"-2" }}₽</div>
</div> </div>
</div> </div>
{% if not paid %} {% if not paid and course.price %}
<a <a
class="go__btn btn{% if pending %} btn_gray{% endif %} btn_md" class="go__btn btn{% if pending %} btn_gray{% endif %} btn_md"
{% if user.is_authenticated %} {% if user.is_authenticated %}

Loading…
Cancel
Save