From 3edb103bd74d63be7a4b80e50ed888a54d7b97de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Setni=C4=8Dka?= <setnicka@seznam.cz> Date: Mon, 1 Mar 2021 22:20:39 +0100 Subject: [PATCH] =?UTF-8?q?Detail=20submitu:=20V=20tabulce=20=C5=99e=C5=A1?= =?UTF-8?q?en=C3=AD=20referujeme=20=C3=BA=C4=8Dastn=C3=ADka=20jen=20textem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pro odlišení od organizátorů a zároveň pro eliminaci odkazů na obecný detail uživatele (viz #157) --- mo/web/templates/org_submit_list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mo/web/templates/org_submit_list.html b/mo/web/templates/org_submit_list.html index ffb9443a..3e847b2a 100644 --- a/mo/web/templates/org_submit_list.html +++ b/mo/web/templates/org_submit_list.html @@ -66,7 +66,7 @@ Existuje více než jedna verze řešení, finální je podbarvená. <td{% if late %} class='sol-warn'{% endif %}>{{ p.uploaded_at|timeformat }} <td>{% if p.broken %}nekorektní PDF{% else %}{{ p.pages|or_dash }}{% endif %} <td>{{ p.bytes|or_dash }} - <td>{{ p.uploaded_by_obj|user_link }} + <td>{% if p.uploaded_by_obj == sc.user %}<i>účastník</i>{% else %}{{ p.uploaded_by_obj|user_link }}{% endif %} <td>{% if late %}<span class='sol-warn'>({{ late }})</span> {% endif %}{{ p.note }} <td><div class="btn-group"> <a class='btn btn-xs btn-primary' href='{{ paper_link(p) }}'>Stáhnout</a> -- GitLab