diff --git a/allianceauth/authentication/templates/public/lang_select.html b/allianceauth/authentication/templates/public/lang_select.html index 7f641524..eb71d6b0 100644 --- a/allianceauth/authentication/templates/public/lang_select.html +++ b/allianceauth/authentication/templates/public/lang_select.html @@ -1,17 +1,15 @@ {% load i18n %} - + {% for lang_code, lang_name in LANGUAGES %} + + {% endfor %} + + diff --git a/allianceauth/menu/templates/menu/menu-user.html b/allianceauth/menu/templates/menu/menu-user.html index b98d5174..fd2bc31f 100644 --- a/allianceauth/menu/templates/menu/menu-user.html +++ b/allianceauth/menu/templates/menu/menu-user.html @@ -2,28 +2,51 @@ {% load evelinks %} {% load theme_tags %} -
+
{% if user.is_authenticated %} {% with request.user.profile.main_character as main %} - {{ main.character_name }} - {{ main.corporation_name }} + {{ main.character_name }} + + {{ main.corporation_name }} + {% if main.alliance_id %} - {{ main.alliance_name }} + {{ main.alliance_name }} {% elif main.faction_id %} - {{ main.faction_name }} + {{ main.faction_name }} {% endif %} {% endwith %} {% else %} {% include "bundles/image-auth-logo.html" with logo_width="64px" %} {% endif %}
+
{% if user.is_authenticated %} {% with request.user.profile.main_character as main %}
{{ main.character_name }}

{{ main.corporation_name }}

+ {% if main.alliance_id %}

{{ main.alliance_name }}

{% elif main.faction_id %} @@ -34,56 +57,106 @@
{{ SITE_NAME }}
{% endif %}
+
+ diff --git a/allianceauth/theme/templates/theme/theme_select.html b/allianceauth/theme/templates/theme/theme_select.html index c83b7726..7e94d1c5 100644 --- a/allianceauth/theme/templates/theme/theme_select.html +++ b/allianceauth/theme/templates/theme/theme_select.html @@ -1,13 +1,21 @@ {% load i18n %} -
- {% csrf_token %} +{% if themes|length > 1 %} +
  • - -
    + + + +{% endif %}