From 4a36ad5d578741e1f6b2ba6dd0f204102a1a3605 Mon Sep 17 00:00:00 2001 From: LEdoian Date: Sun, 21 Dec 2025 19:43:46 +0000 Subject: [PATCH] =?UTF-8?q?Dops=C3=A1n=20test,=20upraveny=20v=C4=9Bci,=20a?= =?UTF-8?q?by=20b=C4=9B=C5=BEel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- galerie/templates/galerie/Galerie.html | 56 +++++++++++----------- galerie/tests.py | 65 ++++++++++++++++++++++++++ galerie/views.py | 3 +- 3 files changed, 95 insertions(+), 29 deletions(-) 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 %}