mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-23 07:46:23 -04:00
Customise download page if agreement signed
If the user’s organisation has already signed the agreement we shouldn’t give them the instructions for how to sign it.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user