From: Radek Czajka Date: Mon, 20 Apr 2020 15:09:05 +0000 (+0200) Subject: Add link. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/e22b691a1c2ac0e1aba750771cd17f032f47c172?ds=sidebyside Add link. --- diff --git a/src/documents/templates/documents/book_detail.html b/src/documents/templates/documents/book_detail.html index d9b06c7f..be17ec14 100644 --- a/src/documents/templates/documents/book_detail.html +++ b/src/documents/templates/documents/book_detail.html @@ -37,8 +37,12 @@
- W katalogu: - {{ book.catalogue_book }} + {% with cbook=book.catalogue_book %} + {% if cbook %} + W katalogu: + {{ cbook }} + {% endif %} + {% endwith %}