2012-08-14 07:49:57 +00:00
|
|
|
{% extends "reviews/base.html" %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<h1>Voting Status ({{ section_slug }})</h1>
|
|
|
|
|
|
|
|
{% if key %}
|
|
|
|
<div class="breadcrumbs">
|
|
|
|
<a href="{% url review_status section_slug "positive" %}">Positive</a> |
|
|
|
|
<a href="{% url review_status section_slug "negative" %}">Negative</a> |
|
|
|
|
<a href="{% url review_status section_slug "indifferent" %}">Indifferent</a> |
|
|
|
|
<a href="{% url review_status section_slug "controversial" %}">Controversial</a> |
|
|
|
|
<a href="{% url review_status section_slug "too_few" %}">Too Few</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
{% if key == "positive" %}
|
|
|
|
<h3>Positive
|
2012-08-14 19:52:23 +00:00
|
|
|
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one +1 and no −1s</small></h3>
|
2012-08-14 07:49:57 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if key == "negative" %}
|
|
|
|
<h3>Negative
|
2012-08-14 19:52:23 +00:00
|
|
|
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one −1 and no +1s</small></h3>
|
2012-08-14 07:49:57 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if key == "indifferent" %}
|
|
|
|
<h3>Indifferent
|
2012-08-14 19:52:23 +00:00
|
|
|
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and neither a +1 or a −1</small></h3>
|
2012-08-14 07:49:57 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if key == "controversial" %}
|
|
|
|
<h3>Controversial
|
2012-08-14 19:52:23 +00:00
|
|
|
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and both a +1 and −1</small></h3>
|
2012-08-14 07:49:57 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if key == "too_few" %}
|
|
|
|
<h3>Too Few Reviews
|
2012-08-14 19:52:23 +00:00
|
|
|
<small>proposals with fewer than {{ vote_threshold }} vote{{ vote_threshold|pluralize }}</small></h3>
|
2012-08-14 07:49:57 +00:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% include "reviews/_review_table.html" %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<p>Reviews are placed into one of five buckets depending on the state of their votes:</p>
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
<dt>
|
|
|
|
<a href="{% url review_status section_slug "positive" %}">Positive</a>
|
2012-08-25 23:54:17 +00:00
|
|
|
<span class="badge">{{ proposals.positive|length }}</span>
|
2012-08-14 07:49:57 +00:00
|
|
|
</dt>
|
|
|
|
<dd>
|
2012-08-14 19:52:23 +00:00
|
|
|
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one +1 and no −1s
|
2012-08-14 07:49:57 +00:00
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="{% url review_status section_slug "negative" %}">Negative</a>
|
2012-08-25 23:54:17 +00:00
|
|
|
<span class="badge">{{ proposals.negative|length }}</span>
|
2012-08-14 07:49:57 +00:00
|
|
|
</dt>
|
|
|
|
<dd>
|
2012-08-14 19:52:23 +00:00
|
|
|
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one −1 and no +1s
|
2012-08-14 07:49:57 +00:00
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="{% url review_status section_slug "indifferent" %}">Indifferent</a>
|
2012-08-25 23:54:17 +00:00
|
|
|
<span class="badge">{{ proposals.indifferent|length }}</span>
|
2012-08-14 07:49:57 +00:00
|
|
|
</dt>
|
|
|
|
<dd>
|
2012-08-14 19:52:23 +00:00
|
|
|
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and neither a +1 or a −1
|
2012-08-14 07:49:57 +00:00
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="{% url review_status section_slug "controversial" %}">Controversial</a>
|
2012-08-25 23:54:17 +00:00
|
|
|
<span class="badge">{{ proposals.controversial|length }}</span>
|
2012-08-14 07:49:57 +00:00
|
|
|
</dt>
|
|
|
|
<dd>
|
2012-08-14 19:52:23 +00:00
|
|
|
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and both a +1 and −1
|
2012-08-14 07:49:57 +00:00
|
|
|
</dd>
|
|
|
|
<dt>
|
|
|
|
<a href="{% url review_status section_slug "too_few" %}">Too Few Reviews</a>
|
2012-08-25 23:54:17 +00:00
|
|
|
<span class="badge">{{ proposals.too_few|length }}</span>
|
2012-08-14 07:49:57 +00:00
|
|
|
</dt>
|
|
|
|
<dd>
|
2012-08-14 19:52:23 +00:00
|
|
|
proposals with fewer than {{ vote_threshold }} vote{{ vote_threshold|pluralize }}
|
2012-08-14 07:49:57 +00:00
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endblock %}
|