lib.itmens/catalog/templates/_item_card_metadata_edition.html

26 lines
963 B
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 %}
{% if item.pub_house %}<span>{{ item.pub_house }}</span>{% endif %}
{% if item.pub_year %}
<span>
{{ item.pub_year }}
2024-12-01 16:18:07 -05:00
{% if item.pub_month %}- {{ item.pub_month }}{% endif %}
2024-05-19 16:32:59 -04:00
</span>
{% endif %}
2025-01-01 10:49:58 -05:00
{% include '_people.html' with people=item.additional_title role='other title' max=2 %}
2024-05-19 16:32:59 -04:00
</div>
2023-06-09 02:23:15 -04:00
{% endblock brief %}
{% block full %}
2024-05-19 21:37:12 -04:00
<div>
2024-07-14 10:45:27 -04:00
{% if not hide_brief %}{{ item.display_description | linebreaksbr }}{% endif %}
2024-05-19 21:37:12 -04:00
</div>
2023-06-09 02:23:15 -04:00
{% endblock full %}