Skip to content
Snippets Groups Projects
Commit 6b073572 authored by Jiří Setnička's avatar Jiří Setnička
Browse files

org_contest_task: upozornění na poznámky

Issue #165
parent 3295dbce
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ finální (ve výchozím stavu poslední nahrané).{% endif %} ...@@ -19,6 +19,7 @@ finální (ve výchozím stavu poslední nahrané).{% endif %}
{% if not for_user and not site and sc.allow_edit_points and not points_form %} {% if not for_user and not site and sc.allow_edit_points and not points_form %}
<a title="Editovat body" href="{{ url_for('org_contest_task_points', contest_id=contest.contest_id, task_id=task.task_id) }}" class="icon pull-right"></a> <a title="Editovat body" href="{{ url_for('org_contest_task_points', contest_id=contest.contest_id, task_id=task.task_id) }}" class="icon pull-right"></a>
{% endif %} {% endif %}
<th>Poznámky
<th>Akce <th>Akce
</tr> </tr>
</thead> </thead>
...@@ -80,6 +81,9 @@ finální (ve výchozím stavu poslední nahrané).{% endif %} ...@@ -80,6 +81,9 @@ finální (ve výchozím stavu poslední nahrané).{% endif %}
{% else %} {% else %}
<td><td><td> <td><td><td>
{% endif %} {% endif %}
<td style="text-align: center;">
{% if sol and sol.note %}<span class="icon" title="Poznámka pro řešitele: {{ sol.note }}">🗩</span>{% endif %}
{% if sol and sol.org_note %} <span class="icon" title="Interní poznámka: {{ sol.org_note }}">🗩</span>{% endif %}
<td> <td>
<a class="btn btn-xs btn-primary" href="{{ url_for('org_submit_list', contest_id=ct_id, user_id=u.user_id, task_id=task.task_id, site_id=site_id) }}">Detail</a> <a class="btn btn-xs btn-primary" href="{{ url_for('org_submit_list', contest_id=ct_id, user_id=u.user_id, task_id=task.task_id, site_id=site_id) }}">Detail</a>
</tr> </tr>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment