diff --git a/allianceauth/authentication/templates/public/base.html b/allianceauth/authentication/templates/public/base.html index 798c270f..9ca3fc9c 100644 --- a/allianceauth/authentication/templates/public/base.html +++ b/allianceauth/authentication/templates/public/base.html @@ -12,7 +12,7 @@ {% include 'allianceauth/icons.html' %} - {% block title %}{{ SITE_NAME }}{% endblock %} + {% block title %}{% block page_title %}{% endblock page_title %} - {{ SITE_NAME }}{% endblock title %} {% include 'bundles/bootstrap-css.html' %} {% include 'bundles/fontawesome.html' %} diff --git a/allianceauth/authentication/templates/public/login.html b/allianceauth/authentication/templates/public/login.html index 9a7921e7..5460b330 100644 --- a/allianceauth/authentication/templates/public/login.html +++ b/allianceauth/authentication/templates/public/login.html @@ -1,6 +1,10 @@ {% extends 'public/middle_box.html' %} + +{% load i18n %} {% load static %} -{% block page_title %}Login{% endblock %} + +{% block page_title %}{% translate "Login" %}{% endblock %} + {% block middle_box_content %} diff --git a/allianceauth/authentication/templates/public/middle_box.html b/allianceauth/authentication/templates/public/middle_box.html index 005e86bf..862eb747 100644 --- a/allianceauth/authentication/templates/public/middle_box.html +++ b/allianceauth/authentication/templates/public/middle_box.html @@ -1,6 +1,6 @@ {% extends 'public/base.html' %} {% load static %} -{% block title %}Login{% endblock %} + {% block content %}
{% if messages %} diff --git a/allianceauth/authentication/templates/public/register.html b/allianceauth/authentication/templates/public/register.html index 05bc685b..99572f3f 100644 --- a/allianceauth/authentication/templates/public/register.html +++ b/allianceauth/authentication/templates/public/register.html @@ -1,13 +1,17 @@ {% extends 'public/base.html' %} + {% load static %} {% load bootstrap %} {% load i18n %} -{% block page_title %}Registration{% endblock %} + +{% block page_title %}{% translate "Registration" %}{% endblock %} + {% block extra_include %} {% include 'bundles/bootstrap-css.html' %} {% include 'bundles/fontawesome.html' %} {% include 'bundles/bootstrap-js.html' %} {% endblock %} + {% block content %}
diff --git a/allianceauth/templates/allianceauth/base.html b/allianceauth/templates/allianceauth/base.html index 9d1798c9..277a0c26 100644 --- a/allianceauth/templates/allianceauth/base.html +++ b/allianceauth/templates/allianceauth/base.html @@ -12,7 +12,7 @@ {% include 'allianceauth/icons.html' %} - {% block title %}{% block page_title %}{% endblock page_title %} - Alliance Auth{% endblock title %} + {% block title %}{% block page_title %}{% endblock page_title %} - {{ SITE_NAME }}{% endblock title %} {% include 'bundles/bootstrap-css.html' %} {% include 'bundles/fontawesome.html' %}