[CHANGE] Discourse service status badge text

This commit is contained in:
Peter Pfeufer
2023-10-31 10:47:06 +01:00
parent 072327c79f
commit beddeea338
5 changed files with 30 additions and 11 deletions

View File

@@ -10,12 +10,14 @@
{% endblock %}
{% block user %}
{% translate "Username" %}: {{ char.character_name }}
{% include "services/service_username.html" with username=char.character_name %}
{% endblock %}
{#{% block active %}#}
{# {% include "services/service_status.html" with username=char.character_name %}#}
{#{% endblock %}#}
{% block active %}
<span class="badge bg-success">
{% translate "SSO login active" %}
</span>
{% endblock %}
{% block controls %}
<a class="btn btn-success" href="{{ DISCOURSE_URL }}" title="{% translate 'Go to forums' %}">

View File

@@ -11,9 +11,7 @@
{% endblock %}
{% block user %}
{% if username %}
{% translate "Username" %}: {{ username }}
{% endif %}
{% include "services/service_username.html" with username=username %}
{% endblock %}
{% block controls %}

View File

@@ -14,7 +14,7 @@
{% endblock %}
{% block user %}
{{ authinfo.teamspeak3_uid }}
{% include "services/service_username.html" with username=authinfo.teamspeak3_uid %}
{% endblock %}
{% block controls %}