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)
|
||||
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(
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user