mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-23 20:01:01 -05:00
Look for correct text when determining text colour
We used to say ‘None’ if this was empty. Now we say ‘Not set’. The thing that decides whether to make the text grey or not was looking for ‘None’ (the old thing).
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
|
||||
{% call row() %}
|
||||
{{ text_field('Email reply to addresses') }}
|
||||
{% call field(status='default' if default_reply_to_email_address == "None" else '') %}
|
||||
{% call field(status='default' if default_reply_to_email_address == "Not set" else '') %}
|
||||
|
||||
{{ default_reply_to_email_address }}
|
||||
{% if reply_to_email_address_count > 1 %}
|
||||
@@ -197,7 +197,7 @@
|
||||
{% endcall %}
|
||||
{% call row() %}
|
||||
{{ text_field('Free text message allowance')}}
|
||||
{{ text_field('{:,}'.format(current_service.free_sms_fragment_limit)) }}
|
||||
{{ text_field('{:,}'.format(current_service.free_sms_fragment_limit or 0)) }}
|
||||
{{ edit_field('Change', url_for('.set_free_sms_allowance', service_id=current_service.id)) }}
|
||||
{% endcall %}
|
||||
{% call row() %}
|
||||
|
||||
Reference in New Issue
Block a user