lib.itmens/catalog/templates/_item_card_metadata_edition.html

38 lines
1.7 KiB
HTML
Raw Normal View History

2023-06-09 02:23:15 -04:00
{% extends "_item_card_metadata_base.html" %}
{% load humanize %}
{% load i18n %}
{% block brief %}
2024-05-19 16:32:59 -04:00
<div class="multi-fields">
{% if item.rating %}
<span class="solo-hidden">{{ item.rating | floatformat:1 }} <small>({{ item.rating_count }} {% trans "ratings" %})</small></span>
{% endif %}
{% include '_people.html' with people=item.author role='author' max=2 %}
{% include '_people.html' with people=item.translator role='translator' max=2 %}
{% include '_people.html' with people=item.director role='director' max=2 %}
{% include '_people.html' with people=item.hosts role='' max=2 %}
{% include '_people.html' with people=item.artist role='' max=2 %}
{% include '_people.html' with people=item.developer role='' max=2 %}
{% if item.pub_house %}<span>{{ item.pub_house }}</span>{% endif %}
{% if item.pub_year %}
<span>
{{ item.pub_year }}
{% if item.pub_month %}-{{ item.pub_month }}{% endif %}
</span>
{% endif %}
{% if item.release_date %}<span>{{ item.release_date }}</span>{% endif %}
{% include '_people.html' with people=item.genre role='' max=2 %}
{% include '_people.html' with people=item.troupe role='' max=2 %}
{% include '_people.html' with people=item.location role='' max=2 %}
{% comment %} {% include '_people.html' with people=item.language role='' max=5 %} {% endcomment %}
{% include '_people.html' with people=item.platform role='' max=5 %}
{% if item.show %}
2024-07-13 01:36:18 -04:00
<span>{{ item.show.type.label }}: <a href="{{ item.show.url }}">{{ item.show.display_title }}</a></span>
2024-05-19 16:32:59 -04:00
{% endif %}
</div>
2023-06-09 02:23:15 -04:00
{% endblock brief %}
{% block full %}
2024-05-19 21:37:12 -04:00
<div>
{% if not hide_brief %}{{ item.brief | linebreaksbr }}{% endif %}
</div>
2023-06-09 02:23:15 -04:00
{% endblock full %}