mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
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:
parent
2e3e3c5941
commit
02dc27deac
@ -32,7 +32,13 @@
|
||||
<html>
|
||||
<head lang="en">
|
||||
<meta charset="UTF-8">
|
||||
<title>My Corp and/or Alliance Name</title>
|
||||
<title>
|
||||
{% if IS_CORP %}
|
||||
{{ CORP_NAME }}
|
||||
{% else %}
|
||||
{{ ALLIANCE_NAME }}
|
||||
{% endif %}
|
||||
</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="logo">
|
||||
|
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user