lib.itmens/catalog/templates/_item_card_metadata_game.html

24 lines
990 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 %}
<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>
2023-06-09 02:23:15 -04:00
{% endif %}
2024-07-14 00:19:41 -04:00
{% include '_people.html' with people=item.additional_title role='other title' max=2 %}
2023-06-09 02:23:15 -04:00
{% if item.release_date %}<span>{{ item.release_date }}</span>{% endif %}
</div>
{% endblock brief %}
{% block full %}
<div class="multi-fields">
2024-05-19 16:32:59 -04:00
{% include '_people.html' with people=item.genre role='genre' max=2 %}
{% include '_people.html' with people=item.platform role='platform' max=5 %}
{% include '_people.html' with people=item.developer role='developer' max=2 %}
{% include '_people.html' with people=item.publisher role='publisher' max=2 %}
2023-06-09 02:23:15 -04:00
</div>
<div>
{% if not hide_brief %}{{ item.brief | linebreaksbr }}{% endif %}
</div>
{% endblock full %}