From 6b0735724a8d76e0e7b1ab009067bbd6fcd0049d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ji=C5=99=C3=AD=20Setni=C4=8Dka?= <setnicka@seznam.cz>
Date: Tue, 16 Feb 2021 00:12:13 +0100
Subject: [PATCH] =?UTF-8?q?org=5Fcontest=5Ftask:=20upozorn=C4=9Bn=C3=AD=20?=
 =?UTF-8?q?na=20pozn=C3=A1mky?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Issue #165
---
 mo/web/templates/parts/org_solution_table.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mo/web/templates/parts/org_solution_table.html b/mo/web/templates/parts/org_solution_table.html
index ec9996a4..9eb4f7de 100644
--- a/mo/web/templates/parts/org_solution_table.html
+++ b/mo/web/templates/parts/org_solution_table.html
@@ -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 %}
 				<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 %}
+			<th>Poznámky
 			<th>Akce
 		</tr>
 	</thead>
@@ -80,6 +81,9 @@ finální (ve výchozím stavu poslední nahrané).{% endif %}
 		{% else %}
 		<td>–<td>–<td>–
 		{% 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>
 			<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>
-- 
GitLab