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

@@ -52,7 +52,11 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-danger" role="alert">You are not in the corporation</div>
{% if IS_CORP %}
<div class="alert alert-danger" role="alert">You are not in the corporation.</div>
{% else %}
<div class="alert alert-danger" role="alert">You are not in the alliance.</div>
{% endif %}
{% endif %}
</div>