Changeset - 227df66dba0b
[Not reviewed]
0 2 0
James Polley - 6 years ago 2018-06-27 09:13:00
jp@jamezpolley.com
Allow non-managers to submit review feedback
2 files changed with 1 insertions and 3 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/symposion/reviews/review_detail.html
Show inline comments
...
 
@@ -161,7 +161,6 @@
 
                    <hr />
 
                {% endif %}
 

	
 
		{% if is_manager %}
 
                <form class="form-horizontal" action="" method="POST"accept-charset="utf-8">
 
                    <legend>{% trans "Send a message" %}</legend>
 
                    <p>
...
 
@@ -176,7 +175,6 @@
 
                        <input type="submit" class="btn btn-primary" name="message_submit" value="Send Message" />
 
                    </div>
 
                </form>
 
                {% endif %}
 
            </div>
 
        </div>
 
    </div>
vendor/symposion/reviews/views.py
Show inline comments
...
 
@@ -369,7 +369,7 @@ def review_detail(request, pk):
 
                return next_page
 
            else:
 
                message_form = SpeakerCommentForm()
 
        elif "message_submit" in request.POST and admin:
 
        elif "message_submit" in request.POST:
 
            message_form = SpeakerCommentForm(request.POST)
 
            if message_form.is_valid():
 

	
0 comments (0 inline, 0 general)