fix
authorRadek Czajka <rczajka@rczajka.pl>
Tue, 23 May 2023 11:13:26 +0000 (13:13 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Tue, 23 May 2023 11:13:26 +0000 (13:13 +0200)
src/pdcounter/views.py

index c782c0b..753c9e4 100644 (file)
@@ -21,7 +21,7 @@ def book_stub_detail(request, slug):
     if request.EXPERIMENTS['layout'].value:
         template_name = 'pdcounter/2022/book_detail.html'
     else:
     if request.EXPERIMENTS['layout'].value:
         template_name = 'pdcounter/2022/book_detail.html'
     else:
-        template_name = 'pdcounter/book_detail.html'
+        template_name = 'pdcounter/book_stub_detail.html'
 
     return render(request, template_name, {
         'book': book,
 
     return render(request, template_name, {
         'book': book,