27 lines
588 B
HTML
27 lines
588 B
HTML
{% extends "kb/page_detail.html" %}
|
|
{% load i18n %}
|
|
|
|
{% block appbar %}
|
|
<h2>{% trans 'Knowledge Base' %} - {{ object.title }}</h2>
|
|
<a href="{% url 'kb-page-view' slug=object.slug %}">{% trans 'Back to page' %}</a>
|
|
<a href="{% url 'kb-page-history' slug=object.slug %}">{% trans 'History' %}</a>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="old-version warning-notice">
|
|
<p>
|
|
{% trans 'Warning: this is an old version of this page.' %}
|
|
</p>
|
|
|
|
<form method="POST">
|
|
{% csrf_token %}
|
|
<button>{% trans 'Revert to this version' %}</button>
|
|
</form>
|
|
</div>
|
|
|
|
{{block.super}}
|
|
|
|
{% endblock %}
|
|
|