symposion_app/pinaxcon/templates/symposion/reviews/_review_table.html
Christopher Neugebauer 9c986111a1 Updates proposal forms and review template (#14)
* Updates the forms and models for Proposal Bases

* Proposal review templates only display fields relevant to LCA

* Display total votes properly
2016-06-21 09:58:27 +10:00

37 lines
1.3 KiB
HTML

{% load i18n %}
<table class="table table-striped table-bordered table-reviews">
<thead>
<th>#</th>
<th>{% trans "Speaker / Title" %}</th>
<th>{% trans "Votes" %}</th>
<th>{% trans "Score" %}</th>
<th>{% trans "+2" %}</th>
<th>{% trans "+1" %}</th>
<th>{% trans "-1" %}</th>
<th>{% 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.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>