From c2f905a1e360e96ec6dca09b607b0e6db797e889 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jon=C3=A1=C5=A1=20Havelka?= <jonas.havelka@volny.cz>
Date: Wed, 5 Mar 2025 17:57:10 +0100
Subject: [PATCH] img_indexes

---
 .../korektury/korekturovatko/moduly/stranky_pdfka.html          | 2 +-
 korektury/views.py                                              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/korektury/templates/korektury/korekturovatko/moduly/stranky_pdfka.html b/korektury/templates/korektury/korekturovatko/moduly/stranky_pdfka.html
index b6096edf..df256dbd 100644
--- a/korektury/templates/korektury/korekturovatko/moduly/stranky_pdfka.html
+++ b/korektury/templates/korektury/korekturovatko/moduly/stranky_pdfka.html
@@ -1,4 +1,4 @@
-{% for i in img_indexes %}
+{% for i in cisla_stran %}
   <div class='imgdiv'>
     <img
       id='img-{{i}}'
diff --git a/korektury/views.py b/korektury/views.py
index d1be1609..d77ddbba 100644
--- a/korektury/views.py
+++ b/korektury/views.py
@@ -53,7 +53,7 @@ class KorekturyView(generic.DetailView):
 
 	def get_context_data(self, **kwargs):
 		context = super().get_context_data(**kwargs)
-		context['img_indexes'] = range(self.object.stran)
+		context['cisla_stran'] = range(self.object.stran)
 		context['tagy'] = KorekturaTag.objects.all()
 		return context