symposion_app/pinaxcon/templates/symposion/reviews/_review_table.html
2016-06-18 13:13:31 +10:00

39 lines
1.4 KiB
HTML

{% load i18n %}
<table class="table table-striped table-bordered table-reviews">
<thead>
<th>#</th>
<th>{% trans "Speaker / Title" %}</th>
<th>{% trans "Category" %}</th>
<th><i class="fa fa-comment-alt"></i></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.track }}</td>
<td>{{ proposal.comment_count }}</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>