{% extends "wiki/base.html" %} {% from "wiki/includes/sidebar_modules.html" import document_tools with context %} {% from "layout/errorlist.html" import errorlist %} {% set scripts = ('wiki', 'wiki.history',) %} {% set meta = (('robots', 'noindex'),) %} {% set title = _('Revision History | {document}')|fe(document=document.title) %} {% set crumbs = [(document.get_absolute_url(), document.title), (None, _('History'))] %} {% set meta = [('robots', 'noindex, nofollow')] %} {% set ga_content_group = "kb-cms" %} {% block content %}

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

{{ _('Category:') }}
  {{ document.get_category_display() }}
{{ _('Revision history for:') }}
  {% if document.parent %} {{ document.parent.language }}, {% endif %} {{ document.language }}

{% include 'wiki/includes/revision_list.html' %} {% include 'wiki/includes/ready_for_l10n_modal.html' %}
{% if document.allows(user, 'edit') %} {{ _('Edit contributors') }} {% endif %}

## {{ _('Document contributors') }}

{% for u in document.contributors.all() %}
- {{ display_name(u) }} {% if document.allows(user, 'edit') %}
  ✖
  {% endif %}
{% endfor %}

{% if document.allows(user, 'edit') %} {% csrf_token %} {{ errorlist(contributor_form) }} {{ contributor_form.users|safe }} {% endif %}
{% if document.allows(user, 'delete') %}
{{ _('Delete this document') }}
{% endif %}
{% endblock %} {% block side_top %} {{ document_tools(document, document.parent, user, 'history', settings) }} {% endblock %}