|
|
@ -63,6 +63,7 @@ class TabulkaOdevzdanychReseniView(ListView): |
|
|
|
reseni_od = fcd["reseni_od"] |
|
|
|
reseni_do = fcd["reseni_do"] |
|
|
|
jen_neobodovane = fcd["neobodovane"] |
|
|
|
self.barvicky = fcd["barvicky"] |
|
|
|
else: |
|
|
|
initial = FiltrForm.gen_initial(self.aktualni_rocnik) |
|
|
|
resitele = initial['resitele'] |
|
|
@ -70,6 +71,7 @@ class TabulkaOdevzdanychReseniView(ListView): |
|
|
|
reseni_od = initial['reseni_od'][0] |
|
|
|
reseni_do = initial['reseni_do'][0] |
|
|
|
jen_neobodovane = initial["neobodovane"] |
|
|
|
self.barvicky = initial["barvicky"] |
|
|
|
|
|
|
|
|
|
|
|
# Chceme jen letošní problémy |
|
|
@ -161,6 +163,7 @@ class TabulkaOdevzdanychReseniView(ListView): |
|
|
|
ctx['form'] = ctx['filtr'] |
|
|
|
# Pro maximum v přesměrovátku ročníků |
|
|
|
ctx['aktualni_rocnik'] = m.Nastaveni.get_solo().aktualni_rocnik |
|
|
|
ctx['barvicky'] = self.barvicky |
|
|
|
if 'rocnik' in self.kwargs: |
|
|
|
ctx['rocnik'] = self.kwargs['rocnik'] |
|
|
|
else: |
|
|
|