mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-20 09:42:29 +02:00
45 lines
1.7 KiB
HTML
45 lines
1.7 KiB
HTML
{% extends "public/base.html" %}
|
|
{% load bootstrap %}
|
|
{% load staticfiles %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}Alliance Auth{% endblock %}
|
|
{% block page_title %}{% trans "Personal fatlink statistics" %}{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
<div class="col-lg-12">
|
|
<h1 class="page-header text-center">{% trans "Participation data statistics for" %} {{ year }}
|
|
<div class="text-right">
|
|
<a href="{% url 'auth_fatlink_view_personal_statistics_year' previous_year %}">
|
|
<button type="button" class="btn btn-info">{% trans "Previous year" %}</button>
|
|
</a>
|
|
{% if next_year %}
|
|
<a href="{% url 'auth_fatlink_view_personal_statistics_year' next_year %}">
|
|
<button type="button" class="btn btn-info">{% trans "Next year" %}</button>
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
</h1>
|
|
<table class="table table-responsive table-bordered">
|
|
<tr>
|
|
<th class="col-md-2 text-center">{% trans "Month" %}</th>
|
|
<th class="col-md-2 text-center">{% trans "Fats" %}</th>
|
|
</tr>
|
|
{% for monthnr, month, n_fats in monthlystats %}
|
|
<tr>
|
|
<td class="text-center">
|
|
<a href="{% url 'auth_fatlink_view_personal_statistics_month' year monthnr %}">
|
|
{{ month }}
|
|
</a>
|
|
</td>
|
|
<td class="text-center">{{ n_fats }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
|
|
|
|
<script src="/static/js/dateformat.js"></script>
|
|
|
|
{% endblock content %}
|