diff --git a/allianceauth/menu/templates/menu/menu-logo.html b/allianceauth/menu/templates/menu/menu-logo.html new file mode 100644 index 00000000..0d128722 --- /dev/null +++ b/allianceauth/menu/templates/menu/menu-logo.html @@ -0,0 +1,4 @@ +{% load static %} +
+ +
diff --git a/allianceauth/menu/templates/menu/menu-user.html b/allianceauth/menu/templates/menu/menu-user.html index 8e8da669..8469811d 100644 --- a/allianceauth/menu/templates/menu/menu-user.html +++ b/allianceauth/menu/templates/menu/menu-user.html @@ -2,57 +2,83 @@ {% load evelinks %} {% load theme_tags %} -
- {% if user.is_authenticated %} - {% if request.user.profile.main_character %} +
+
+
{% 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 %} - {{ main.faction_name }} - {% endif %} -
-
{{ main.character_name }}
+ {{ main.character_name }} + {{ main.corporation_name }} + {% if main.alliance_id %} + {{ main.alliance_name }} + {% elif main.faction_id %} + {{ main.faction_name }} + {% endif %} {% endwith %} - {% else %} - {% translate 'No Main Character!' %} -
{% translate "No Main Character!" %}
- {% endif %} +
+
+ {% 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 %} +

{{ main.faction_name }}

+ {% endif %} + {% endwith %} +
+
+ + +
diff --git a/allianceauth/menu/templates/menu/sortable-side-menu.html b/allianceauth/menu/templates/menu/sortable-side-menu.html index 25d07c79..404f9dde 100644 --- a/allianceauth/menu/templates/menu/sortable-side-menu.html +++ b/allianceauth/menu/templates/menu/sortable-side-menu.html @@ -5,7 +5,7 @@