lib.itmens/catalog/templates/work.html

29 lines
844 B
HTML
Raw Normal View History

2022-12-15 17:29:35 -05:00
{% extends "item_base.html" %}
{% load static %}
{% load i18n %}
{% load l10n %}
{% load humanize %}
{% load mastodon %}
{% load strip_scheme %}
{% load thumb %}
<!-- class specific details -->
2024-04-09 15:53:03 -04:00
{% block details %}
2024-07-15 22:18:25 -04:00
<div>{% include '_people.html' with people=item.additional_title role='' max=99 %}</div>
2024-05-19 16:32:59 -04:00
<div>{% include '_people.html' with people=item.author role='author' max=5 %}</div>
2024-04-09 15:53:03 -04:00
{% endblock %}
2024-04-09 17:22:21 -04:00
{% block left_sidebar %}
<div>
2024-04-09 17:22:21 -04:00
<details open>
2024-05-19 16:32:59 -04:00
<summary>{% trans 'Editions' %}</summary>
2024-04-09 17:22:21 -04:00
{% for b in item.editions.all %}
<div>
2024-07-13 01:36:18 -04:00
<a href="{{ b.url }}">{{ b.display_title }}</a>
2024-04-09 17:22:21 -04:00
<small>({{ b.pub_house | default:'' }} {{ b.pub_year | default:'' }})</small>
</div>
{% endfor %}
</details>
</div>
{% endblock %}
2022-12-15 17:29:35 -05:00
<!-- class specific sidebar -->
{% block sidebar %}{% endblock %}