diff --git a/atst/routes/requests/financial_verification.py b/atst/routes/requests/financial_verification.py index 2216238f..63a3c449 100644 --- a/atst/routes/requests/financial_verification.py +++ b/atst/routes/requests/financial_verification.py @@ -41,13 +41,7 @@ def update_financial_verification(request_id): ) new_workspace = Requests.update_financial_verification(request_id, post_data) if valid: - return redirect( - url_for( - "workspaces.workspace_projects", - workspace_id=new_workspace.id, - modal=True, - ) - ) + return redirect(url_for("workspaces.workspace_projects", workspace_id=new_workspace.id, newWorkspace=True)) else: form.reset() return render_template( diff --git a/templates/workspace_projects.html b/templates/workspace_projects.html index 18f24396..cd2a1308 100644 --- a/templates/workspace_projects.html +++ b/templates/workspace_projects.html @@ -5,12 +5,11 @@ {% block workspace_content %} -{% if True %} +{% if request.args.get("newWorkspace") %} {{ Alert('Workspace created!', message="\
You are now ready to create projects and environments within the JEDI Cloud.
", - actions='', level='success' ) }} {% endif %}