Fix špatná proměnná
This commit is contained in:
parent
2a292f3a82
commit
b37953bc90
1 changed files with 3 additions and 3 deletions
|
@ -6,9 +6,9 @@ register = template.Library()
|
||||||
def deadline_text(datum):
|
def deadline_text(datum):
|
||||||
typ, cislo, deadline = deadline(datum)
|
typ, cislo, deadline = deadline(datum)
|
||||||
strings = {
|
strings = {
|
||||||
TypDeadline.PredDeadline: f"1. deadline čísla {cislo} ({datum})",
|
TypDeadline.PredDeadline: f"1. deadline čísla {cislo} ({deadline})",
|
||||||
TypDeadline.SousDeadline: f"Soustřeďkový deadline čísla {cislo} ({datum})",
|
TypDeadline.SousDeadline: f"Soustřeďkový deadline čísla {cislo} ({deadline})",
|
||||||
TypDeadline.FinalDeadline: f"Finální deadline čísla {cislo} ({datum})",
|
TypDeadline.FinalDeadline: f"Finální deadline čísla {cislo} ({deadline})",
|
||||||
}
|
}
|
||||||
return strings[typ]
|
return strings[typ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue