mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-19 09:12: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
100 lines
4.2 KiB
HTML
100 lines
4.2 KiB
HTML
{% extends "public/base.html" %}
|
|
{% load bootstrap %}
|
|
{% load staticfiles %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}Alliance Auth{% endblock %}
|
|
{% block page_title %}{% trans "Fatlink view" %}{% endblock page_title %}
|
|
|
|
{% block content %}
|
|
<div class="col-lg-12">
|
|
<h1 class="page-header text-center">{% trans "Participation data" %}</h1>
|
|
<table class="table">
|
|
<tr>
|
|
<th class="col-md-11">
|
|
<h4><b>{% trans "Most recent clicked fatlinks" %}</b>
|
|
</h4>
|
|
</th>
|
|
<th class="col-md-1">
|
|
<a href="{% url 'auth_fatlink_view_personal_statistics' %}">
|
|
<button type="button" class="btn btn-info">{% trans "Personal statistics" %}</button>
|
|
</a>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
<table class="table table-responsive table-bordered">
|
|
<tr>
|
|
<th class="text-center">{% trans "fatname" %}</th>
|
|
<th class="text-center">{% trans "Character" %}</th>
|
|
<th class="text-center">{% trans "System" %}</th>
|
|
<th class="text-center">{% trans "Ship" %}</th>
|
|
<th class="text-center">{% trans "Eve Time" %}</th>
|
|
</tr>
|
|
{% for fat in fats %}
|
|
<tr>
|
|
<td class="text-center">{{ fat.fatlink.name }}</td>
|
|
<td class="text-center">{{ fat.character.character_name }}</td>
|
|
{% if fat.station != "No Station" %}
|
|
<td class="text-center">Docked in {{ fat.system }}</td>
|
|
{% else %}
|
|
<td class="text-center">{{ fat.system }}</td>
|
|
{% endif %}
|
|
<td class="text-center">{{ fat.shiptype }}</td>
|
|
<td class="text-center">{{ fat.fatlink.fatdatetime }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
{% if perms.auth.fleetactivitytracking%}
|
|
<table class="table">
|
|
<tr>
|
|
<th class="col-md-10">
|
|
<h4><b>{% trans "Most recent fatlinks" %}</b>
|
|
</h4>
|
|
</th>
|
|
<th class="col-md-1">
|
|
<a href="{% url 'auth_fatlink_view_statistics' %}">
|
|
<button type="button" class="btn btn-info">{% trans "View statistics" %}</button>
|
|
</a>
|
|
</th>
|
|
<th class="col-md-1">
|
|
<a href="{% url 'auth_create_fatlink_view' %}">
|
|
<button type="button" class="btn btn-success">{% trans "Create fatlink" %}</button>
|
|
</a>
|
|
</th>
|
|
</tr>
|
|
</table>
|
|
<table class="table table-bordered">
|
|
<tr>
|
|
<th class="text-center">{% trans "Name" %}</th>
|
|
<th class="text-center">{% trans "Creator" %}</th>
|
|
<th class="text-center">{% trans "Fleet" %}</th>
|
|
<th class="text-center">{% trans "Eve Time" %}</th>
|
|
<th class="text-center">{% trans "Duration" %}</th>
|
|
<th class="text-center">{% trans "Edit" %}</th>
|
|
</tr>
|
|
{% for link in fatlinks %}
|
|
<tr>
|
|
<td class="text-center"><a href="{% url 'auth_click_fatlink_view' %}{{ link.hash }}/{{ link.name }}">{{ link.name }}</a></td>
|
|
<td class="text-center">{{ link.creator.username }}</td>
|
|
<td class="text-center">{{ link.fleet }}</td>
|
|
<td class="text-center">{{ link.fatdatetime }}</td>
|
|
<td class="text-center">{{ link.duration }}</td>
|
|
<td class="text-center">
|
|
<a href="{% url 'auth_modify_fatlink_view' %}{{ link.hash }}/{{ link.name }}">
|
|
<button type="button" class="btn btn-info"><span
|
|
class="glyphicon glyphicon-edit"></span></button>
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
|
|
</table>
|
|
{% endif %}
|
|
</div>
|
|
|
|
|
|
<script src="/static/js/dateformat.js"></script>
|
|
|
|
{% endblock content %}
|