Show alert when workspace is new

This commit is contained in:
richard-dds 2018-08-21 15:11:05 -04:00
parent 5203690748
commit 67700e13ba
2 changed files with 2 additions and 9 deletions

View File

@ -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(

View File

@ -5,12 +5,11 @@
{% block workspace_content %}
{% if True %}
{% if request.args.get("newWorkspace") %}
{{ Alert('Workspace created!',
message="\
<p>You are now ready to create projects and environments within the JEDI Cloud.</p>
",
actions='',
level='success'
) }}
{% endif %}