37 lines
1.7 KiB
HTML
37 lines
1.7 KiB
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.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 %}
|
|
<span>{{ item.show.type.label }}: <a href="{{ item.show.url }}">{{ item.show.display_title }}</a></span>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock brief %}
|
|
{% block full %}
|
|
<div>
|
|
{% if not hide_brief %}{{ item.display_description | linebreaksbr }}{% endif %}
|
|
</div>
|
|
{% endblock full %}
|