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:
parent
4ef9664620
commit
796e7a6c20
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
{% if request.user.is_staff %}
|
{% if is_manager %}
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<form class="result-form form-inline" method="POST" action="">
|
<form class="result-form form-inline" method="POST" action="">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
@ -146,6 +146,7 @@
|
||||||
<hr />
|
<hr />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if is_manager %}
|
||||||
<form action="" method="POST"accept-charset="utf-8">
|
<form action="" method="POST"accept-charset="utf-8">
|
||||||
<legend>{% trans "Send a message" %}</legend>
|
<legend>{% trans "Send a message" %}</legend>
|
||||||
<p>
|
<p>
|
||||||
|
@ -160,6 +161,7 @@
|
||||||
<input type="submit" class="btn btn-primary" name="message_submit" value="Send Message" />
|
<input type="submit" class="btn btn-primary" name="message_submit" value="Send Message" />
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue