{{ _('History of') }} {{ _('{title}')|fe(title=document.title) }}

{% if revisions %}
{% if revisions | length > 1 %}
{% endif %} {% set reached_current = False %} {% for rev in revisions %} {% if document.current_revision == rev %} {% set reached_current = True %} {% endif %} {% set is_current = document.current_revision.id == rev %} {% if loop.first %}{% endif %} {% endfor %} {% if revisions | length > 1 %}
{% endif %}
{% else %} {{ _('This document has no revisions.') }} {% endif %}