|
@ -8,9 +8,9 @@ def deadline_kratsi_text(deadline: m.Deadline): |
|
|
if deadline is None: |
|
|
if deadline is None: |
|
|
return 'NONE' |
|
|
return 'NONE' |
|
|
strings = { |
|
|
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_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} ✓", |
|
|
m.Deadline.TYP_CISLA: f"{deadline.cislo} ✓", |
|
|
} |
|
|
} |
|
|
return strings[deadline.typ] |
|
|
return strings[deadline.typ] |
|
|