add mechanism for initial modal display; fix financial verification modal display

This commit is contained in:
dandds
2018-08-09 13:15:01 -04:00
parent 28665c32f9
commit 5e5b357c7e
6 changed files with 44 additions and 35 deletions

View File

@@ -68,7 +68,7 @@ def make_flask_callbacks(app):
)
g.dev = os.getenv("FLASK_ENV", "dev") == "dev"
g.matchesPath = lambda href: re.match("^" + href, request.path)
g.modalOpen = request.args.get("modal", False)
g.modal = request.args.get("modal", None)
g.current_user = {
"id": "cce17030-4109-4719-b958-ed109dbb87c8",
"first_name": "Amanda",