Added permissions, reworked registration, added minimal django group support

This commit is contained in:
Raynaldo Rivera
2014-10-06 19:15:58 -07:00
parent eacb3d03b8
commit d2d3f0ec85
10 changed files with 112 additions and 45 deletions

View File

@@ -9,6 +9,7 @@
{% block content %}
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
<h1 class="page-header text-center">Available Applications</h1>
{% if perms.authentication.alliance_member %}
<table class="table table-bordered">
<tr>
<th class="text-center">Application</th>
@@ -64,6 +65,9 @@
</td>
</tr>
</table>
{% else %}
<div class="alert alert-danger" role="alert">You are not in the alliance</div>
{% endif %}
</div>
{% endblock content %}