welco/welco/kb/templates/kb/page_history.html

25 lines
595 B
HTML
Raw Normal View History

{% extends "kb/page_detail.html" %}
2015-07-23 12:30:07 +02:00
{% 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>
{% endblock %}
{% block breadcrumb %}
{{ block.super }}
<a href=".">{% trans 'History' %}</a>
{% endblock %}
2015-07-23 12:30:07 +02:00
{% block content %}
<div id="page-history">
2015-07-23 12:30:07 +02:00
<ul>
{% for version in versions_list %}
<li>{{ version.revision.date_created }}, <a href="{% url 'kb-page-version' slug=object.slug version=version.id %}">{% trans 'view' %}</a></li>
{% endfor %}
</ul>
</div>
2015-07-23 12:30:07 +02:00
{% endblock %}