mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-19 01:02:30 +02:00
* Added German Translations Translated using https://docs.djangoproject.com/en/1.9/topics/i18n/translation/ Added language drop down menu's for base.html, registration & login pages Known issues: * Translated items in whtracker>create signature remain translated when posted * No date/time localisation for Fleet/Structure timers * Added time locale Added date/time locale to *Structure Timers *Fleet Timers *Fleet timer form datetimepicker.js Fixed a bug where the bootstrap label didn't show up when making a structure timer using the translated form Missed some base.html translations * Small translation error Some obscure SRP strings went unnoticed for context review * FAT & Fleet-up German Translations + a fix in settings.py.example The only small thing not done is German Date/Time locale for Fleet-up * Compiled de/django.po
51 lines
2.3 KiB
HTML
51 lines
2.3 KiB
HTML
{% extends "public/base.html" %}
|
|
{% load bootstrap %}
|
|
{% load staticfiles %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}Alliance Auth{% endblock %}
|
|
{% block page_title %}{% trans "Fatlink statistics" %}{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
<div class="col-lg-12">
|
|
<h1 class="page-header text-center">{% blocktrans %}Participation data statistics for {{ month }}, {{ year }}{% endblocktrans %}
|
|
<div class="text-right">
|
|
<a href="{% url 'auth_fatlink_view_statistics_month' previous_month|date:"Y" previous_month|date:"m" %}">
|
|
<button type="button" class="btn btn-info">{% trans "Previous month" %}</button>
|
|
</a>
|
|
{% if next_month %}
|
|
<a href="{% url 'auth_fatlink_view_statistics_month' next_month|date:"Y" next_month|date:"m" %}">
|
|
<button type="button" class="btn btn-info">{% trans "Next month" %}</button>
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
</h1>
|
|
<table class="table table-responsive table-bordered">
|
|
<tr>
|
|
<th class="col-md-1"></th>
|
|
<th class="col-md-2 text-center">{% trans "Ticker" %}</th>
|
|
<th class="col-md-5 text-center">{% trans "Corp" %}</th>
|
|
<th class="col-md-2 text-center">{% trans "Members" %}</th>
|
|
<th class="col-md-2 text-center">{% trans "Fats" %}</th>
|
|
<th class="col-md-2 text-center">{% trans "Average fats" %}</th>
|
|
</tr>
|
|
{% for corpStat in fatStats %}
|
|
<tr>
|
|
<td>
|
|
<img src="https://image.eveonline.com/Corporation/{{ corpStat.corp.corporation_id }}_32.png" class="ra-avatar img-responsive">
|
|
</td>
|
|
<td class="text-center">[{{ corpStat.corp.corporation_ticker }}]</td>
|
|
<td class="text-center">{{ corpStat.corp.corporation_name }}</td>
|
|
<td class="text-center">{{ corpStat.corp.member_count }}</td>
|
|
<td class="text-center">{{ corpStat.n_fats }}</td>
|
|
<td class="text-center">{{ corpStat.avg_fat }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
|
|
|
|
<script src="/static/js/dateformat.js"></script>
|
|
|
|
{% endblock content %}
|