Added a new UI feature which now shows all of the event results (once decrypted) in a basic but easy to read table which can be enhanced at a later point

This commit is contained in:
vince0656 2018-07-17 12:15:24 +01:00
parent 0ff10474c4
commit 33398b9993
8 changed files with 79 additions and 25 deletions

View file

@ -4,7 +4,7 @@
{% block event_nav_organisers %}active{% endblock %}
{% block event_content %}
<h2>Event Organisers</h2>
<h2>Event Organisers ({{ object.users_organisers.all.count }})</h2>
<hr/>
{% if object.users_organisers.all %}
<ul class="list-group">
@ -16,7 +16,7 @@
<p>No organisers for this Event.</p>
{% endif %}
<hr/>
<h2>Event Trustees</h2>
<h2>Event Trustees ({{ object.users_trustees.all.count }})</h2>
<hr/>
{% if object.users_trustees.all %}
<ul class="list-group">
@ -28,7 +28,7 @@
<p>No trustees for this Event.</p>
{% endif %}
<hr/>
<h2>Voters</h2>
<h2>Voters ({{ object.voters.all.count }})</h2>
<hr/>
{% if object.voters.all %}
<ul class="list-group">