{% extends "wiki/base.html" %}
{% from "wiki/includes/sidebar_modules.html" import document_tools with context %}
{% from "wiki/includes/document_macros.html" import show_for with context %}
{# L10n: {n} is the revision number, {t} is the title of the document. {c} is the category. #}
{% set title = _('Revision {n} | {t} | {c}')|f(n=revision.id, t=document.title, c=document.get_category_display()) %}
{% set crumbs = [(document.get_absolute_url(), document.title),
(None, _('Revision {num}')|f(num=revision.id))] %}
{% set classes = 'document' %}
{% set scripts = ('revision',) %}
{% if document.is_switching_devices_document %}
{% set scripts = scripts + ('switching-devices',) %}
{% endif %}
{% set meta = [('robots', 'noindex, nofollow')] %}
{% set ga_content_group = "kb-cms" %}
{% block content %}
{{ document.title }}
{{ _('Revision Information') }}
-
{{ _('Revision id:') }}
{{ revision.id }}
-
{{ _('Created:') }}
{{ datetimeformat(revision.created, format='datetime') }}
-
{{ _('Creator:') }}
{{ display_name(revision.creator) }}
-
{{ _('Comment:') }}
{{ revision.comment }}
-
{{ _('Reviewed:') }}
{{ revision.reviewed|yesno }}
{% if revision.reviewed %}
-
{{ _('Reviewed:') }}
{{ datetimeformat(revision.reviewed, format='datetime') }}
-
{{ _('Reviewed by:') }}
{{ revision.reviewer }}
-
{{ _('Is approved?') }}
{{ revision.is_approved|yesno }}
-
{{ _('Is current revision?') }}
{{ (revision == document.current_revision)|yesno }}
{% endif %}
-
{{ _('Ready for localization:') }}
{{ revision.is_ready_for_localization|yesno }}
{% if revision.readied_for_localization %}
-
{{ _('Readied for localization:') }}
{{ datetimeformat(revision.readied_for_localization, format='datetime') }}
{% endif %}
{% if revision.readied_for_localization_by %}
-
{{ _('Readied for localization by:') }}
{{ revision.readied_for_localization_by }}
{% endif %}
{% if user.is_authenticated %}
- {{ _('Edit article based on this revision') }}
{% endif %}
{{ _('Revision Source') }}
{{ _('Revision Content') }}
{{ revision.content_parsed|safe }}
{% endblock %}
{% block side_top %}
{{ document_tools(document, document.parent, user, '', settings) }}
{% endblock %}
{% block side_bottom %}
{{ show_for(document.get_products(), header=_('Article is for:')) }}
{% endblock %}