mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
Added settings for hardcoded services values
This commit is contained in:
parent
0f5210e5de
commit
fd8801d006
@ -156,6 +156,9 @@ DEFAULT_ALLIANCE_GROUP = 'AllianceMember'
|
|||||||
ALLIANCE_ID = '0'
|
ALLIANCE_ID = '0'
|
||||||
ALLIANCE_NAME = 'Somealliance'
|
ALLIANCE_NAME = 'Somealliance'
|
||||||
|
|
||||||
|
# Forum URL
|
||||||
|
FORUM_URL = "http://someaddress.com"
|
||||||
|
|
||||||
# Jabber Prosody Info
|
# Jabber Prosody Info
|
||||||
JABBER_URL = "someaddress.com"
|
JABBER_URL = "someaddress.com"
|
||||||
JABBER_PORT = 5223
|
JABBER_PORT = 5223
|
||||||
@ -167,5 +170,6 @@ BROADCAST_USER = "broadcast@"+JABBER_URL
|
|||||||
BROADCAST_USER_PASSWORD = "somepassword"
|
BROADCAST_USER_PASSWORD = "somepassword"
|
||||||
|
|
||||||
# Mumble settings
|
# Mumble settings
|
||||||
|
MUMBLE_URL = "someurl.com"
|
||||||
MUMBLE_SERVER_ID = 1
|
MUMBLE_SERVER_ID = 1
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
<td class="text-center">Forums</td>
|
<td class="text-center">Forums</td>
|
||||||
<td class="text-center">{{ authinfo.forum_username }}</td>
|
<td class="text-center">{{ authinfo.forum_username }}</td>
|
||||||
<td class="text-center">{{ authinfo.forum_password }}</td>
|
<td class="text-center">{{ authinfo.forum_password }}</td>
|
||||||
<td class="text-center"><a href="https://the99eve.com/forums/">https://the99eve.com/forums/</a></td>
|
<td class="text-center"><a href="{{ FORUM_URL }}">{{ FORUM_URL }}</a></td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
{% ifequal authinfo.forum_username "" %}
|
{% ifequal authinfo.forum_username "" %}
|
||||||
<a href="{% url 'auth_activate_forum' %}">
|
<a href="{% url 'auth_activate_forum' %}">
|
||||||
@ -62,7 +62,7 @@
|
|||||||
<td class="text-center">Mumble</td>
|
<td class="text-center">Mumble</td>
|
||||||
<td class="text-center">{{ authinfo.mumble_username }}</td>
|
<td class="text-center">{{ authinfo.mumble_username }}</td>
|
||||||
<td class="text-center">{{ authinfo.mumble_password }}</td>
|
<td class="text-center">{{ authinfo.mumble_password }}</td>
|
||||||
<td class="text-center">the99eve.com</td>
|
<td class="text-center">{{ MUMBLE_URL }}</td>
|
||||||
<td class="text-center">
|
<td class="text-center">
|
||||||
{% ifequal authinfo.mumble_username "" %}
|
{% ifequal authinfo.mumble_username "" %}
|
||||||
<a href="{% url 'auth_activate_mumble' %}">
|
<a href="{% url 'auth_activate_mumble' %}">
|
||||||
|
@ -14,4 +14,5 @@ def jabber_url(request):
|
|||||||
|
|
||||||
|
|
||||||
def domain_url(request):
|
def domain_url(request):
|
||||||
return {'DOMAIN': settings.DOMAIN}
|
return {'DOMAIN': settings.DOMAIN, 'MUMBLE_URL': settings.MUMBLE_URL,
|
||||||
|
'FORUM_URL': settings.FORUM_URL}
|
Loading…
x
Reference in New Issue
Block a user