2023-03-16 14:24:29 +01:00
|
|
|
{% extends "base.jinja2" %}
|
2023-01-08 17:59:52 +01:00
|
|
|
|
|
|
|
|
{% block title %}Contributions of {{ u.username }} - {{ app_name }}{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block meta %}
|
|
|
|
|
<meta name="robots" content="noindex,nofollow" />
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2023-03-22 09:49:38 +01:00
|
|
|
<h1>Contributions of {{ u.username }}</h1>
|
|
|
|
|
|
2023-05-18 08:47:06 +02:00
|
|
|
<div class="inner-content">
|
|
|
|
|
<p class="nl-pagination">Showing results <strong>{{ page_n * 20 - 19 }}</strong> to <strong>{{ min(page_n * 20, total_count) }}</strong> of <strong>{{ total_count }}</strong> total.</p>
|
2023-01-08 17:59:52 +01:00
|
|
|
|
2023-05-18 08:47:06 +02:00
|
|
|
<ul>
|
|
|
|
|
{% if page_n > 1 %}
|
|
|
|
|
<li class="nl-prev"><a href="?page={{ page_n - 1 }}">« Previous page</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
2023-03-22 09:49:38 +01:00
|
|
|
|
2023-05-18 08:47:06 +02:00
|
|
|
{% for rev in contributions %}
|
|
|
|
|
<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>
|
|
|
|
|
on
|
|
|
|
|
<a href="{{ rev.page.get_url() }}">
|
|
|
|
|
{{ rev.page.title }}
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
{% endfor %}
|
2023-03-22 09:49:38 +01:00
|
|
|
|
2023-05-18 08:47:06 +02:00
|
|
|
{% if page_n < total_count // 20 %}
|
|
|
|
|
<li class="nl-next"><a href="?page={{ page_n + 1 }}">Next page »</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2023-01-08 17:59:52 +01:00
|
|
|
{% endblock %}
|