lib.itmens/catalog/templates/work.html

28 lines
844 B
HTML

{% extends "item_base.html" %}
{% load static %}
{% load i18n %}
{% load l10n %}
{% load humanize %}
{% load mastodon %}
{% load strip_scheme %}
{% load thumb %}
<!-- class specific details -->
{% block details %}
<div>{% include '_people.html' with people=item.additional_title role='' max=99 %}</div>
<div>{% include '_people.html' with people=item.author role='author' max=5 %}</div>
{% endblock %}
{% block left_sidebar %}
<div>
<details open>
<summary>{% trans 'Editions' %}</summary>
{% for b in item.editions.all %}
<div>
<a href="{{ b.url }}">{{ b.display_title }}</a>
<small>({{ b.pub_house | default:'' }} {{ b.pub_year | default:'' }})</small>
</div>
{% endfor %}
</details>
</div>
{% endblock %}
<!-- class specific sidebar -->
{% block sidebar %}{% endblock %}