Skip to content
Snippets Groups Projects

Zadávání bodů a zobrazení výsledků

Merged Jiří Setnička requested to merge jirka/score into devel
All threads resolved!
2 files
+ 33
0
Compare changes
  • Side-by-side
  • Inline

Files

@@ -11,6 +11,12 @@
» {{ sc.user.full_name() }}
</h2>
<table class="data">
<tr><th>Účastník<td>{{ sc.user|user_link }}
<tr><th>Úloha<td><a href='{{ url_for('org_contest_task_submits', contest_id=sc.contest.contest_id, site_id=site_id, task_id=sc.task.task_id) }}'>{{ sc.task.code }} {{ sc.task.name }}</a>
<tr><th>Body<td>{% if solution and solution.points %}{{solution.points}}{% else %}–{% endif %}
</table>
{% include "parts/org_submit_warning.html" %}
<h3>Odevzdaná řešení</h3>
@@ -78,6 +84,26 @@
<p>Žádná.
{% endif %}
{% if points_history %}
<h3>Historie udělených bodů</h3>
<table class=data>
<thead>
<tr>
<th>Čas udělení
<th>Počet bodů
<th>Udělil/a
<tbody>
{% for p in points_history %}
<tr {% if loop.index == 1 %} class='sol-active'{% endif %}>
<td>{{ p.points_at|timeformat }}
<td>{{ p.points }}
<td>{{ p.user|user_link }}
</tr>
{% endfor %}
</table>
{% endif %}
{% if form %}
<h3>Odevzdávání</h3>
Loading