Merge pull request #2327 from alphagov/add-mou-to-checklist

Add line about the data sharing and financial agreement to the checklist
This commit is contained in:
Chris Hill-Scott
2018-09-26 16:33:13 +01:00
committed by GitHub
9 changed files with 89 additions and 27 deletions

View File

@@ -179,8 +179,13 @@ def service_name_change_confirm(service_id):
@login_required
@user_has_permissions('manage_service')
def request_to_go_live(service_id):
agreement_signed = AgreementInfo.from_current_user().agreement_signed
return render_template(
'views/service-settings/request-to-go-live.html'
'views/service-settings/request-to-go-live.html',
show_agreement=agreement_signed is not None,
agreement_signed=agreement_signed,
)