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
72 lines
3.5 KiB
HTML
Executable File
72 lines
3.5 KiB
HTML
Executable File
{% extends "public/base.html" %}
|
|
{% load staticfiles %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}Alliance Auth{% endblock %}
|
|
|
|
{% block page_title %}{% trans "Characters" %}{% endblock page_title %}
|
|
{% block extra_css %}{% endblock extra_css %}
|
|
|
|
{% block content %}
|
|
<div class="col-lg-12 container">
|
|
<h1 class="page-header text-center">{% trans "Characters" %}</h1>
|
|
|
|
<div class="col-lg-12 container" id="example">
|
|
|
|
{% if authinfo.main_char_id %}
|
|
{% else %}
|
|
<div class="alert alert-danger" role="alert">{% trans "No primary character set" %}</div>
|
|
{% endif %}
|
|
<div class="row">
|
|
{% for character in characters %}
|
|
<div class="col-lg-6">
|
|
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<div class="panel-title">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="text-left col-md-8">
|
|
{{ character.character_name }}
|
|
</div>
|
|
<div class="text-right col-md-4">
|
|
<a href="/main_character_change/{{ character.character_id }}">
|
|
{% ifequal character.character_id authinfo.main_char_id %}
|
|
{% blocktrans %}<button type="button" class="btn btn-default btn-xs">
|
|
Refresh Primary
|
|
</button>{% endblocktrans %}
|
|
{% else %}
|
|
{% blocktrans %}<button type="button" class="btn btn-primary btn-xs">Make
|
|
Primary
|
|
</button>{% endblocktrans %}
|
|
{% endifequal %}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</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">
|
|
<p><strong>{% trans "Alliance: " %}</strong> {{ character.alliance_name }} </p>
|
|
|
|
<p><strong>{% trans "Corporation: " %}</strong>{{ character.corporation_name }}</p>
|
|
|
|
<p><strong>{% trans "Corporation Ticker: " %}</strong> {{ character.corporation_ticker }} </p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock content %}
|