Rename GovernmentDomain to AgreementInfo

This better describes the data encapsulated by this class, and how we
are now using it.
This commit is contained in:
Chris Hill-Scott
2018-03-09 14:53:04 +00:00
parent dd7fb71706
commit 056c4ebb88
4 changed files with 44 additions and 44 deletions

View File

@@ -9,7 +9,7 @@ from app import convert_to_boolean
from app.main import main
from app.main.forms import SearchTemplatesForm
from app.main.views.sub_navigation_dictionaries import features_nav
from app.utils import GovernmentDomain
from app.utils import AgreementInfo
@main.route('/')
@@ -154,7 +154,7 @@ def terms():
return render_template(
'views/terms-of-use.html',
navigation_links=features_nav(),
agreement_info=GovernmentDomain.from_current_user(),
agreement_info=AgreementInfo.from_current_user(),
)