lib.itmens/catalog/templates/_item_card_metadata_movie.html

19 lines
752 B
HTML
Raw Permalink Normal View History

2023-06-09 02:23:15 -04:00
{% extends "_item_card_metadata_base.html" %}
{% load humanize %}
{% load i18n %}
{% block brief %}
<div class="multi-fields">
{% if item.rating %}
2024-05-19 16:32:59 -04:00
<span class="solo-hidden">{{ item.rating | floatformat:1 }} <small>({{ item.rating_count }} {% trans "ratings" %})</small></span>
{% endif %}
2024-05-19 16:32:59 -04:00
{% include '_people.html' with people=item.director role='director' max=2 %}
{% include '_people.html' with people=item.actor role='actor' max=2 %}
2023-06-09 02:23:15 -04:00
</div>
{% endblock brief %}
{% block full %}
2024-07-14 00:19:41 -04:00
<div class="multi-fields">{% include '_people.html' with people=item.additional_title role='other title' max=2 %}</div>
2023-06-09 10:52:44 -04:00
<div>
2024-07-14 10:45:27 -04:00
{% if not hide_brief %}{{ item.display_description | linebreaksbr }}{% endif %}
2023-06-09 10:52:44 -04:00
</div>
2023-06-09 02:23:15 -04:00
{% endblock full %}