From d5cf81c32a455b8b4d669d2c7d85045451fd888c Mon Sep 17 00:00:00 2001 From: "Pavel \"LEdoian\" Turinsky" Date: Tue, 21 Feb 2023 17:08:10 +0100 Subject: [PATCH] =?UTF-8?q?P=C5=99id=C3=A1n=C3=AD=20titulku=20k=20v=C3=BDp?= =?UTF-8?q?isu=20deadlinu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Po najetí myší řekne, co znamenají symboly… --- seminar/templatetags/deadliny.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/seminar/templatetags/deadliny.py b/seminar/templatetags/deadliny.py index 95db664b..199a1eef 100644 --- a/seminar/templatetags/deadliny.py +++ b/seminar/templatetags/deadliny.py @@ -26,7 +26,7 @@ def deadline_html(deadline: m.Deadline): m.Deadline.TYP_PRVNI_A_SOUS: 'sous_deadline', m.Deadline.TYP_CISLA: 'final_deadline', } - return mark_safe(f'{text}') + return mark_safe(f'{text}') @register.filter(name='zkrat_nazev_problemu') def zkrat_nazev_problemu(nazev,width): @@ -35,4 +35,4 @@ def zkrat_nazev_problemu(nazev,width): nazev = nazev[:width-1] + "..." else: nazev = nazev[:width] + "..." - return nazev \ No newline at end of file + return nazev