Update templates to reflect changes in javascript directories organization.

This commit is contained in:
Jeremy Goecks
2012-04-13 10:04:42 -04:00
parent 273dae22a2
commit 9db1773281
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -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
+1 -1
View File
@@ -26,7 +26,7 @@
## <!--[if lt IE 7]>
## <script type='text/javascript' src="/static/scripts/IE7.js"> </script>
## <![endif]-->
${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" )}
<script type="text/javascript">
// Set up needed paths.
var galaxy_paths = new GalaxyPaths({
+1 -1
View File
@@ -47,7 +47,7 @@
<!--[if lt IE 7]>
${h.js( 'IE7', 'ie7-recalc' )}
<![endif]-->
${h.js( 'jquery', 'libs/underscore', 'libs/backbone', 'libs/backbone-relational', 'libs/handlebars.runtime', 'backbone/ui' )}
${h.js( 'jquery', 'libs/underscore', 'libs/backbone', 'libs/backbone-relational', 'libs/handlebars.runtime', 'mvc/ui' )}
<script type="text/javascript">
// Set up needed paths.
var galaxy_paths = new GalaxyPaths({
+2 -2
View File
@@ -16,8 +16,8 @@
<%def name="javascripts()">
${parent.javascripts()}
${h.handlebars( "tool_link", "panel_label", "panel_section", "tool_search" )}
${h.js( "galaxy.base", "json2", "autocomplete_tagging", "backbone/tools" )}
${h.templates( "tool_link", "panel_label", "panel_section", "tool_search" )}
${h.js( "galaxy.base", "json2", "autocomplete_tagging", "mvc/tools" )}
<%
# Set up for creating tool panel.