Html Deadline Hint #24

Merged
zelvuska merged 1 commit from html_deadline_hint into master 2023-02-27 19:58:58 +01:00
Showing only changes of commit d5cf81c32a - Show all commits

View file

@ -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'<span class="{classes[deadline.typ]}">{text}</span>')
return mark_safe(f'<span class="{classes[deadline.typ]}" title="{deadline}">{text}</span>')
@register.filter(name='zkrat_nazev_problemu')
def zkrat_nazev_problemu(nazev,width):