38 lines
No EOL
968 B
HTML
38 lines
No EOL
968 B
HTML
{% extends "base.html" %}
|
|
{% from "macros/title.html" import title_tag with context %}
|
|
|
|
{% block title %}{{ title_tag(T('note-history'), False) }}{% endblock %}
|
|
|
|
{% block content %}
|
|
<main>
|
|
<h1 id="firstHeading">{{ p.title }}</h1>
|
|
<div class="preview-subtitle">Page history</div>
|
|
|
|
<div class="inner-content">
|
|
<ul>
|
|
{% for rev in history %}
|
|
<li>
|
|
<a href="/history/revision/{{ rev.id }}/">
|
|
#{{ rev.id }}
|
|
·
|
|
{{ rev.pub_date.strftime("%B %-d, %Y %H:%M:%S") }}
|
|
</a>
|
|
{% if rev.comment %}
|
|
“{{ rev.comment }}”
|
|
{% endif %}
|
|
by
|
|
{% if rev.user_id %}
|
|
<a href="/@{{ rev.user.username }}">
|
|
{{ rev.user.username }}
|
|
</a>
|
|
{% else %}
|
|
<span><em>unknown user</em></span>
|
|
{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</div>
|
|
|
|
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
|
|
</main>
|
|
{% endblock %} |