mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
images and overrides
This commit is contained in:
@@ -35,7 +35,7 @@ def _create_example_template(service_id):
|
||||
example_sms_template = service_api_client.create_service_template(
|
||||
'Example text message template',
|
||||
'sms',
|
||||
'Hey ((name)), I’m trying out Notify. Today is ((day of week)) and my favourite colour is ((colour)).',
|
||||
'Hi, I’m trying out US Notify. Today is ((day of week)) and my favourite colour is ((colour)).',
|
||||
service_id,
|
||||
)
|
||||
return example_sms_template
|
||||
|
||||
@@ -77,7 +77,7 @@ def get_example_csv_fields(column_headers, use_example_as_example, submitted_fie
|
||||
def get_example_csv_rows(template, use_example_as_example=True, submitted_fields=False):
|
||||
return {
|
||||
'email': ['test@example.com'] if use_example_as_example else [current_user.email_address],
|
||||
'sms': ['07700 900321'] if use_example_as_example else [current_user.mobile_number],
|
||||
'sms': ['12223334444'] if use_example_as_example else [current_user.mobile_number],
|
||||
'letter': [
|
||||
(submitted_fields or {}).get(
|
||||
key, get_example_letter_address(key) if use_example_as_example else key
|
||||
|
||||
Reference in New Issue
Block a user