{% extends is_xhr|yesno("fragment.html", "layout.html") %} {% block body %}
{% for author in entry.authors %} {{author.name.replace('|',',')}} {% if not loop.last %} & {% endif %} {% endfor %}
{% if entry.ratings.__len__() > 0 %}{% for number in range((entry.ratings[0].rating/2)|int(2)) %} {% if loop.last and loop.index < 5 %} {% for numer in range(5 - loop.index) %} {% endfor %} {% endif %} {% endfor %}
{{_('Book')}} {{entry.series_index}} {{_('of')}} {{entry.series[0].name}}
{% endif %} {% if entry.languages.__len__() > 0 %}{{_('language')}}: {% for language in entry.languages %} {{language.language_name}}{% if not loop.last %},{% endif %}{% endfor %}
{% for identifier in entry.identifiers %} {{identifier.formatType()}} {%endfor%}
{% for tag in entry.tags %} {{tag.name}} {%endfor%}
{{_('Publisher')}}: {{entry.publishers[0].name}}
{{_('Publishing date')}}: {{entry.pubdate|formatdate}}
{% for c in cc %}
{% if entry['custom_column_' ~ c.id]|length > 0 %}
{{ c.name }}:
{% for column in entry['custom_column_' ~ c.id] %}
{% if c.datatype == 'rating' %}
{{ '%d' % (column.value / 2) }}
{% else %}
{% if c.datatype == 'bool' %}
{% if column.value == true %}
{% else %}
{% endif %}
{% else %}
{{ column.value }}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{{_('Description:')}}
{{entry.comments[0].text|safe}}