Handle case where provider does not have international flag

This commit is contained in:
Imdad Ahad
2017-04-25 16:26:33 +01:00
parent 1788f10959
commit 116eac60d1
3 changed files with 14 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ Providers
domestic_sms_providers,
caption="Domestic SMS providers",
caption_visible=False,
empty_message='No email providers',
empty_message='No domestic sms providers',
field_headings=['Provider', 'Priority', 'Active', 'Last Updated', 'Updated By'],
field_headings_visible=True
) %}
@@ -84,7 +84,7 @@ Providers
intl_sms_providers,
caption="International SMS providers",
caption_visible=False,
empty_message='No email providers',
empty_message='No international sms providers',
field_headings=['Provider', 'Priority', 'Active', 'Last Updated', 'Updated By'],
field_headings_visible=True
) %}