From 9db1773281779c26955eee5533fdc787dfd37183 Mon Sep 17 00:00:00 2001 From: Jeremy Goecks Date: Fri, 13 Apr 2012 10:04:42 -0400 Subject: [PATCH] Update templates to reflect changes in javascript directories organization. --- lib/galaxy/web/framework/helpers/__init__.py | 4 ++-- templates/base.mako | 2 +- templates/base_panels.mako | 2 +- templates/root/tool_menu.mako | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/galaxy/web/framework/helpers/__init__.py b/lib/galaxy/web/framework/helpers/__init__.py index 8d582a90ea7..77f6dbbea08 100644 --- a/lib/galaxy/web/framework/helpers/__init__.py +++ b/lib/galaxy/web/framework/helpers/__init__.py @@ -61,12 +61,12 @@ def js( *args ): """ return js_helper( '/static/scripts/', *args ) -def handlebars( *args ): +def templates( *args ): """ Take a list of template names (no extension) and return appropriate string of script tags. """ - return js_helper( '/static/scripts/handlebars/compiled/', *args ) + return js_helper( '/static/scripts/templates/compiled/', *args ) # Hashes diff --git a/templates/base.mako b/templates/base.mako index 97182799afc..846c88cc2b0 100644 --- a/templates/base.mako +++ b/templates/base.mako @@ -26,7 +26,7 @@ ## - ${h.js( "jquery", "galaxy.base", "libs/underscore", "libs/backbone", "libs/backbone-relational", "libs/handlebars.runtime", "backbone/ui" )} + ${h.js( "jquery", "galaxy.base", "libs/underscore", "libs/backbone", "libs/backbone-relational", "libs/handlebars.runtime", "mvc/ui" )}