-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1219 - Deleting references to the "Terms" page
I kept the actual HTML in case we want/need to add it back in the future. Can reference this branch to do so.
- Loading branch information
1 parent
c514214
commit 602f2fc
Showing
12 changed files
with
75 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,12 +52,14 @@ 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": ["[email protected]"] | ||
if use_example_as_example | ||
else [current_user.email_address], | ||
"sms": ["12223334444"] | ||
if use_example_as_example | ||
else [current_user.mobile_number], | ||
"email": ( | ||
["[email protected]"] | ||
if use_example_as_example | ||
else [current_user.email_address] | ||
), | ||
"sms": ( | ||
["12223334444"] if use_example_as_example else [current_user.mobile_number] | ||
), | ||
}[template.template_type] + get_example_csv_fields( | ||
( | ||
placeholder | ||
|
@@ -511,12 +513,14 @@ def _check_messages(service_id, template_id, upload_id, preview_row): | |
template=template, | ||
max_initial_rows_shown=50, | ||
max_errors_shown=50, | ||
guestlist=itertools.chain.from_iterable( | ||
[user.name, user.mobile_number, user.email_address] | ||
for user in Users(service_id) | ||
) | ||
if current_service.trial_mode | ||
else None, | ||
guestlist=( | ||
itertools.chain.from_iterable( | ||
[user.name, user.mobile_number, user.email_address] | ||
for user in Users(service_id) | ||
) | ||
if current_service.trial_mode | ||
else None | ||
), | ||
remaining_messages=remaining_messages, | ||
allow_international_sms=current_service.has_permission("international_sms"), | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters