{# vim: set ts=2 et sts=2 sw=2: #} {% extends "wiki/base.html" %} {% from "wiki/includes/sidebar_modules.html" import document_tabs %} {% set title = _('Delete Revision | {document}')|f(document=document.title) %} {% set crumbs = [(url('wiki.category', document.category), document.get_category_display()), (document.get_absolute_url(), document.title), (None, _('Delete Revision'))] %} {% block content %}
{% if only_revision %}

{{ _('Unable to delete only revision of the document') }}

{{ _('To delete the document, please notify an admin.') }}

{{ _('Go back to document history') }}
{% else %}

{{ _('Are you sure you want to delete this revision?') }}

{% if has_votes %}

{{ _('Warning: This revision has KB Helpfulness Votes associated with it. Deleting this revision will cause those votes to be deleted as well.') }}

{% endif %}
{{ revision.creator }}
{{ datetimeformat(revision.created, format='longdatetime') }}
{{ revision.content }}
{{ csrf() }}

{{ _('You are about to permanently delete this revision. This cannot be undone! Are you sure you want to continue?')|safe }}

{% endif %}
{% endblock %} {% block side_top %} {{ document_tabs(document, document.parent, user, '', settings) }} {% endblock %}