This repository has been archived on 2022-08-01. You can view files and clone it, but cannot push or open issues or pull requests.
DEMOS2/allauthdemo/templates/polls/event_detail_entities.html

43 lines
1.1 KiB
HTML
Raw Normal View History

{% extends "polls/event_detail_base.html" %}
{% load staticfiles %}
{% load bootstrap3 %}
{% block event_nav_organisers %}active{% endblock %}
{% block event_content %}
<h2>Event Organisers</h2>
<hr/>
{% if object.users_organisers.all %}
<ul class="list-group">
{% for user in object.users_organisers.all %}
<li class="list-group-item">{{ user.email }}</li>
{% endfor %}
</ul>
{% else %}
<p>No organisers for this Event.</p>
{% endif %}
<hr/>
<h2>Event Trustees</h2>
<hr/>
{% if object.users_trustees.all %}
<ul class="list-group">
{% for user in object.users_trustees.all %}
<li class="list-group-item">{{ user.email }}</li>
{% endfor %}
</ul>
{% else %}
<p>No trustees for this Event.</p>
{% endif %}
<hr/>
<h2>Voters</h2>
<hr/>
{% if object.voters.all %}
<ul class="list-group">
{% for voter in object.voters.all %}
<li class="list-group-item">{{ voter.email }}</li>
{% endfor %}
</ul>
{% else %}
<p>No voters for this Event.</p>
{% endif %}
{% endblock %}