Update template so only managers can post messages to speakers. (#3)

* Template changes so only papers committee manager can send messages to speaker. lca2017/symposion#3

(also manager can accept/reject/etc)
This commit is contained in:
Scott Bragg 2016-06-14 09:40:29 +10:00 committed by GitHub
parent 4ef9664620
commit 796e7a6c20

View file

@ -6,7 +6,7 @@
{% block body %}
{% if request.user.is_staff %}
{% if is_manager %}
<div class="pull-right">
<form class="result-form form-inline" method="POST" action="">
{% csrf_token %}
@ -146,6 +146,7 @@
<hr />
{% endif %}
{% if is_manager %}
<form action="" method="POST"accept-charset="utf-8">
<legend>{% trans "Send a message" %}</legend>
<p>
@ -160,6 +161,7 @@
<input type="submit" class="btn btn-primary" name="message_submit" value="Send Message" />
</div>
</form>
{% endif %}
</div>
</div>
</div>