mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Show 'From' / 'Reply to' on all sending screens
This makes the preview of the email / SMS to send consistent with the final screen, which we previously changed to show the "reply to" text irrespective of whether the user had selected anything.
This commit is contained in:
@@ -218,6 +218,10 @@ def set_sender(service_id, template_id):
|
||||
return redirect_to_one_off
|
||||
|
||||
sender_details = get_sender_details(service_id, template['template_type'])
|
||||
|
||||
if len(sender_details) == 1:
|
||||
session['sender_id'] = sender_details[0]['id']
|
||||
|
||||
if len(sender_details) <= 1:
|
||||
return redirect_to_one_off
|
||||
|
||||
|
||||
Reference in New Issue
Block a user