diff --git a/app/main/views/agreement.py b/app/main/views/agreement.py index e4ab40cd1..630e5a94d 100644 --- a/app/main/views/agreement.py +++ b/app/main/views/agreement.py @@ -20,6 +20,13 @@ def agreement(): navigation_links=features_nav(), ) + if agreement_info.agreement_signed: + return render_template( + 'views/agreement-signed.html', + owner=agreement_info.owner, + navigation_links=features_nav(), + ) + return render_template( 'views/agreement.html', owner=agreement_info.owner, diff --git a/app/templates/views/agreement-signed.html b/app/templates/views/agreement-signed.html new file mode 100644 index 000000000..212360855 --- /dev/null +++ b/app/templates/views/agreement-signed.html @@ -0,0 +1,33 @@ +{% extends "withoutnav_template.html" %} +{% from "components/sub-navigation.html" import sub_navigation %} + +{% block per_page_title %} + Download the GOV.UK Notify data sharing and financial agreement +{% endblock %} + +{% block maincolumn_content %} + +
+ Your organisation ({{ owner }}) has already accepted the GOV.UK + Notify data sharing and financial agreement. +
++ If you need to you can download a copy here. +
++ The agreement contains commercially sensitive information, so don’t share it more widely than you need to. +
+