{% extends 'base_index.html' %} {% block head %} {% endblock %} {% block title %}{{ course.head.title }} / Домашнее задание{% endblock %} {% block content %} {% if exam.heaad.status == 'T' %} {% endif %}
{{ course.level.title }} уровень
{{ course.head.title }}
Приобретаемые навыки: {% for skill in course.head.skills %} {% if skill.mini_icon %}{% endif %}{{ skill }} {% endfor %}
{{ course.head.lessons }} урока(-ов)
{% if course.head.progress != 0 %}
{{ course.head.progress }}%
{% endif %}

Описание задания

{{ exam.head.description|safe }}
{% if exam.materials %}
Материалы к заданию
{% for i in exam.materials %} {% endfor %}
{% endif %}
{% if exam.tries %}

 Попыток: ({{ exam.tries|length }}) :

{% endif %}
{% if exam.tries %} {% for try in exam.tries %}
LMS: ~# Попытка №{{ forloop.counter }}
{% for comment in try.comments %}
{{ comment.owner }} {{ comment.date }}
{{ comment.text|safe }}
{% for file in comment.files %} {% endfor %}
{% endfor %}
{% endfor %} {% endif %} {% if request.user.is_authenticated %} {% if exam.head.status.flag != 'N' and exam.head.status.flag != 'F' %}

 ОСТАВИТЬ СООБЩЕНИЕ :

{% if request.user.is_authenticated and resuqest.user.in_role == 'Ts' or request.user.in_role == 'A' %} Просто отправить Заставить одобрить Заставить отказать {% endif %}
{% endif %} {% else %}

Для работы с домашним заданием, авторизуйтесь.

{% endif %}
{% include 'right_site.html' %} {% endblock %} {% block js %} {% endblock %}