People who cant send messages see template postage class

This commit is contained in:
Pea Tyczynska
2019-02-04 16:24:28 +00:00
parent 84e458ba78
commit 2861a74d61

View File

@@ -21,12 +21,12 @@
Send
</a>
</div>
{% if current_service.has_permission("choose_postage") %}
<div class="column-whole" id="postage">
<h2 class="heading-small heading-inline">Postage</h2>:
{{ template_postage or current_service.postage }} class
</div>
{% endif %}
{% endif %}
{% if current_service.has_permission("choose_postage") %}
<div class="column-whole" id="postage">
<h2 class="heading-small heading-inline">Postage</h2>:
{{ template_postage or current_service.postage }} class
</div>
{% endif %}
{% else %}
{% if current_user.has_permissions('send_messages', restrict_admin_usage=True) %}