82 lines
		
	
	
		
			No EOL
		
	
	
		
			3.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			82 lines
		
	
	
		
			No EOL
		
	
	
		
			3.3 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% 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
 | 
						|
                <small>proposals with at least 3 votes and at least one +1 and no −1s</small></h3>
 | 
						|
            {% endif %}
 | 
						|
            {% if key == "negative" %}
 | 
						|
                <h3>Negative
 | 
						|
                <small>proposals with at least 3 votes and at least one −1 and no +1s</small></h3>
 | 
						|
            {% endif %}
 | 
						|
            {% if key == "indifferent" %}
 | 
						|
                <h3>Indifferent
 | 
						|
                <small>proposals with at least 3 votes and neither a +1 or a −1</small></h3>
 | 
						|
            {% endif %}
 | 
						|
            {% if key == "controversial" %}
 | 
						|
                <h3>Controversial
 | 
						|
                <small>proposals with at least 3 votes and both a +1 and −1</small></h3>
 | 
						|
            {% endif %}
 | 
						|
            {% if key == "too_few" %}
 | 
						|
                <h3>Too Few Reviews
 | 
						|
                <small>proposals with fewer than 3 votes</small></h3>
 | 
						|
            {% 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>
 | 
						|
                <span class="badge">{{ proposals.positive.count }}</span>
 | 
						|
            </dt>
 | 
						|
            <dd>
 | 
						|
                proposals with at least 3 votes and at least one +1 and no −1s
 | 
						|
            </dd>
 | 
						|
            <dt>
 | 
						|
                <a href="{% url review_status section_slug "negative" %}">Negative</a>
 | 
						|
                <span class="badge">{{ proposals.negative.count }}</span>
 | 
						|
            </dt>
 | 
						|
            <dd>
 | 
						|
                proposals with at least 3 votes and at least one −1 and no +1s
 | 
						|
            </dd>
 | 
						|
            <dt>
 | 
						|
                <a href="{% url review_status section_slug "indifferent" %}">Indifferent</a>
 | 
						|
                <span class="badge">{{ proposals.indifferent.count }}</span>
 | 
						|
            </dt>
 | 
						|
            <dd>
 | 
						|
                proposals with at least 3 votes and neither a +1 or a −1
 | 
						|
            </dd>
 | 
						|
            <dt>
 | 
						|
                <a href="{% url review_status section_slug "controversial" %}">Controversial</a>
 | 
						|
                <span class="badge">{{ proposals.controversial.count }}</span>
 | 
						|
            </dt>
 | 
						|
            <dd>
 | 
						|
                proposals with at least 3 votes and both a +1 and −1
 | 
						|
            </dd>
 | 
						|
            <dt>
 | 
						|
                <a href="{% url review_status section_slug "too_few" %}">Too Few Reviews</a>
 | 
						|
                <span class="badge">{{ proposals.too_few.count }}</span>
 | 
						|
            </dt>
 | 
						|
            <dd>
 | 
						|
                proposals with fewer than 3 votes
 | 
						|
            </dd>
 | 
						|
        </dl>
 | 
						|
    {% endif %}
 | 
						|
 | 
						|
{% endblock %} |