{% comment %} The book-header template is used to display the heading for the books detail view. The book-header is used on each tab view for the details view. The header displays the books cover image, title, author(s), copyright year, start pages, and edition information. The template has one parameter `book`, which acts as the primary object for accessing properties to render. {% endcomment %} {% load static %} {% if book.digital_edition.thumbnail %} Thumbnail view of {{ instance.display_title }} {% else %} {% if not hide_placeholder %} {% endif %} {% endif %} {# use language code for book title if we know primary language (assumes title is in primary language) #}

{{ book.display_title }}

{% for author in book.work.authors.all %} {{ author.firstname_last }}{% if not forloop.last %}; {% endif %} {% endfor %}

{# handle journal article display #} {% if book.journal %}

{{ book.journal }} ({{ book.copyright_year }})

{% else %}

{{ book.year|default:'' }}{% if book.copy %} - {{ book.copy }}{% endif %}

{% endif %} {% if book.start_page %}

{{ book.start_page }}-{{ book.end_page }}

{% endif %} {% if hideLicense != True %} {% include "components/book-license.html" %} {% endif %}