Merge pull request #2733 from alphagov/postage_changes_before_it_goes_public

People who can't send messages still see template postage class
This commit is contained in:
Pea (Malgorzata Tyczynska)
2019-02-05 16:52:21 +00:00
committed by GitHub

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) %}