changed templates to reflect corp or alliance toggle

created context processors for IS_CORP, ALLIANCE_ID and ALLIANCE_NAME variables

Signed-off-by: Adarnof <adarnof@gmail.com>
This commit is contained in:
Adarnof
2015-10-31 17:59:27 -04:00
parent a3de13f055
commit 984ab31d33
12 changed files with 71 additions and 20 deletions

View File

@@ -10,9 +10,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>{{ CORP_NAME }} - Login</title>
{% if IS_CORP %}
<title>{{ CORP_NAME }} - Login</title>
{% else %}
<title>{{ ALLIANCE_NAME }} - Login</title>
{% endif %}
<!-- Bootstrap Core CSS -->
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
<!-- Custom Fonts -->