CSS + HTML change
This commit is contained in:
parent
acf918f656
commit
14e69ac291
20 changed files with 292 additions and 248 deletions
|
|
@ -7,33 +7,35 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1 id="firstHeading">{{ p.title }}</h1>
|
||||
<div class="preview-subtitle">Page history</div>
|
||||
<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") }}
|
||||
{% if rev.comment %}
|
||||
“{{ rev.comment }}”
|
||||
<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") }}
|
||||
{% if rev.comment %}
|
||||
“{{ rev.comment }}”
|
||||
{% endif %}
|
||||
</a>
|
||||
by
|
||||
{% if rev.user_id %}
|
||||
<a href="/u/{{ rev.user.username }}">
|
||||
{{ rev.user.username }}
|
||||
</a>
|
||||
{% else %}
|
||||
<span><Unknown User></span>
|
||||
{% endif %}
|
||||
</a>
|
||||
by
|
||||
{% if rev.user_id %}
|
||||
<a href="/u/{{ rev.user.username }}">
|
||||
{{ rev.user.username }}
|
||||
</a>
|
||||
{% else %}
|
||||
<span><Unknown User></span>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
|
||||
<p>{{ T("back-to") }} <a href="{{ p.get_url() }}">{{ p.title }}</a>.</p>
|
||||
</main>
|
||||
{% endblock %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue