{% load highlight %} {% load humanize %} {% load i18n %}
{% if request.GET.q %} {{ item.title | strip_season | highlight:request.GET.q }} {% else %} {{ item.title | strip_season }} {% endif %} {% if item.season_number %}第{{ item.season_number|apnumber }}季{% endif %} {% if item.year %}({{ item.year }}){% endif %} {% if not hide_category %}[{{ item.category.label }}]{% endif %} {% for res in item.external_resources.all %} {{ res.site_name.label }} {% endfor %}
{% if item.subtitle %}{{ item.subtitle }}{% endif %} {% if item.orig_title %} {{ item.orig_title }} {% if item.season_number %}Season {{ item.season_number }}{% endif %} {% endif %}
{% if item.rating %} {{ item.rating | floatformat:1 }}分({{ item.rating_count }}人) {% else %} {% endif %} {% include '_people.html' with people=item.author role='作者' max=2 %} {% include '_people.html' with people=item.translator role='译者' max=2 %} {% include '_people.html' with people=item.director role='导演' 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 %}{{ item.pub_house }}{% endif %} {% if item.pub_year %} {{ item.pub_year }}{% trans '年' %} {% if item.pub_month %} {{ item.pub_month }}{% trans '月' %} {% endif %} {% endif %} {% if item.release_date %}{{ item.release_date }}{% endif %} {% include '_people.html' with people=item.genre role='' max=10 %} {% include '_people.html' with people=item.platform role='' max=10 %} {% if item.show %} {% trans '所属剧集:' %}{{ item.show.title }} {% endif %}
{% if item.actor %} {% include '_people.html' with people=item.actor role='主演' max=2 %}
{% endif %} {% if item.other_title %} {% include '_people.html' with people=item.other_title role='又名' max=2 %}
{% endif %} {% if not hide_brief %} {% if request.GET.q %} {{ item.brief | linebreaksbr | highlight:request.GET.q }} {% else %} {{ item.brief | linebreaksbr }} {% endif %} {% endif %}
{% if show_tags %}
{% for tag in item.tags %} {% if forloop.counter <= 5 %} {{ tag }} {% endif %} {% endfor %}
{% endif %}