odsreg/cfp/templates/cfplist.html
Thierry Carrez 88b1770704 Single topic uses admins to review
In case only one topic is used, allow all admins to
review proposed sessions.

Change-Id: I5084f57ccdb58b321e3b6433a322f4f18bb1f331
2017-09-19 12:13:07 +02:00

64 lines
2.4 KiB
HTML

{% extends "base.html" %}
{% block helppage %}
<p>Welcome to the {{ event.title }} session suggestion system.</p>
<p>This is the main screen. It lists all sessions suggested so far.</p>
<p>Each session has a topic, a title and a proposer. You can see the details of a proposed session by clicking on the title. You can sort the results by clicking on the corresponding table headers.</p>
<p>If you want to suggest your own session subject, click on <i>Suggest session</i>. If you're a topic lead, you will see the <i>Review topic</i> button that lets you review sessions suggested for your topic.</p>
{% endblock %}
{% block content %}
<script type="text/javascript" src="/media/sorting.js"></script>
{% if event.status == 'A' %}
<a class=roundedButton href=/cfp/create>Suggest session</A>
{% else %}
Session suggestion is now closed.
{% endif %}
{% if multitopic %}
{% for topic in reviewable_topics %}
<a class=roundedButton href="/cfp/topic/{{ topic.id }}">Review topic: {{ topic.name }}</A>
{% endfor %}
{% else %}
{% if user.is_superuser %}
<a class=roundedButton href="/cfp/topic/1">Review proposed sessions</A>
{% endif %}
{% endif %}
<table>
<tr>
{% if multitopic %}
<th><a class="nolink"
href="" onclick="ts_resortTable(this); return false;">Topic<img
class="sortarrow" src="/media/arrowBlank" height="6" width="9"></a></th>
{% endif %}
<th><a class="nolink"
href="" onclick="ts_resortTable(this); return false;">Title<img
class="sortarrow" src="/media/arrowBlank" height="6" width="9"></a>
<span class=small>(Click to view/edit)</span></th>
<th><a class="nolink"
href="" onclick="ts_resortTable(this); return false;">Proposer<img
class="sortarrow" src="/media/arrowBlank" height="6" width="9"></a></th>
<th class="right"><a class="nolink"
href="" onclick="ts_resortTable(this); return false;">Status<img
class="sortarrow" src="/media/arrowBlank" height="6" width="9"></a></th>
</tr>
{% for proposal in proposals %}
<tr>
{% if multitopic %}
<td>{{ proposal.topic.name }}</td>
{% endif %}
<td>
<a href="/cfp/details/{{ proposal.id }}">{{ proposal.title }}</a>
</td>
<td>{{ proposal.proposer.first_name }} {{ proposal.proposer.last_name }}</td>
<td class="right"><span class="sortkey">{{ proposal.status }}</span>
{% if proposal.scheduled %}
Scheduled
{% else %}
{{ proposal.get_status_display }}
{% endif %}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
{% block extrafooter %}
{% endblock %}