From 7b83804281d030ca196db5abd795fa737051a0a2 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Mon, 6 Aug 2018 16:47:52 -0400 Subject: [PATCH] Fix some old tornado templates --- templates/base_workspace.html | 2 +- ...workspace_navigation.html.to => workspace_navigation.html} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename templates/navigation/{workspace_navigation.html.to => workspace_navigation.html} (87%) diff --git a/templates/base_workspace.html b/templates/base_workspace.html index 0ccad5ba..fedc3278 100644 --- a/templates/base_workspace.html +++ b/templates/base_workspace.html @@ -4,7 +4,7 @@
- {% include 'navigation/workspace_navigation.html.to' %} + {% include 'navigation/workspace_navigation.html' %}
diff --git a/templates/navigation/workspace_navigation.html.to b/templates/navigation/workspace_navigation.html similarity index 87% rename from templates/navigation/workspace_navigation.html.to rename to templates/navigation/workspace_navigation.html index 6b1c0317..e39ee185 100644 --- a/templates/navigation/workspace_navigation.html.to +++ b/templates/navigation/workspace_navigation.html @@ -4,7 +4,7 @@
    {{ SidenavItem( "Projects", - href='/workspace_projects/123456', + href=url_for("workspaces.workspace_projects", workspace_id=123456), active=g.matchesPath('\/workspaces\/[A-Za-z0-9]*\/projects'), subnav=[ { @@ -18,7 +18,7 @@ {{ SidenavItem( "Members", - href='/workspace_members/123456', + href=url_for("workspaces.workspace_members", workspace_id=123456), active=g.matchesPath('\/workspaces\/[A-Za-z0-9]*\/members'), subnav=[ {