{% extends "base_template.html" %} {% from "courses/admin/_form.html" import flashes with context %} {% block title %}{{ _('History of %(name)s', name=page.name) }}{% endblock %} {% block content %}

{{ _('History') }}

{{ page.name }} ยท {{ course.name }}

{{ _('Back to the page') }}
{{ flashes() }}
{{ _('Previous versions') }}
{{ _('Each entry is what the page said before that edit. The newest is at the top.') }}
{% for revision in revisions %} {% else %} {% endfor %}
{{ _('Saved over') }} {{ _('Title at the time') }} {{ _('By') }} {{ _('Actions') }}
{{ revision.created_at | course_datetime }} {{ revision.name }} {% if revision.name != page.name %} {# Worth saying out loud: a renamed page is an edit a reader notices as much as a rewritten paragraph. #} {{ _('renamed since') }} {% endif %} {{ revision.author_email or _('unknown') }} {{ _('Compare') }}
{# Not an error. A page that has never been edited since the history began simply has none, and saying so plainly beats an empty table. #} {{ _('This page has not been edited since the history started.') }}
{% endblock %}