fix stupid bug
authorJan Szejko <janek37@gmail.com>
Mon, 11 Jun 2018 11:06:01 +0000 (13:06 +0200)
committerJan Szejko <janek37@gmail.com>
Mon, 11 Jun 2018 11:06:01 +0000 (13:06 +0200)
src/catalogue/templates/catalogue/book_short.html

index 675e761..b69329b 100644 (file)
@@ -97,7 +97,7 @@
       </div>
       {% book_shelf_tags book.pk %}
 
-      {% if book|status:user != 'closed' %}
+      {% if book|status:request.user != 'closed' %}
         <ul class="book-box-tools">
           <li class="book-box-read">
             {% if book.html_file %}