diff --git a/allianceauth/menu/templates/menu/menu-logo.html b/allianceauth/menu/templates/menu/menu-logo.html index 858e3884..d871f4d6 100644 --- a/allianceauth/menu/templates/menu/menu-logo.html +++ b/allianceauth/menu/templates/menu/menu-logo.html @@ -1,5 +1,5 @@ {% load static %}
{{ main.corporation_name }}
- {% if main.alliance_id %} -{{ main.alliance_name }}
- {% elif main.faction_id %} -{{ main.faction_name }}
- {% endif %} - {% endwith %} + {% if user.is_authenticated %} + {% with request.user.profile.main_character as main %} +{{ main.corporation_name }}
+ {% if main.alliance_id %} +{{ main.alliance_name }}
+ {% elif main.faction_id %} +{{ main.faction_name }}
+ {% endif %} + {% endwith %} + {% else %} +