diff --git a/seminar/templates/seminar/zadani/AktualniZadani.html b/seminar/templates/seminar/zadani/AktualniZadani.html index e87821ae..e6fc298f 100644 --- a/seminar/templates/seminar/zadani/AktualniZadani.html +++ b/seminar/templates/seminar/zadani/AktualniZadani.html @@ -21,7 +21,7 @@ {% endif %} {% if ac.datum_preddeadline %}
- Termín odeslání {{ac.poradi}}. série pro otištění v dlaším čísle: + Termín odeslání {{ac.poradi}}. série pro otištění v dalším čísle: {{ac.datum_preddeadline}}
{% endif %} diff --git a/seminar/views/views_all.py b/seminar/views/views_all.py index 42e982f5..24d31ecc 100644 --- a/seminar/views/views_all.py +++ b/seminar/views/views_all.py @@ -1382,7 +1382,7 @@ class ClankyResitelView(generic.ListView): # FIXME: QuerySet není pole! def get_queryset(self): - clanky = Clanek.objects.filter(stav=Problem.STAV_ZADANY).select_related('cislo__rocnik').order_by('-cislo__rocnik__rocnik') + clanky = Clanek.objects.filter(stav=Problem.STAV_VYRESENY).select_related('cislo__rocnik').order_by('-cislo__rocnik__rocnik') queryset = [] skupiny_clanku = group_by_rocnik(clanky) for skupina in skupiny_clanku: