- {% 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 }} |
-
- {% endif %}
-
- {% endwith %}
- {% else %}
-
{% trans "Missing main character model." %}
+
+
+
+
+
+
{% trans "Main Character" %}
+
+ {% 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 }} |
+
+
{% endif %}
-
-
-
+
+ {% endwith %}
+ {% else %}
+
{% trans "Missing main character model." %}
+ {% endif %}
+
+
+
-
-
-
{% trans "Groups" %}
-
-
-
- {% for group in user.groups.all %}
-
- {{ group.name }} |
-
- {% endfor %}
-
-
+
+
+
+
{% trans "Groups" %}
+
+
+
+ {% for group in user.groups.all %}
+
+ {{ group.name }} |
+
+ {% endfor %}
+
-
+
-
{% trans 'Characters' %}
+
{% trans 'Characters' %}
@@ -79,14 +97,16 @@
{% trans 'Alliance' %} |
{% for ownership in request.user.character_ownerships.all %}
- {% with ownership.character as char %}
-
-  |
- {{ char.character_name }} |
- {{ char.corporation_name }} |
- {{ char.alliance_name }} |
-
- {% endwith %}
+ {% with ownership.character as char %}
+
+
+ |
+ {{ char.character_name }} |
+ {{ char.corporation_name }} |
+ {{ char.alliance_name }} |
+
+ {% endwith %}
{% endfor %}
diff --git a/allianceauth/authentication/templates/public/base.html b/allianceauth/authentication/templates/public/base.html
index 8bf077f4..1464ac91 100644
--- a/allianceauth/authentication/templates/public/base.html
+++ b/allianceauth/authentication/templates/public/base.html
@@ -32,7 +32,7 @@
}
- #lang_select {
+ #lang-select {
width: 40%;
margin-left: auto;
margin-right: auto;
diff --git a/allianceauth/authentication/templates/public/lang_select.html b/allianceauth/authentication/templates/public/lang_select.html
index 13d5ecfd..545d19ba 100644
--- a/allianceauth/authentication/templates/public/lang_select.html
+++ b/allianceauth/authentication/templates/public/lang_select.html
@@ -3,7 +3,7 @@