{% trans "Thatās great!" %}
-- {% blocktrans with pages=pages_average|intcomma %}That makes an average of {{ pages }} pages per book.{% endblocktrans %} -
+ {% if pages > 0 %} ++ {% blocktrans with pages=pages_average|intcomma %}That makes an average of {{ pages }} pages per book.{% endblocktrans %} +
+ {% endif %} {% if no_page_number %}{% blocktrans trimmed count counter=no_page_number %} - ({{ no_page_number }} book doesnāt have pages) + (No page data was available for {{ no_page_number }} book) {% plural %} - ({{ no_page_number }} books donāt have pages) + (No page data was available for {{ no_page_number }} books) {% endblocktrans %}
{% endif %} diff --git a/bookwyrm/templates/author/author.html b/bookwyrm/templates/author/author.html index ade654568..909f2435c 100644 --- a/bookwyrm/templates/author/author.html +++ b/bookwyrm/templates/author/author.html @@ -28,7 +28,7 @@ {% firstof author.aliases author.born author.died as details %} - {% firstof author.wikipedia_link author.openlibrary_key author.inventaire_id author.isni author.isfdb as links %} + {% firstof author.wikipedia_link author.website author.openlibrary_key author.inventaire_id author.isni author.isfdb as links %} {% if details or links %}{{ form.website }}
+ + {% include 'snippets/form_errors.html' with errors_list=form.website.errors id="desc_website" %} +