diff --git a/allianceauth/authentication/templates/authentication/dashboard.characters.html b/allianceauth/authentication/templates/authentication/dashboard.characters.html index b2e0588d..83075233 100644 --- a/allianceauth/authentication/templates/authentication/dashboard.characters.html +++ b/allianceauth/authentication/templates/authentication/dashboard.characters.html @@ -1,5 +1,5 @@ {% load i18n %} -
{% translate "Scopes" %} | diff --git a/allianceauth/authentication/templates/public/register.html b/allianceauth/authentication/templates/public/register.html index a4f1e77d..062bcb1e 100644 --- a/allianceauth/authentication/templates/public/register.html +++ b/allianceauth/authentication/templates/public/register.html @@ -1,6 +1,6 @@ {% extends 'public/base.html' %} -{% load bootstrap %} +{% load django_bootstrap5 %} {% load i18n %} {% block page_title %}{% translate "Registration" %}{% endblock %} @@ -12,16 +12,20 @@ {% endblock %} {% block content %} -||||
---|---|---|---|---|
{{ g.group.name }} | -{{ g.group.authgroup.description|linebreaks|urlize }} | ++ {% if g.group.authgroup.description %} + {{ g.group.authgroup.description|linebreaks|urlize }} + {% endif %} + | {% if g.group.authgroup.group_leaders.all.count %} - {% for leader in g.group.authgroup.group_leaders.all %}{% if leader.profile.main_character %}{{leader.profile.main_character}}{% endif %}{% endfor %} + {% for leader in g.group.authgroup.group_leaders.all %} + {% if leader.profile.main_character %} + {{leader.profile.main_character}} + {% endif %} + {% endfor %} {% endif %} {% if g.group.authgroup.group_leaders.all.count %} - {% for group in g.group.authgroup.group_leader_groups.all %}{{group.name}}{% endfor %} + {% for group in g.group.authgroup.group_leader_groups.all %} + {{group.name}} + {% endfor %} {% endif %} |
diff --git a/allianceauth/menu/templates/menu/menu-item-bs5.html b/allianceauth/menu/templates/menu/menu-item-bs5.html
index 152d0946..e400e5b2 100644
--- a/allianceauth/menu/templates/menu/menu-item-bs5.html
+++ b/allianceauth/menu/templates/menu/menu-item-bs5.html
@@ -10,21 +10,24 @@
{% if item.count >= 1 %}
-
+
{{ item.count }}
{% elif item.url %}
-
+
{% endif %}
{% if item.items|length > 0 %}
+ aria-controls=""
+ >
+
+
-
diff --git a/allianceauth/menu/templates/menu/menu-user.html b/allianceauth/menu/templates/menu/menu-user.html
index 8469811d..4d013d0b 100644
--- a/allianceauth/menu/templates/menu/menu-user.html
+++ b/allianceauth/menu/templates/menu/menu-user.html
@@ -2,35 +2,43 @@
{% load evelinks %}
{% load theme_tags %}
-
-
+
+
- {% with request.user.profile.main_character as main %}
-
- {% 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 %} + {% 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 %} +{{ main.faction_name }} + {% endif %} + {% endwith %} + {% else %} +{{ SITE_NAME }}+ {% endif %}
-
-
- |