From 227df66dba0b2eed810eaade62d57ee8b2a5bdf8 Mon Sep 17 00:00:00 2001 From: James Polley Date: Wed, 27 Jun 2018 17:10:17 +1000 Subject: [PATCH] Allow non-managers to submit review feedback --- pinaxcon/templates/symposion/reviews/review_detail.html | 2 -- vendor/symposion/reviews/views.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pinaxcon/templates/symposion/reviews/review_detail.html b/pinaxcon/templates/symposion/reviews/review_detail.html index dc191eb0..fc831487 100644 --- a/pinaxcon/templates/symposion/reviews/review_detail.html +++ b/pinaxcon/templates/symposion/reviews/review_detail.html @@ -161,7 +161,6 @@
{% endif %} - {% if is_manager %}
{% trans "Send a message" %}

@@ -176,7 +175,6 @@

- {% endif %} diff --git a/vendor/symposion/reviews/views.py b/vendor/symposion/reviews/views.py index 6efff504..11b4a526 100644 --- a/vendor/symposion/reviews/views.py +++ b/vendor/symposion/reviews/views.py @@ -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():