mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 17:38:50 -04:00
Fix casing and multi-line stuff
This commit is contained in:
@@ -346,11 +346,18 @@ class Feedback(Form):
|
||||
|
||||
|
||||
class RequestToGoLiveForm(Form):
|
||||
channel = Stringfield('Are you sending emails or text messages or both?')
|
||||
start_date = Stringfield('When will you be ready to start sending messages?')
|
||||
start_volume = Stringfield('How many messages do you expect to send per month to start with? Give an estimate in numbers.')
|
||||
peak_volume = Stringfield('Will the number of messages a month increase and when will that start? Give an estimate.')
|
||||
upload_or_api = Stringfield('Are you uploading a list of contacts that you’re sending your message to, or are you integrating your system with ours?')
|
||||
channel = StringField('Are you sending emails or text messages or both?')
|
||||
start_date = StringField('When will you be ready to start sending messages?')
|
||||
start_volume = StringField(
|
||||
'How many messages do you expect to send per month to start with? Give an estimate in numbers.'
|
||||
)
|
||||
peak_volume = StringField(
|
||||
'Will the number of messages a month increase and when will that start? Give an estimate.'
|
||||
)
|
||||
upload_or_api = StringField(
|
||||
'Are you uploading a list of contacts that you’re sending your message to, ' +
|
||||
'or are you integrating your system with ours?'
|
||||
)
|
||||
|
||||
|
||||
class ProviderForm(Form):
|
||||
|
||||
@@ -110,7 +110,11 @@ def service_request_to_go_live(service_id):
|
||||
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
|
||||
'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
|
||||
'subject': 'Request to go live',
|
||||
'message': "On behalf of {} ({})\n\nExpected usage\n---\n\nChannel: {}\nStart date: {}\nStart volume: {}\nPeak volume: {}\nUpload or API: {}".format(
|
||||
'message':
|
||||
('On behalf of {} ({})\n\nExpected usage\n---'
|
||||
'\nChannel: {}\nStart date: {}\nStart volume: {}'
|
||||
'\nPeak volume: {}\nUpload or API: {}')
|
||||
.format(
|
||||
current_service['name'],
|
||||
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
|
||||
form.channel.data,
|
||||
@@ -118,7 +122,7 @@ def service_request_to_go_live(service_id):
|
||||
form.start_volume.data,
|
||||
form.peak_volume.data,
|
||||
form.upload_or_api.data
|
||||
|
||||
|
||||
)
|
||||
}
|
||||
headers = {
|
||||
|
||||
Reference in New Issue
Block a user