lib.itmens/catalog/templates/_item_card_metadata_tvseason.html
2024-05-20 12:00:17 -04:00

18 lines
733 B
HTML

{% extends "_item_card_metadata_base.html" %}
{% load humanize %}
{% load i18n %}
{% block brief %}
<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.director role='director' max=2 %}
{% include '_people.html' with people=item.actor role='actor' max=2 %}
</div>
{% endblock brief %}
{% block full %}
<div class="multi-fields">{% include '_people.html' with people=item.other_title role='other title' max=2 %}</div>
<div>
{% if not hide_brief %}{{ item.brief | linebreaksbr }}{% endif %}
</div>
{% endblock full %}