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

@@ -1,6 +1,6 @@
{% extends "public/base.html" %}
{% block title %}Alliance Auth{% endblock %}
{% block page_title %}Something something here{% endblock page_title %}
{% block page_title %}Dashboard{% endblock page_title %}
{% block content %}
@@ -59,7 +59,11 @@
</div>
</div>
{% else %}
<p> Not part of the corporation</p>
{% if IS_CORP %}
<p> Not part of the corporation.</p>
{% else %}
<p> Not part of the alliance.</p>
{% endif %}
{% endif %}
</div>
{% endblock content %}