diff --git a/apps/course/templates/course/course.html b/apps/course/templates/course/course.html index 42d6198c..615cb945 100644 --- a/apps/course/templates/course/course.html +++ b/apps/course/templates/course/course.html @@ -176,7 +176,7 @@ {% if course.cover %} {% else %} - + {% endif %} {% if course.is_deferred_start %}
@@ -223,66 +223,7 @@ {% endwith %} {% endfor %} -{% if user.is_authenticated and course.lessons.exists %} -
-
-
-
Содержание курса
-
- {% for lesson in course.lessons.all %} - {% if course.author == request.user and request.user.role >= request.user.AUTHOR_ROLE %} - - {% elif request.user.role == request.user.ADMIN_ROLE %} - - {% else %} - - {% endif %} - {% endfor %} -
- {% comment %}
- -
{% endcomment %} -
-
-
-{% comment %}
-
-
Материалы, которые понадобятся
-
- {% for material in course.materials.all %} -
- {% if material.cover %} -
- -
- {% else %} -
- -
- {% endif %} -
-
{{ material.title }}
-
{{ material.short_description }}
-
-
- {% endfor %} -
-
-
{% endcomment %} -{% endif %} + {% if False %}
diff --git a/apps/course/templates/course/course_only_lessons.html b/apps/course/templates/course/course_only_lessons.html index abfc3fcc..48ce5ffe 100644 --- a/apps/course/templates/course/course_only_lessons.html +++ b/apps/course/templates/course/course_only_lessons.html @@ -179,7 +179,7 @@ {% endif %}
-
{{ lesson.title }}
+
{{ forloop.counter }}. {{ lesson.title }}
diff --git a/apps/school/templates/school/livelesson_detail.html b/apps/school/templates/school/livelesson_detail.html index 435651c8..92ca42e1 100644 --- a/apps/school/templates/school/livelesson_detail.html +++ b/apps/school/templates/school/livelesson_detail.html @@ -13,13 +13,13 @@ - Если видео не загрузилось обновите страницу + Если видео не загрузилось обновите страницу {% else %} {% if livelesson.cover %} {% else %} - + {% endif %} {% endif %} diff --git a/project/templates/lilcity/edit_index.html b/project/templates/lilcity/edit_index.html index 23bb204a..f6029dbb 100644 --- a/project/templates/lilcity/edit_index.html +++ b/project/templates/lilcity/edit_index.html @@ -53,7 +53,11 @@ - + {% if live == 'true' %} + + {% else %} + + {% endif %}
{% include 'templates/blocks/user_menu.html' %}
diff --git a/project/templates/lilcity/index.html b/project/templates/lilcity/index.html index 3e5e5a94..ba11ed8e 100644 --- a/project/templates/lilcity/index.html +++ b/project/templates/lilcity/index.html @@ -30,7 +30,7 @@ {% comment %} {% endcomment %} - +