Added settings for hardcoded services values

This commit is contained in:
Raynaldo Rivera 2014-10-23 23:21:00 -07:00
parent 0f5210e5de
commit fd8801d006
3 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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' %}">

View File

@ -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}