mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Hide Postage setting when letters are not enabled for service
We don't show the sender addresses and letter branding on the settings page if a service doesn't have letters enabled, so we should also hide the postage for services that can't send letters. (Postage can only be seen by Platform Admin users at the moment, but this will change later).
This commit is contained in:
@@ -236,7 +236,7 @@
|
||||
{% endcall %}
|
||||
|
||||
{% if current_user.platform_admin %}
|
||||
{% call row() %}
|
||||
{% call settings_row(if_has_permission='letter') %}
|
||||
{{ text_field('Postage') }}
|
||||
{% set postage = {'first': 'First class only', 'second': 'Second class only'} %}
|
||||
{{ text_field(postage[current_service.postage]) }}
|
||||
|
||||
Reference in New Issue
Block a user