Merge branch 'master' into 'master'

Added a link/button on the TS page that will show/hide instructions if the...

See merge request allianceauth/allianceauth!1618
This commit is contained in:
John Turner 2025-06-30 23:43:46 +00:00
commit 3c03576aac

View File

@ -14,6 +14,25 @@
<div class="col-md-4">
<a href="ts3server://{{ public_url }}?token={{ authinfo.teamspeak3_perm_key }}&nickname={{ authinfo.teamspeak3_uid }}" class="btn btn-primary btn-block btn-lg" title="Join">{% translate "Join Server" %}</a>
<br>
<div class="bg-body-tertiary text-center">
<a href="#" onclick="document.getElementById('tokenDiv').classList.toggle('hidden');">{% translate "Join button not working, click here?" %}</a>
</div>
<div class="hidden text-center" id="tokenDiv">
<p>
{% translate "TS3:"%} <br/>
{% translate "Connect to "%}{{ public_url }} <br/>
{% translate "Click the Permissions in the top toolbar"%} <br/>
{% translate "Select Use Privilege Key"%} <br/>
{% translate "Enter "%}{{ authinfo.teamspeak3_perm_key }}
</p>
<p>
{% translate "TS5: "%} <br/>
{% translate "Connect to "%}{{ public_url }} <br/>
{% translate "Right click the server"%} <br/>
{% translate "Select Use Privilege Key"%} <br/>
{% translate "Enter "%}{{ authinfo.teamspeak3_perm_key }}
</p>
</div>
<form class="form-signin" role="form" action="{% url 'teamspeak3:verify' %}" method="POST">
{% csrf_token %}