fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a5e7a1
)
Bugfix for books without any text.
author
Radek Czajka
<rczajka@rczajka.pl>
Wed, 9 Sep 2020 11:40:24 +0000
(13:40 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Thu, 10 Sep 2020 12:15:11 +0000
(14:15 +0200)
src/catalogue/templates/catalogue/book_wide.html
patch
|
blob
|
history
diff --git
a/src/catalogue/templates/catalogue/book_wide.html
b/src/catalogue/templates/catalogue/book_wide.html
index
26b085a
..
ffa4bce
100644
(file)
--- a/
src/catalogue/templates/catalogue/book_wide.html
+++ b/
src/catalogue/templates/catalogue/book_wide.html
@@
-7,7
+7,7
@@
{% block box-class %}book-wide-box{% endblock %}
-{% block cover-link %}{%
url 'book_text' book.get_first_text.slug
%}{% endblock %}
+{% block cover-link %}{%
if book.get_first_text %}{% url 'book_text' book.get_first_text.slug %}{% endif
%}{% endblock %}
{% block cover-area-extra %}