lib.itmens/catalog/templates/game.html

38 lines
1.4 KiB
HTML
Raw Normal View History

2022-12-15 17:29:35 -05:00
{% extends "item_base.html" %}
{% load static %}
{% load i18n %}
{% load l10n %}
{% load humanize %}
{% load mastodon %}
{% load strip_scheme %}
{% load thumb %}
<!-- class specific details -->
{% block details %}
2024-01-07 17:30:37 -05:00
<div class="tldr-2" _="on click toggle .tldr-2 on me">
2024-07-15 22:18:25 -04:00
{% include '_people.html' with people=item.additional_title _role='' max=99 %}
</div>
2024-07-27 00:40:15 -04:00
<div>
{% if item.release_type %}
{% trans 'release type' %}: {{ item.get_release_type_display }}
{% endif %}
</div>
<div>
{% if item.release_date %}
2024-05-19 16:32:59 -04:00
{% trans 'release date' %}: {{ item.release_date }}
2024-01-07 17:30:37 -05:00
{% elif item.release_year %}
2024-05-19 16:32:59 -04:00
{% trans 'release year' %}: {{ item.release_year }}
{% endif %}
</div>
2024-05-19 16:32:59 -04:00
<div>{% include '_people.html' with people=item.platform role='platform' max=8 %}</div>
<div>{% include '_people.html' with people=item.genre role='genre' max=5 %}</div>
<div>{% include '_people.html' with people=item.designer role='designer' max=3 %}</div>
<div>{% include '_people.html' with people=item.artist role='artist' max=3 %}</div>
<div>{% include '_people.html' with people=item.developer role='developer' max=2 %}</div>
<div>{% include '_people.html' with people=item.publisher role='publisher' max=2 %}</div>
<div>
{% if item.official_site %}
2024-06-10 17:28:20 -04:00
{% trans 'website' %}: {{ item.official_site|urlizetrunc:24 }}
{% endif %}
</div>
2022-12-15 17:29:35 -05:00
{% endblock %}