8d15a6cbeb
* Audience is visible on review details, but not the list. Perhaps useful for cases where reviwer wishes to only review for a particular audience. This change adds audience to the list view. * Format is not visible anywhere. This changes adds it to list and detail views for the reviewers. This change also adds some buttons to control visibility of the new columns.
41 lines
1.6 KiB
HTML
41 lines
1.6 KiB
HTML
{% load i18n %}
|
|
|
|
<table class="table table-striped table-bordered table-reviews">
|
|
<thead>
|
|
<th>#</th>
|
|
<th>{% trans "Speaker / Title" %}</th>
|
|
<th class="toggle">Audience</th>
|
|
<th class="toggle">Format</th>
|
|
<th>{% trans "Votes" %}</th>
|
|
<th class="toggle">{% trans "Score" %}</th>
|
|
<th class="votes">{% trans "+2" %}</th>
|
|
<th class="votes">{% trans "+1" %}</th>
|
|
<th class="votes">{% trans "-1" %}</th>
|
|
<th class="votes">{% trans "-2" %}</th>
|
|
<th><a href="#" class="tip" title="{% trans "Your Rating" %}"><i class="fa fa-user"></i></a></th>
|
|
</thead>
|
|
|
|
<tbody>
|
|
{% for proposal in proposals %}
|
|
<tr class="{{ proposal.user_vote_css }}">
|
|
<td>{{ proposal.number }}</td>
|
|
<td>
|
|
<a href="{% url "review_detail" proposal.pk %}">
|
|
<small><strong>{{ proposal.speaker }}</strong></small>
|
|
<br />
|
|
{{ proposal.title }}
|
|
</a>
|
|
</td>
|
|
<td>{{ proposal.get_target_audience_display }}</td>
|
|
<td>{{ proposal.get_talk_format_display }}</td>
|
|
<td>{{ proposal.total_votes }}</td>
|
|
<td>{{ proposal.score }}</td>
|
|
<td>{{ proposal.plus_two }}</td>
|
|
<td>{{ proposal.plus_one }}</td>
|
|
<td>{{ proposal.minus_one }}</td>
|
|
<td>{{ proposal.minus_two }}</td>
|
|
<td>{{ proposal.user_vote|default:"" }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|