iAddz c9e490a5c5 Added German Translations (#406)
* 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
2016-06-16 22:54:04 +00:00

71 lines
3.2 KiB
HTML

{% extends "public/base.html" %}
{% load i18n %}
{% block title %}Alliance Auth{% endblock %}
{% block page_title %}{% trans "Dashboard" %}{% endblock page_title %}
{% block content %}
<div class="col-lg-12">
<h1 class="page-header text-center">{% trans "Dashboard" %}</h1>
{% if perms.auth.member %}
<div class="col-lg-12 container" id="example">
<div class="row">
<div class="col-lg-6">
{% for character in characters %}
{% ifequal character.character_id authinfo.main_char_id %}
<div class="panel panel-default">
<div class="panel-heading">{% trans "Main character" %}</div>
<div class="panel-body">
<div class="col-lg-5 col-sm-2"><img class=
"ra-avatar img-responsive" src=
"https://image.eveonline.com/Character/{{ character.character_id }}_128.jpg">
</div>
<div class="col-lg-7 col-sm-2">
<h4 class="">{{ character.character_name }}</h4>
<p>{{ character.corporation_name }}</p>
<p>{{ character.alliance_name }}</p>
</div>
</div>
</div>
{% endifequal %}
{% endfor %}
</div>
<div class="col-lg-6">
<div class="panel panel-default">
<div class="panel-heading">{% trans "Groups" %}</div>
<div class="panel-body">
<div style="height: 128px;overflow:-moz-scrollbars-vertical;overflow-y:auto;">
<table class="table table-striped">
{% for group in user.groups.all %}
<tr>
<td>
<p class="">{{ group.name }}</p>
</td>
</tr>
{% endfor %}
</table>
</div>
</div>
</div>
</div>
</div>
</div>
{% else %}
{% if IS_CORP %}
<div class="alert alert-danger" role="alert">{% trans "Not a part of the corporation." %}</div>
{% else %}
<div class="alert alert-danger" role="alert">{% trans "Not a part of the alliance." %}</div>
{% endif %}
{% endif %}
</div>
{% endblock content %}