File diff c6314ae230da → 1886323d7431
pinaxcon/templates/symposion/reviews/review_detail.html
Show inline comments
...
 
@@ -5,25 +5,25 @@
 

	
 

	
 
{% block body %}
 

	
 
    <div>
 
        <a class="btn btn-primary" href="{% url "user_random" proposal.section.slug %}">
 
            {% trans "Jump to a random unreviewed proposal" %}
 
        </a>
 
    </div>
 

	
 
    {% if is_manager %}
 
        <div class="pull-right">
 
            <form class="result-form form-inline" method="POST" action="">
 
            <form class="result-form form-inline form-horizontal" method="POST" action="">
 
                {% csrf_token %}
 
                <div class="btn-group">
 
                    {% if proposal.result.status == "accepted" %}
 
                        <a class="btn dropdown-toggle btn-success" data-toggle="dropdown" href="#">Accepted <span class="caret"></span></a>
 
                        <div class="dropdown-menu pull-right" style="width: 200px; padding-left: 10px;">
 
                            <div class="btn-group">
 
                                <input type="submit" name="result_submit" value="reject" class="btn btn-xs btn-danger" />
 
                                <input type="submit" name="result_submit" value="standby" class="btn btn-xs" />
 
                                <input type="submit" name="result_submit" value="undecide" class="btn btn-default btn-xs" />
 
                            </div>
 
                        </div>
 
                        <input type="submit" name="publish_changes" value="Publish Changes" class="btn btn-success" />
...
 
@@ -92,48 +92,48 @@
 
                            <td>{{ proposal.plus_two }}</td>
 
                            <td>{{ proposal.plus_one }}</td>
 
                            <td>{{ proposal.minus_one }}</td>
 
                            <td>{{ proposal.minus_two }}</td>
 
                            <td>{{ proposal.total_votes }}</td>
 
                        </tr>
 
                    </tbody>
 
                </table>
 

	
 
                <hr />
 

	
 
                {% if review_form %}
 
                    <form method="POST" action="#proposal-reviews" class="review-form">
 
                    <form method="POST" action="#proposal-reviews" class="review-form form-horizontal">
 
                        <legend>{% trans "Submit Review" %}</legend>
 
                        <p>Enter your vote and any comment to go along with it. You can revise your vote or comment multiple times with an existing vote (your previously recorded score will be replaced during calculations). <b>Your vote and comments are not public and will only be viewable by other reviewers.</b></p>
 
                        {% csrf_token %}
 
                            {{ review_form|bootstrap }}
 
                            <div class="form-action">
 
                              <input type="submit" class="btn btn-primary" name="vote_submit" value="Submit Review" />
 
                              <input type="submit" class="btn btn-primary" name="vote_submit_and_random" value="Submit Review and jump to random proposal" />
 
                            </div>
 
                    </form>
 
                {% else %}
 
                    <p>You do not have permission to vote on this proposal.</p>
 
                {% endif %}
 

	
 
                {% if reviews %}
 
                    <h5>Review Comments</h5>
 
                    {% for review in reviews %}
 
                        <div class="review-box">
 
                            <div class="vote pull-left">
 
                                <span>{{ review.vote }}</span>
 
                            </div>
 
                            {% if is_manager %}
 
                                <div class="pull-right">
 
                                    <form class="form-inline" action="{% url "review_delete" review.id %}" method="POST">
 
                                    <form class="form-inline form-horizontal" action="{% url "review_delete" review.id %}" method="POST">
 
                                        {% csrf_token %}
 
                                        <button class="btn btn-xs btn-danger" type="submit">Delete</button>
 
                                    </form>
 
                                </div>
 
                            {% endif %}
 
                            <div class="review-content">
 
                                &nbsp;
 
                                <b>
 
                                  {% if review.user.speaker_profile %}
 
                                    {{ review.user.speaker_profile.name }}
 
                                  {% else %}
 
                                    {{ review.user.username }}
...
 
@@ -153,25 +153,25 @@
 
                        <div class="comment-box">
 
                            <div class="commment-content">
 
                                <b>{{ message.user.username }}</b>
 
                                {{ message.submitted_at|timesince }} ago <br />
 
                                {{ message.message|safe }}
 
                            </div>
 
                        </div>
 
                    {% endfor %}
 
                    <hr />
 
                {% endif %}
 

	
 
		{% if is_manager %}
 
                <form action="" method="POST"accept-charset="utf-8">
 
                <form class="form-horizontal" action="" method="POST"accept-charset="utf-8">
 
                    <legend>{% trans "Send a message" %}</legend>
 
                    <p>
 
                        {% blocktrans %}
 
                            If you'd like to communicate with the submitter, use the following form and he or she will be
 
                            notified and given the opportunity to respond.
 
                        {% endblocktrans %}
 
                    </p>
 
                    {% csrf_token %}
 
                    {{ message_form|bootstrap }}
 
                    <div class="form-actions">
 
                        <input type="submit" class="btn btn-primary" name="message_submit" value="Send Message" />
 
                    </div>