{% extends 'layout.html' %} {% set page_action = 'log' %} {% set title = _('Revert Old Revision') %} {% block contents %} {% macro old_link(val) %} {{ old_revision.time }} {% endmacro %} {% macro new_link(val) %} “{{ revision.title }}” {% endmacro %} {% if not error %}

{{ _('Revert Old Revision of :new_link:`revision`', new_link=new_link|safe) }}

{{ _('If you want to restore the old revision from :old_link:`revision` ' 'enter your change note and click “Revert”.', old_link=old_link)|sage) }}

{% else %}

{{ _('Cannot Revert') }}

{{ error }}

{% endif %} {% endblock %}