|
|
@ -8,9 +8,9 @@ def deadline_kratsi_text(deadline: m.Deadline): |
|
|
|
if deadline is None: |
|
|
|
return 'NONE' |
|
|
|
strings = { |
|
|
|
m.Deadline.TYP_PRVNI: f"{deadline.cislo} ♲", |
|
|
|
m.Deadline.TYP_PRVNI: f"{deadline.cislo} ⭯", |
|
|
|
m.Deadline.TYP_SOUS: f"{deadline.cislo} Ⓢ", |
|
|
|
m.Deadline.TYP_PRVNI_A_SOUS: f"{deadline.cislo} ♲Ⓢ", |
|
|
|
m.Deadline.TYP_PRVNI_A_SOUS: f"{deadline.cislo} ⭯Ⓢ", |
|
|
|
m.Deadline.TYP_CISLA: f"{deadline.cislo} ✓", |
|
|
|
} |
|
|
|
return strings[deadline.typ] |
|
|
|