1 {% extends 'base.html' %}
5 <h1>{% if marked %}Ocenione odpowiedzi{% else %}Odpowiedzi do oceny{% endif %}</h1>
6 <h2>{{ assignment.title }} (max {{ assignment.max_points }} pkt)</h2>
7 {% if assignment.is_active %}
8 <p><strong>Możliwość oceniania zostanie włączona po terminie wysyłania rozwiązań</strong></p>
11 <p><a href="{% url 'stage2_answer_list' assignment.id %}">Przejdź do odpowiedzi do oceny</a></p>
13 <p><a href="{% url 'stage2_marked_answers' assignment.id %}">Przejdź do ocenionych odpowiedzi</a></p>
16 <p>{% if not marked and not assignment.is_active %}Pozostało {% endif %}{{ answers|length }} odpowiedzi</p>
19 {% for field_name, count in field_counts %}
20 <li>{{ field_name }}: {{ count }} odpowiedzi</li>
26 {% for expert, expert_count, assigned_count in assignment.expert_counts %}
27 <li>{{ expert.username }}: {{ expert_count }}{% if assigned_count %} z {{ assigned_count }}{% endif %}</li>
29 <li>kompletnych: {{ assignment.complete_answers.count }}</li>
30 <li>do trzeciej oceny: {{ assignment.needing_arbiter.count }}</li>
33 {% for answer in answers %}
35 <h3>{{ answer.participant }}</h3>
37 <h3>Uczestnik {{ answer.participant.id }}</h3>
39 {% for label, value in answer.fields %}
41 <strong>{{ label }}</strong>: {{ value }}
44 {% for label, attachment in answer.attachments %}
46 <strong>{{ label }}</strong>:
47 {% if attachment.file %}
48 <a href="{% url 'stage2_expert_download' attachment.id %}">{{ attachment.filename }}</a>
49 ({{ attachment.file.size|filesizeformat }})
55 {% if not assignment.is_active %}
56 <form method="post" action="" class="submit-form">
59 {% for form in answer.forms %}
62 <tr><td></td><td><button type="submit">Zapisz</button></td></tr>