{% if request.GET.q %}
“{{ request.GET.q }}” {% trans '的搜索结果' %}
{% endif %} {% if request.GET.tag %}{% trans '含有标签' %} “{{ request.GET.tag }}” {% trans '的结果' %}
{% endif %}-
{% for item in items %}
{% if item.category_name|lower == 'book' %}
{% with book=item %}
-
{% if request.GET.q %} {{ book.title | highlight:request.GET.q }} {% else %} {{ book.title }} {% endif %} {% if not request.GET.c or request.GET.c != 'movie' and request.GET.c != 'book'%} [{{item.verbose_category_name}}] {% endif %} {{ book.get_source_site_display }}{% if book.rating %} {% else %} {% endif %} {% if book.pub_year %} {{ book.pub_year }}{% trans '年' %} {% if book.pub_month %} {{book.pub_month }}{% trans '月' %} / {% endif %} {% endif %} {% if book.author %} {% trans '作者' %} {% for author in book.author %} {{ author }}{% if not forloop.last %},{% endif %} {% endfor %}/ {% endif %} {% if book.translator %} {% trans '译者' %} {% for translator in book.translator %} {{ translator }}{% if not forloop.last %},{% endif %} {% endfor %}/ {% endif %} {% if book.orig_title %} {% trans '原名' %} {{ book.orig_title }} {% endif %}
{{ book.brief }}
{% for tag_dict in book.tag_list %} {% for k, v in tag_dict.items %} {% if k == 'content' %} {{ v }} {% endif %} {% endfor %} {% endfor %}
{% endwith %}
{% elif item.category_name|lower == 'movie' %}
{% with movie=item %}
-
{% if movie.season %} {% if request.GET.q %} {{ movie.title | highlight:request.GET.q }} {% trans '第' %}{{ movie.season|apnumber }}{% trans '季' %} {{ movie.orig_title | highlight:request.GET.q }} Season {{ movie.season }} {% if movie.year %}({{ movie.year }}){% endif %} {% else %} {{ movie.title }} {% trans '第' %}{{ movie.season|apnumber }}{% trans '季' %} {{ movie.orig_title }} Season {{ movie.season }} {% if movie.year %}({{ movie.year }}){% endif %} {% endif %} {% else %} {% if request.GET.q %} {{ movie.title | highlight:request.GET.q }} {{ movie.orig_title | highlight:request.GET.q }} {% if movie.year %}({{ movie.year }}){% endif %} {% else %} {{ movie.title }} {{ movie.orig_title }} {% if movie.year %}({{ movie.year }}){% endif %} {% endif %} {% endif %} {% if not request.GET.c or request.GET.c != 'movie' and request.GET.c != 'book'%} [{{item.verbose_category_name}}] {% endif %} {{ movie.get_source_site_display }}{% if movie.rating %} {% else %} {% endif %} {% if movie.director %}{% trans '导演' %} {% for director in movie.director %} {{ director }}{% if not forloop.last %} {% endif %} {% endfor %}/ {% endif %} {% if movie.genre %}{% trans '类型' %} {% for genre in movie.get_genre_display %} {{ genre }}{% if not forloop.last %} {% endif %} {% endfor %} {% endif %} {% if movie.actor %}{% trans '主演' %} {% for actor in movie.actor %} 5 %}style="display: none;" {% endif %}>{{ actor }} {% if forloop.counter <= 5 %} {% if not forloop.counter == 5 and not forloop.last %} / {% endif %} {% endif %} {% endfor %} {% endif %}
{{ movie.brief | truncate:170 }}
{% for tag_dict in movie.tag_list %} {% for k, v in tag_dict.items %} {% if k == 'content' %} {{ v }} {% endif %} {% endfor %} {% endfor %}
{% endwith %}
{% elif item.category_name|lower == 'album' or item.category_name|lower == 'song' %}
{% with music=item %}
-
{% comment %} {% if item.category_name == 'album' %} {{ music.title | highlight:request.GET.q }} {% elif item.category_name = 'song' %} {{ music.title | highlight:request.GET.q }} {% endif %} {% endcomment %} {% if not request.GET.c or request.GET.c != 'music' and request.GET.c != 'book' and request.GET.c != 'music' %} [{{item.verbose_category_name}}] {% endif %} {{ music.get_source_site_display }}{% if music.rating %} {% else %} {% endif %} {% if music.genre %}{% trans '流派' %} {{ music.genre }} / {% endif %} {% if music.release_date %} {% trans '发行日期' %} {{ music.release_date }} {% endif %} {% if music.artist %}{% trans '艺术家' %} {% for artist in music.artist %} 5 %}style="display: none;" {% endif %}>{{ artist }} {% if forloop.counter <= 5 %} {% if not forloop.counter == 5 and not forloop.last %} / {% endif %} {% endif %} {% endfor %} {% endif %}
{{ music.brief | truncate:170 }}
{% for tag_dict in music.tag_list %} {% for k, v in tag_dict.items %} {% if k == 'content' %} {{ v }} {% endif %} {% endfor %} {% endfor %}
{% endwith %}
{% endif %}
{% empty %}
{% trans '无结果' %}
{% endfor %}
{% if items.pagination.has_prev %}
«
‹
{% endif %}
{% for page in items.pagination.page_range %}
{% if page == items.pagination.current_page %}
{{ page }}
{% else %}
{{ page }}
{% endif %}
{% endfor %}
{% if items.pagination.has_next %}
›
»
{% endif %}
{% trans '没有想要的结果?' %}
{% if request.GET.c %}
{% if request.GET.c|lower == 'book' %}
{% elif request.GET.c|lower == 'movie' %}
{% elif request.GET.c|lower == 'music' %}
{% else %}
{% endif %}
{% else %}
{% endif %}
{% if request.GET.c %}
{% if request.GET.c|lower == 'book' %}
{% trans '或者(≖ ◡ ≖)✧' %}
{% elif request.GET.c|lower == 'movie' %}
{% trans '或者(≖ ◡ ≖)✧' %}
{% elif request.GET.c|lower == 'music' %}
{% trans '或者(≖ ◡ ≖)✧' %}
{% else %}
{% trans '或从表瓣剽取' %}
{% endif %}
{% else %}
{% trans '或从表瓣剽取' %}
{% endif %}