|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{% extends "templates/lilcity/index.html" %} |
|
|
|
|
course__actions{% extends "templates/lilcity/index.html" %} |
|
|
|
|
{% load static %} |
|
|
|
|
{% load data_liked from data_liked %} |
|
|
|
|
{% load rupluralize from plural %} |
|
|
|
|
@ -155,13 +155,14 @@ |
|
|
|
|
{% if not user.is_authenticated %}data-popup=".js-popup-auth"{% endif %} |
|
|
|
|
>УРОКИ |
|
|
|
|
</a> |
|
|
|
|
{% endif %} |
|
|
|
|
{% else %} |
|
|
|
|
<a |
|
|
|
|
class="course__action btn btn_lg{% if only_lessons %} btn_stroke{% else %} btn_gray{% endif %}" |
|
|
|
|
{% if paid %} |
|
|
|
|
href="{% url 'course-only-lessons' course.id %}" |
|
|
|
|
{% else %} |
|
|
|
|
data-popup=".js-popup-course-lock" |
|
|
|
|
data-popup="{% if not user.is_authenticated %}.js-popup-auth{% else %}.js-popup-course-lock{% endif %}" |
|
|
|
|
{% endif %} |
|
|
|
|
>УРОКИ |
|
|
|
|
{% if not paid %} |
|
|
|
|
@ -171,7 +172,6 @@ |
|
|
|
|
{% endif %} |
|
|
|
|
</a> |
|
|
|
|
{% endif %} |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
<a class="course__video video" href="#"> |
|
|
|
|
{% if course.cover %} |
|
|
|
|
|