{{ book.code }}
{{ book.title }}
{% if items %}
{% endif %}
{% if book.get_changelog %}
{% trans 'Changelog' %}
{% for log in book.get_changelog %}
- {{ log.text }} ({{ log.type }})
{% endfor %}
{% endif %}
{% trans 'Revisions' %}
{% for rev_date in book.get_revision_dates %}
- {{ rev_date }}
{% if rev_date == book.revision_date %}({% trans 'selected' %}){% endif %}
{% endfor %}
{% if book.get_revision_dates|length > 5 %}
{% endif %}
{% if not items %}
{% include "noresults.html" %}
{% endif %}
{% include "pagination.html" %}
{% endblock %}