diff --git a/allianceauth/services/templates/services/service_status.html b/allianceauth/services/templates/services/service_status.html new file mode 100644 index 00000000..9a817823 --- /dev/null +++ b/allianceauth/services/templates/services/service_status.html @@ -0,0 +1,9 @@ +{% load i18n %} + + + {% if username != '' %} + {% translate "Enabled" %} + {% else %} + {% translate "Disabled" %} + {% endif %} + diff --git a/allianceauth/services/templates/services/services_ctrl_base.html b/allianceauth/services/templates/services/services_ctrl_base.html index fa32e37e..0004f0ab 100644 --- a/allianceauth/services/templates/services/services_ctrl_base.html +++ b/allianceauth/services/templates/services/services_ctrl_base.html @@ -5,7 +5,7 @@
{% block url %}{% endblock url %}
{% block active %} - Active + {% include "services/service_status.html" with username=username %} {% endblock active %}
{% block user %}{% endblock user %}