mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
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:
@@ -21,12 +21,12 @@
|
|||||||
Send
|
Send
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
{% if current_service.has_permission("choose_postage") %}
|
{% endif %}
|
||||||
<div class="column-whole" id="postage">
|
{% if current_service.has_permission("choose_postage") %}
|
||||||
<h2 class="heading-small heading-inline">Postage</h2>:
|
<div class="column-whole" id="postage">
|
||||||
{{ template_postage or current_service.postage }} class
|
<h2 class="heading-small heading-inline">Postage</h2>:
|
||||||
</div>
|
{{ template_postage or current_service.postage }} class
|
||||||
{% endif %}
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
{% if current_user.has_permissions('send_messages', restrict_admin_usage=True) %}
|
{% if current_user.has_permissions('send_messages', restrict_admin_usage=True) %}
|
||||||
|
|||||||
Reference in New Issue
Block a user