Corrected ALLIANCE_NAME context processor to render alliance name if IS_CORP false.

Added ALLIANCE_NAME vs CORP_NAME toggle for index page title per IS_CORP value.
Closes #85
This commit is contained in:
Adarnof
2015-11-28 05:08:37 +00:00
parent 2e3e3c5941
commit 02dc27deac
2 changed files with 8 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ def alliance_id(request):
return {'ALLIANCE_ID': settings.ALLIANCE_ID}
def alliance_name(request):
return {'ALLIANCE_NAME': settings.CORP_NAME}
return {'ALLIANCE_NAME': settings.ALLIANCE_NAME}
def jabber_url(request):
return {'JABBER_URL': settings.JABBER_URL}