salvi/templates/history.jinja2

34 lines
749 B
Text
Raw Permalink Normal View History

2023-03-16 14:24:29 +01:00
{% extends "base.jinja2" %}
{% block title %}Page history - {{ app_name }}{% endblock %}
2021-08-17 06:30:49 +02:00
{% block meta %}
<meta name="robots" content="noindex,nofollow" />
{% endblock %}
{% block content %}
<h1 id="firstHeading">{{ p.title }}</h1>
<div class="preview-subtitle">Page history</div>
<ul>
{% for rev in history %}
<li>
<a href="/history/revision/{{ rev.id }}/">
#{{ rev.id }}
&middot;
{{ rev.pub_date.strftime("%B %-d, %Y %H:%M:%S") }}
{% if rev.comment %}
“{{ rev.comment }}”
{% endif %}
</a>
by
<a href="/u/{{ rev.user.username }}">
{{ rev.user.username }}
</a>
</li>
{% endfor %}
</ul>
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
{% endblock %}