odsreg/cfp/templates/topiclist.html
Thierry Carrez 0a77592bd9 Simplify UI in case there is just one topic
When only one topic is available, havign a column to display
topic (or mentioning topic) is a bit confusing. Simplify the
UI so that you can safely ignore this concept if there is only
one topic available.

Change-Id: I69ddef83b586a81df75e04579125681cbe067151
2017-03-16 15:38:34 +01:00

69 lines
2.6 KiB
HTML

{% extends "base.html" %}
{% block helppage %}
<p>This is the topic lead review screen. It lists all session suggestions for your topic so far.</p>
{% if sched %}
<p>A graph shows you how many sessions you have proposed, approved and scheduled against the number of available slots you have for your topic.</p>
{% endif %}
<p>You can see the details of a proposed session (or edit sessions that are not in <i>Approved</i> state yet) by clicking on its title. You can sort the results by clicking on the corresponding table headers.</p>
<p>To change the status for a given session, click on the <i>Status</i> you want to change.</p>
{% if sched %}
<p>Finally, when you're ready to do the scheduling of your topic, you can click on the <i>Scheduling</i> button.</p>
{% endif %}
{% endblock %}
{% block content %}
<script type="text/javascript" src="/media/sorting.js"></script>
<div class="span-8">
<h2>{% if multitopic %}{{ topic.name }}{% else %}Review proposed sessions{% endif %}</h2>
<a class=roundedButton href=/>Back to proposals list</A>
{% if sched %}
<a class=roundedButton href="/scheduling/{{ topic.id }}">Scheduling</A>
</div><div id="vis"><iframe frameborder=0 width=580 height=100 src=/scheduling/graph/{{ topic.id }}></iframe>
{% endif %}
</div>
<table>
<tr>
{% if multitopic %}
<th>Topic</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 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>
<span class=small>(Click to review)</span></th>
</tr>
{% for proposal in proposals %}
<tr>
{% if multitopic %}
<td>
{% if proposal.scheduled %}
{{ proposal.topic.name }}
{% else %}
<a href="/cfp/switch/{{ proposal.id }}">{{ proposal.topic.name }}</a>
{% endif %}
</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 %}
<a href="/cfp/review/{{ proposal.id }}">
{{ proposal.get_status_display }}</a>
{% endif %}
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
{% block extrafooter %}
{% endblock %}