diff --git a/galerie/templates/galerie/Galerie.html b/galerie/templates/galerie/Galerie.html index d64fbeb4..64f24d35 100644 --- a/galerie/templates/galerie/Galerie.html +++ b/galerie/templates/galerie/Galerie.html @@ -3,14 +3,14 @@ {% load bazmeky %} {% block nadpis1a %} -{{galerie.nazev}}: {{ obrazek.popisek | default:"Fotka" }} +{{galerie.nazev}}: {{ soubor.popisek | default:"Fotka" }} {% endblock %} {# přecházení mezi fotkami pomocí šipek #} {% block script %} - {% with obrazky_predchozi|last as predchozi_obrazek %} - {% with obrazky_dalsi|first as dalsi_obrazek %} + {% with soubory_predchozi|last as predchozi_soubor %} + {% with soubory_dalsi|first as dalsi_soubor %}