Files
@ 79743b711d6f
Branch filter:
Location: symposion_app/pinaxcon/templates/symposion/reviews/review_stats.html - annotation
79743b711d6f
4.1 KiB
text/html
More consistent color-coding for talk status buttons
- there's no btn-default, switch that to btn-primary
- consistently use info for standby, primary for undecided, success
for accept and warn for rejected
- there's no btn-default, switch that to btn-primary
- consistently use info for standby, primary for undecided, success
for accept and warn for rejected
04f246d85071 04f246d85071 770e2ca88dd3 430d3dad99eb 04f246d85071 04f246d85071 04f246d85071 04f246d85071 770e2ca88dd3 770e2ca88dd3 770e2ca88dd3 770e2ca88dd3 770e2ca88dd3 770e2ca88dd3 770e2ca88dd3 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 4ef966462097 04f246d85071 04f246d85071 04f246d85071 4ef966462097 04f246d85071 04f246d85071 04f246d85071 4ef966462097 04f246d85071 04f246d85071 04f246d85071 4ef966462097 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 a160e2b7c32a 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 a160e2b7c32a 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 a160e2b7c32a 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 a160e2b7c32a 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 04f246d85071 | {% extends "symposion/reviews/base.html" %}
{% block body_class %}{{ block.super }} voting-status {{ key }}{% endblock %}
{% block body %}
<h1>Voting Status ({{ section_slug }})</h1>
{% if key %}
<br />
<div class="btn-group">
<a class="btn btn-default positive" href="{% url "review_status" section_slug "positive" %}">Positive</a>
<a class="btn btn-default negative" href="{% url "review_status" section_slug "negative" %}">Negative</a>
<a class="btn btn-default indifferent" href="{% url "review_status" section_slug "indifferent" %}">Indifferent</a>
<a class="btn btn-default controversial" href="{% url "review_status" section_slug "controversial" %}">Controversial</a>
<a class="btn btn-default too_few" href="{% url "review_status" section_slug "too_few" %}">Too Few</a>
</div>
<div>
{% if key == "positive" %}
<h3>Positive
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one +2 and no −2s</small></h3>
{% endif %}
{% if key == "negative" %}
<h3>Negative
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one −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 +2 or a −2</small></h3>
{% endif %}
{% if key == "controversial" %}
<h3>Controversial
<small>proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and both a +2 and −2</small></h3>
{% endif %}
{% if key == "too_few" %}
<h3>Too Few Reviews
<small>proposals with fewer than {{ vote_threshold }} vote{{ vote_threshold|pluralize }}</small></h3>
{% endif %}
{% include "symposion/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>
<span class="badge">{{ proposals.positive|length }}</span>
</dt>
<dd>
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one +2 and no −2s
</dd>
<dt>
<a href="{% url "review_status" section_slug "negative" %}">Negative</a>
<span class="badge">{{ proposals.negative|length }}</span>
</dt>
<dd>
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and at least one −2 and no +2s
</dd>
<dt>
<a href="{% url "review_status" section_slug "indifferent" %}">Indifferent</a>
<span class="badge">{{ proposals.indifferent|length }}</span>
</dt>
<dd>
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and neither a +2 or a −2
</dd>
<dt>
<a href="{% url "review_status" section_slug "controversial" %}">Controversial</a>
<span class="badge">{{ proposals.controversial|length }}</span>
</dt>
<dd>
proposals with at least {{ vote_threshold }} vote{{ vote_threshold|pluralize }} and both a +2 and −2
</dd>
<dt>
<a href="{% url "review_status" section_slug "too_few" %}">Too Few Reviews</a>
<span class="badge">{{ proposals.too_few|length }}</span>
</dt>
<dd>
proposals with fewer than {{ vote_threshold }} vote{{ vote_threshold|pluralize }}
</dd>
</dl>
{% endif %}
{% endblock %}
|