Reword the download agreement page

This commit is contained in:
Chris Hill-Scott
2018-04-03 10:58:48 +01:00
parent 98a40ac55b
commit 8fb909101b
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(),
)