Show alert when workspace is new
This commit is contained in:
parent
5203690748
commit
67700e13ba
@ -41,13 +41,7 @@ def update_financial_verification(request_id):
|
|||||||
)
|
)
|
||||||
new_workspace = Requests.update_financial_verification(request_id, post_data)
|
new_workspace = Requests.update_financial_verification(request_id, post_data)
|
||||||
if valid:
|
if valid:
|
||||||
return redirect(
|
return redirect(url_for("workspaces.workspace_projects", workspace_id=new_workspace.id, newWorkspace=True))
|
||||||
url_for(
|
|
||||||
"workspaces.workspace_projects",
|
|
||||||
workspace_id=new_workspace.id,
|
|
||||||
modal=True,
|
|
||||||
)
|
|
||||||
)
|
|
||||||
else:
|
else:
|
||||||
form.reset()
|
form.reset()
|
||||||
return render_template(
|
return render_template(
|
||||||
|
@ -5,12 +5,11 @@
|
|||||||
|
|
||||||
{% block workspace_content %}
|
{% block workspace_content %}
|
||||||
|
|
||||||
{% if True %}
|
{% if request.args.get("newWorkspace") %}
|
||||||
{{ Alert('Workspace created!',
|
{{ Alert('Workspace created!',
|
||||||
message="\
|
message="\
|
||||||
<p>You are now ready to create projects and environments within the JEDI Cloud.</p>
|
<p>You are now ready to create projects and environments within the JEDI Cloud.</p>
|
||||||
",
|
",
|
||||||
actions='',
|
|
||||||
level='success'
|
level='success'
|
||||||
) }}
|
) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user