Merge pull request #2023 from alphagov/more-agreement-go-live-tweaks

More agreement go live tweaks
This commit is contained in:
Chris Hill-Scott
2018-04-12 14:47:27 +01:00
committed by GitHub
3 changed files with 3 additions and 3 deletions

View File

@@ -226,7 +226,7 @@ def submit_request_to_go_live(service_id):
except DeskproError:
abort(500, "Request to go live submission failed")
flash('Weve received your request to go live', 'default')
flash('Thanks for your request to go live. Well get back to you within one working day.', 'default')
return redirect(url_for('.service_settings', service_id=service_id))
return render_template('views/service-settings/submit-request-to-go-live.html', form=form)

View File

@@ -25,7 +25,7 @@
<a href="{{ url_for('main.download_agreement') }}">Download the agreement</a>.
</li>
<li>
Get it signed by someone who has the authority to do so on behalf of {{ owner }}. Typically this is a director of digital or head of finance.
Get it signed by someone who has the authority to do so on behalf of {{ owner }}.
</li>
<li>
Return the signed copy to <a href="mailto:notify-support@digital.cabinet-office.gov.uk">notify-support@digital.cabinet-office.gov.uk</a>.

View File

@@ -595,7 +595,7 @@ def test_should_redirect_after_request_to_go_live(
assert 'Features: one off, file upload and API' in returned_message
assert normalize_spaces(page.select_one('.banner-default').text) == (
'Weve received your request to go live'
'Thanks for your request to go live. Well get back to you within one working day.'
)
assert normalize_spaces(page.select_one('h1').text) == (
'Settings'