|
@ -275,14 +275,6 @@ class TitulniStranaView(generic.ListView): |
|
|
context['nejblizsi_deadline'] = None |
|
|
context['nejblizsi_deadline'] = None |
|
|
|
|
|
|
|
|
context['typ_deadline'] = nejblizsi_deadline[1] |
|
|
context['typ_deadline'] = nejblizsi_deadline[1] |
|
|
context['ted'] = datetime.now() |
|
|
|
|
|
|
|
|
|
|
|
if (nejblizsi_deadline[1] == 'soustredeni'): |
|
|
|
|
|
context['dead'] = datetime.combine(deadline_soustredeni[0], datetime.max.time()) |
|
|
|
|
|
context['deadline_soustredeni'] = True |
|
|
|
|
|
else: |
|
|
|
|
|
context['dead'] = context['nejblizsi_deadline'] |
|
|
|
|
|
context['deadline_soustredeni'] = False |
|
|
|
|
|
|
|
|
|
|
|
# Aktuální témata |
|
|
# Aktuální témata |
|
|
nazvy_a_odkazy_na_aktualni_temata = [] |
|
|
nazvy_a_odkazy_na_aktualni_temata = [] |
|
|