Merge pull request #2002 from alphagov/reword-agreement-download

[WIP] Reword the download agreement page
This commit is contained in:
Chris Hill-Scott
2018-04-09 11:12:08 +01:00
committed by GitHub
2 changed files with 19 additions and 10 deletions

View File

@@ -10,9 +10,14 @@ from app.utils import AgreementInfo
@main.route('/agreement')
@login_required
def agreement():
agreement_info = AgreementInfo.from_current_user()
agreement_info.crown_status_or_404
return render_template(
'views/agreement.html',
crown_status=AgreementInfo.from_current_user().crown_status_or_404,
owner=agreement_info.owner,
navigation_links=features_nav(),
)