{% extends "item_base.html" %} {% load static %} {% load i18n %} {% load l10n %} {% load humanize %} {% load admin_url %} {% load mastodon %} {% load oauth_token %} {% load truncate %} {% load strip_scheme %} {% load thumb %} {% block head %} {% if item.author %} {% endif %} {% if item.isbn %}{% endif %} {% endblock %} {% block details %}
{% if item.isbn %} {% trans 'ISBN:' %}{{ item.isbn }} {% endif %}
{% if item.author %} {% trans '作者:' %} {% for author in item.author %} {{ author }} {% if not forloop.last %}/{% endif %} {% endfor %} {% endif %}
{% if item.translator %} {% trans '译者:' %} {% for translator in item.translator %} {{ translator }} {% if not forloop.last %}/{% endif %} {% endfor %} {% endif %}
{% if item.pub_house %} {% trans '出版社:' %}{{ item.pub_house }} {% endif %}
{% if item.imprint %} {% trans '出品方:' %}{{ item.imprint }} {% endif %}
{% if item.pub_year %} {% trans '出版时间:' %}{{ item.pub_year }}{% trans '年' %} {% if item.pub_month %} {{ item.pub_month }}{% trans '月' %} {% endif %} {% endif %}
{% if item.series %} {% trans '丛书系列:' %}{{ item.series }} {% endif %}
{% if item.language %} {% trans '语言:' %}{{ item.language }} {% endif %}
{% if item.binding %} {% trans '装帧:' %}{{ item.binding }} {% endif %}
{% if item.price %} {% trans '定价:' %}{{ item.price }} {% endif %}
{% if item.pages %} {% trans '页数:' %}{{ item.pages }} {% endif %}
{% if item.other_info %} {% for k, v in item.other_info.items %}
{{ k }}:{{ v|urlizetrunc:24 }}
{% endfor %} {% endif %} {% endblock %} {% block content %} {% if item.contents %}
目录

{{ item.contents | linebreaksbr }}

{% endif %} {% endblock %} {% block left_sidebar %} {% with related_books=item.get_related_books %} {% if related_books.count > 0 %}
{% trans '这本书还有其它版本' %} {% for b in related_books %}
{{ b.title }} ({{ b.pub_house | default:'' }} {{ b.pub_year | default:'' }}) {% comment %} {% for res in b.external_resources.all %} {{ res.site_name.label }} {% endfor %} {% endcomment %}
{% endfor %}
{% endif %} {% endwith %} {% if item.isbn %}
{% trans '借阅或购买' %}
WorldCat
Open Library
OAPEN
Bookshop.org
Amazon
多抓鱼
{% endif %} {% endblock %}