General housekeeping such as adding package.json for Node server, bash script for launching a celery worker and updating the readme to assist with launching the DEMOS2 app. Updated some models to include UI helper functions. Main work done is around event preparation - with a Celery worker running and the Node server, trustees are now emailed a link to prepare events. The event detail page has also had a bit of an overhaul to include additional information and to make it easier to use

This commit is contained in:
vince0656 2018-07-02 10:06:05 +01:00
parent de9eaa7881
commit f82a380fa4
21 changed files with 337 additions and 696 deletions

View file

@ -4,10 +4,17 @@
{% block event_nav_details %}active{% endblock %}
{% block event_content %}
<h2>Event Details</h2>
<span>Ready/Prepared: {{ event.prepared }}</span>
<br />
<span>Start Time: {{ event.start_time }}</span>
<br />
<span>End Time: {{ event.end_time }}</span>
<br/>
<span><strong>Start Time:</strong> {{ event.start_time_formatted_utc }}</span>
<br />
<span><strong>End Time:</strong> {{ event.end_time_formatted_utc }}</span>
<br/>
<br/>
<span><strong>Number of Polls:</strong> {{ event.polls.count }}</span>
<br/>
<span><strong>Number of Organisers:</strong> {{ event.users_organisers.count }}</span>
<br/>
<span><strong>Number of Trustees:</strong> {{ event.users_trustees.count }}</span>
<br/>
<span><strong>Number of Voters:</strong> {{ event.voters.count }}</span>
{% endblock %}