diff --git a/templates/navigation/workspace_navigation.html b/templates/navigation/workspace_navigation.html index 3ed02ea9..6dfa4f09 100644 --- a/templates/navigation/workspace_navigation.html +++ b/templates/navigation/workspace_navigation.html @@ -9,8 +9,8 @@ subnav=[ { "label": "Add New Project", - "href":"/", - "active": g.matchesPath('workspaces/projects/new'), + "href": url_for('workspaces.new_project', workspace_id=workspace.id), + "active": g.matchesPath('\/workspaces\/[A-Za-z0-9-]*\/projects'), "icon": "plus" } ] diff --git a/templates/workspace_project_new.html b/templates/workspace_project_new.html new file mode 100644 index 00000000..0996946d --- /dev/null +++ b/templates/workspace_project_new.html @@ -0,0 +1,8 @@ +{% from "components/icon.html" import Icon %} + +{% extends "base_workspace.html" %} + +{% block workspace_content %} +
You are now ready to create projects and environments within the JEDI Cloud.
+ ", + actions='', + level='success' + ) }} +{% endif %} + {% for project in workspace.projects %}There are currently no JEDI workspaces
- New Workspace -