Change templates to use +2/+1/-1/-2 voting scores (#2)

* Change review templates to reflect LCA voting scores

* Change review templates to reflect LCA voting scores
This commit is contained in:
Scott Bragg 2016-06-13 17:58:55 +10:00 committed by GitHub
parent fbcfd05b02
commit 4ef9664620
4 changed files with 24 additions and 24 deletions

View file

@ -6,10 +6,10 @@
<th>{% trans "Speaker / Title" %}</th>
<th>{% trans "Category" %}</th>
<th><i class="fa fa-comment-alt"></i></th>
<th>{% trans "+2" %}</th>
<th>{% trans "+1" %}</th>
<th>{% trans "+0" %}</th>
<th>{% trans "-0" %}</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>
@ -26,10 +26,10 @@
</td>
<td>{{ proposal.track }}</td>
<td>{{ proposal.comment_count }}</td>
<td>{{ proposal.plus_two }}</td>
<td>{{ proposal.plus_one }}</td>
<td>{{ proposal.plus_zero }}</td>
<td>{{ proposal.minus_zero }}</td>
<td>{{ proposal.minus_one }}</td>
<td>{{ proposal.minus_two }}</td>
<td>{{ proposal.user_vote|default:"" }}</td>
</tr>
{% endfor %}

View file

@ -14,18 +14,18 @@
<th>
Comments
</th>
<th>
+2
</th>
<th>
+1
</th>
<th>
+0
</th>
<th>
&minus;0
</th>
<th>
&minus;1
</th>
<th>
&minus;2
</th>
</tr>
{% for reviewer in reviewers %}
<tr>
@ -38,18 +38,18 @@
<td>
{{ reviewer.comment_count }}
</td>
<td>
{{ reviewer.plus_two }}
</td>
<td>
{{ reviewer.plus_one }}
</td>
<td>
{{ reviewer.plus_zero }}
</td>
<td>
{{ reviewer.minus_zero }}
</td>
<td>
{{ reviewer.minus_one }}
</td>
<td>
{{ reviewer.minus_two }}
</td>
</tr>
{% endfor %}
</table>

View file

@ -74,18 +74,18 @@
<h4>{% trans "Current Results" %}</h4>
<table class="table table-striped">
<thead>
<th>+2 votes</th>
<th>+1 votes</th>
<th>+0 votes</th>
<th>-0 votes</th>
<th>-1 votes</th>
<th>-2 votes</th>
<th>{% trans "Total Responses" %}
</thead>
<tbody>
<tr>
<td>{{ proposal.plus_two }}</td>
<td>{{ proposal.plus_one }}</td>
<td>{{ proposal.plus_zero }}</td>
<td>{{ proposal.minus_zero }}</td>
<td>{{ proposal.minus_one }}</td>
<td>{{ proposal.minus_two }}</td>
<td>{{ proposal.total_votes }}</td>
</tr>
</tbody>

View file

@ -18,19 +18,19 @@
<div>
{% if key == "positive" %}
<h3>Positive
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one +1 and no &minus;1s</small></h3>
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one +2 and no &minus;2s</small></h3>
{% endif %}
{% if key == "negative" %}
<h3>Negative
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one &minus;1 and no +1s</small></h3>
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one &minus;2 and no +2s</small></h3>
{% endif %}
{% if key == "indifferent" %}
<h3>Indifferent
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and neither a +1 or a &minus;1</small></h3>
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and neither a +2 or a &minus;2</small></h3>
{% endif %}
{% if key == "controversial" %}
<h3>Controversial
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and both a +1 and &minus;1</small></h3>
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and both a +2 and &minus;2</small></h3>
{% endif %}
{% if key == "too_few" %}
<h3>Too Few Reviews