mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Update templates to reflect changes in javascript directories organization.
This commit is contained in:
@@ -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
@@ -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({
|
||||
|
||||
@@ -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({
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user