{% extends 'search/layout.html' %} {% load i18n %} {% load humanize %} {% load book_display_tags %} {% block panel %} {% if results or remote_results %}
{% include "snippets/book_titleby.html" with book=result %}
{% with book_review_count=result|review_count %} {% blocktrans trimmed count counter=book_review_count with formatted_review_count=book_review_count|intcomma %} {{ formatted_review_count }} review {% plural %} {{ formatted_review_count }} reviews {% endblocktrans %} {% endwith %} {% if result.first_published_date or result.published_date %} {% firstof result.first_published_date.year result.published_date.year as pub_year %} {% blocktrans %}(published {{ pub_year }}){% endblocktrans %} {% endif %}
{{ result.author }} {% if result.year %}({{ result.year }}){% endif %}
{% if request.user.is_authenticated %} {% if not remote %} {% trans "Load results from other catalogues" %} {% else %} {% trans "Manually add book" %} {% endif %} {% else %} {% trans "Log in to import or add books." %} {% endif %}
{% endblock %}