mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-05-11 04:52:52 +00:00
handle cases where edition has no author
This commit is contained in:
parent
a0d15ccec0
commit
74e2103e3a
|
@ -1,6 +1,6 @@
|
|||
{% load i18n %}
|
||||
{% blocktrans trimmed with book_title=obj.title book_author=obj.author_text %}
|
||||
‘{{ book_title }}’ by {{ book_author }}
|
||||
‘{{ book_title }}’{% if book_author %} by {{ book_author }}{% endif %}
|
||||
{% endblocktrans %}
|
||||
{{obj.description|default:""}}
|
||||
{% if obj.isbn_13 %}{% trans "ISBN 13:" %} {{ obj.isbn_13 }}{% endif %}
|
||||
|
|
Loading…
Reference in a new issue