Finální podoba frontendu korekturovátka? #92

Merged
zelvuska merged 19 commits from korekturovatko into master 2025-06-04 18:54:56 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 96b9f63295 - Show all commits

View file

@ -1,4 +1,4 @@
{% for i in img_indexes %} {% for i in indexy_stran %}
<div class='imgdiv'> <div class='imgdiv'>
<img <img
id='img-{{i}}' id='img-{{i}}'

View file

@ -53,7 +53,7 @@ class KorekturyView(generic.DetailView):
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs) context = super().get_context_data(**kwargs)
context['img_indexes'] = range(self.object.stran) context['indexy_stran'] = range(self.object.stran)
context['tagy'] = KorekturaTag.objects.all() context['tagy'] = KorekturaTag.objects.all()
return context return context