{% load static %} {% load i18n %} {% load l10n %} {% load humanize %} {% load admin_url %} {% load mastodon %} {% load oauth_token %} {% load truncate %} {% load strip_scheme %} {% load thumb %} {% if book.author %} {% endif %} {% if book.isbn %} {% endif %} {{ site_name }} - {% trans '书籍详情' %} | {{ book.title }} {% include "partial/_common_libs.html" with jquery=1 %}
{% include "partial/_navbar.html" %}
{{ book.title }}
{{ book.title }} {{ book.get_source_site_display }}
{% if book.rating and book.rating_number >= 5 %} {{ book.rating }} ({{ book.rating_number }}人评分) {% else %} {% trans '评分:评分人数不足' %} {% endif %}
{% if book.isbn %}{% trans 'ISBN:' %}{{ book.isbn }}{% endif %}
{% if book.author %}{% trans '作者:' %} {% for author in book.author %} {{ author }}{% if not forloop.last %} / {% endif %} {% endfor %} {% endif %}
{% if book.pub_house %}{% trans '出版社:' %}{{ book.pub_house }}{% endif %}
{% if book.subtitle %}{% trans '副标题:' %}{{ book.subtitle }}{% 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 %}
{% if book.language %}{% trans '语言:' %}{{ book.language }}{% endif %}
{%if book.pub_year %}{% trans '出版时间:' %}{{ book.pub_year }}{% trans '年' %}{% if book.pub_month %}{{ book.pub_month }}{% trans '月' %}{% endif %}{% endif %}
{% if book.binding %}{% trans '装帧:' %}{{ book.binding }}{% endif %}
{% if book.price %}{% trans '定价:' %}{{ book.price }}{% endif %}
{% if book.pages %}{% trans '页数:' %}{{ book.pages }}{% endif %}
{% if book.other_info %} {% for k, v in book.other_info.items %}
{{ k }}:{{ v | urlize }}
{% endfor %} {% endif %} {% if book.last_editor %}
{% trans '最近编辑者:' %}{{ book.last_editor | default:"" }}
{% endif %}
{% trans '编辑这本书' %} {% if user.is_staff %} / {% trans '删除' %} {% endif %}
{% for tag_dict in book_tag_list %} {% for k, v in tag_dict.items %} {% if k == 'content' %} {{ v }} {% endif %} {% endfor %} {% endfor %}
{% if book.brief %}
{% trans '简介' %}

{{ book.brief | linebreaksbr }}

{% endif %} {% if book.contents %}
{% trans '目录' %}

{{ book.contents | linebreaksbr }}

{% endif %}
{% trans '这本书的标记' %}
{% trans '全部标记' %} 关注的人的标记 {% include "partial/mark_list.html" with mark_list=mark_list current_item=book %}
{% trans '这本书的评论' %}
{% if review_list_more %} {% trans '全部评论' %} {% endif %} {% if review_list %} {% else %}
{% trans '暂无评论' %}
{% endif %}
{% if mark %}
{% trans '我' %}{{ mark.get_status_display }} {% if mark.status == status_enum.DO.value or mark.status == status_enum.COLLECT.value%} {% if mark.rating %} {% endif %} {% endif %} {% if mark.visibility > 0 %} {% endif %} {% trans '修改' %}
{% csrf_token %} {% trans '删除' %}
{{ mark.created_time }}
{% if mark.text %}

{{ mark.text }}

{% endif %}
{% for tag in mark_tags %} {{ tag }} {% endfor %}
{% else %}
{% trans '标记这本书' %}
{% endif %}
{% if review %}
{% trans '我的评论' %} {% if review.visibility > 0 %} {% endif %} {% trans '编辑' %} {% trans '删除' %}
{{ review.edited_time }}
{{ review.title }}
{% else %}
{% trans '我的评论' %}
{% endif %}
{% if book.get_related_books.count > 0 %}
{% trans '相关书目' %}
{% for b in book.get_related_books %}

{{ b.title }} ({{ b.pub_house }} {{ b.pub_year }}) {{ b.get_source_site_display }}

{% endfor %}
{% endif %} {% if book.isbn %}
{% trans '借阅或购买' %}
{% endif %} {% if collection_list %}
{% trans '相关收藏单' %}
{% for c in collection_list %}

{{ c.title }}

{% endfor %}
{% endif %}
{% include "partial/_footer.html" %}