From 48012b6c98b49e89b7d6291f08d84d0a5e874aae Mon Sep 17 00:00:00 2001 From: guerler Date: Wed, 6 Dec 2017 15:16:09 -0500 Subject: [PATCH] Remove get html use cases in makos --- templates/admin/tool_shed_repository/common.mako | 5 +++-- templates/webapps/tool_shed/repository/common.mako | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/admin/tool_shed_repository/common.mako b/templates/admin/tool_shed_repository/common.mako index a3f18dbea23..8885bad1ae5 100644 --- a/templates/admin/tool_shed_repository/common.mako +++ b/templates/admin/tool_shed_repository/common.mako @@ -1,3 +1,4 @@ +<%namespace file="/webapps/tool_shed/common/common.mako" import="*" /> <%namespace file="/webapps/tool_shed/repository/common.mako" import="*" /> <%def name="browse_files(title_text, directory_path)"> @@ -148,7 +149,7 @@ %else: %endif - ${repository_dependencies_check_box.get_html()} + ${render_checkbox(repository_dependencies_check_box)}
%if export: Select to export the following additional repositories that are required by this repository. @@ -185,7 +186,7 @@
<% disabled = trans.app.config.tool_dependency_dir is None %> - ${install_tool_dependencies_check_box.get_html( disabled=disabled )} + ${render_checkbox(install_tool_dependencies_check_box, disabled=disabled)}
%if disabled: Set the tool_dependency_dir configuration value in your Galaxy config to automatically handle tool dependencies. diff --git a/templates/webapps/tool_shed/repository/common.mako b/templates/webapps/tool_shed/repository/common.mako index 65fc9f93fb8..3ccf893fee0 100644 --- a/templates/webapps/tool_shed/repository/common.mako +++ b/templates/webapps/tool_shed/repository/common.mako @@ -1,3 +1,4 @@ +<%namespace file="/webapps/tool_shed/common/common.mako" import="*" /> <%def name="common_javascripts(repository)">