mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-09 21:04:14 -05: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
|
||||
</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) %}
|
||||
|
||||
Reference in New Issue
Block a user