mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 15:57:23 -04:00
Fix casing and multi-line stuff
This commit is contained in:
@@ -346,11 +346,18 @@ class Feedback(Form):
|
|||||||
|
|
||||||
|
|
||||||
class RequestToGoLiveForm(Form):
|
class RequestToGoLiveForm(Form):
|
||||||
channel = Stringfield('Are you sending emails or text messages or both?')
|
channel = StringField('Are you sending emails or text messages or both?')
|
||||||
start_date = Stringfield('When will you be ready to start sending messages?')
|
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.')
|
start_volume = StringField(
|
||||||
peak_volume = Stringfield('Will the number of messages a month increase and when will that start? Give an estimate.')
|
'How many messages do you expect to send per month to start with? Give an estimate in numbers.'
|
||||||
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?')
|
)
|
||||||
|
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):
|
class ProviderForm(Form):
|
||||||
|
|||||||
@@ -110,7 +110,11 @@ def service_request_to_go_live(service_id):
|
|||||||
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
|
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
|
||||||
'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
|
'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
|
||||||
'subject': 'Request to go live',
|
'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'],
|
current_service['name'],
|
||||||
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
|
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
|
||||||
form.channel.data,
|
form.channel.data,
|
||||||
@@ -118,7 +122,7 @@ def service_request_to_go_live(service_id):
|
|||||||
form.start_volume.data,
|
form.start_volume.data,
|
||||||
form.peak_volume.data,
|
form.peak_volume.data,
|
||||||
form.upload_or_api.data
|
form.upload_or_api.data
|
||||||
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
headers = {
|
headers = {
|
||||||
|
|||||||
Reference in New Issue
Block a user