Remove 40604 as fallback

We should just be using whatever is in the database. Should not be
merged until the DB migration is done.
This commit is contained in:
Chris Hill-Scott
2017-05-22 15:10:16 +01:00
parent eb7b8631b6
commit 616fec9d77
3 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@
{% call row() %}
{{ text_field('Text message sender') }}
{{ text_field(current_service.sms_sender or '40604') }}
{{ text_field(current_service.sms_sender or 'GOVUK') }}
{{ edit_field('Change', url_for('.service_set_sms_sender', service_id=current_service.id)) }}
{% endcall %}

View File

@@ -269,7 +269,7 @@ def get_template(
return SMSPreviewTemplate(
template,
prefix=service['name'],
sender=service['sms_sender'],
sender=(service['sms_sender'] not in {'GOVUK', None}),
show_recipient=show_recipient
)
if 'letter' == template['template_type']: