Show full question text in student answers and update late badge text
This commit is contained in:
@@ -67,7 +67,10 @@
|
||||
<!-- Status indicator line -->
|
||||
<div class="absolute left-0 top-0 bottom-0 w-1 {% if answer.is_correct %}bg-emerald-500{% elif answer.is_correct == False %}bg-rose-500{% else %}bg-txt-faint{% endif %}"></div>
|
||||
|
||||
<h5 class="font-medium text-sm text-txt-muted mb-3 pl-2">Задача {{ forloop.counter }}: {{ answer.question.text|striptags|truncatewords:10 }}</h5>
|
||||
<h5 class="font-bold text-sm text-txt-secondary mb-2 pl-2">Задача {{ forloop.counter }}</h5>
|
||||
<div class="prose prose-invert max-w-none text-white text-sm mb-4 pl-2 font-body">
|
||||
{{ answer.question.text|safe }}
|
||||
</div>
|
||||
|
||||
<div class="pl-2">
|
||||
{% if answer.question.question_type == 'TEXT_AUTO' %}
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
{% else %}
|
||||
{% if assignment.deadline and now > assignment.deadline %}
|
||||
{% if assignment.allow_late_submissions %}
|
||||
<span class="inline-flex items-center gap-1.5 px-2 py-0.5 rounded text-xs font-mono font-medium bg-obsidian-borderLight/20 text-txt-muted border border-obsidian-borderLight/50">
|
||||
Дедлайн прошел
|
||||
<span class="inline-flex items-center gap-1.5 px-2 py-0.5 rounded text-xs font-mono font-medium bg-accent-blue/10 text-accent-blue border border-accent-blue/30">
|
||||
Дорешивание
|
||||
</span>
|
||||
{% else %}
|
||||
<span class="inline-flex items-center gap-1.5 px-2 py-0.5 rounded text-xs font-mono font-medium bg-rose-950/40 text-rose-400 border border-rose-800/50">
|
||||
|
||||
Reference in New Issue
Block a user