commit/galaxy-central: davebgx: Fix for displaying repository actions under certain conditions.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/dd3e833aa872/ Changeset: dd3e833aa872 Branch: stable User: davebgx Date: 2014-06-11 20:48:59 Summary: Fix for displaying repository actions under certain conditions. Affected #: 8 files diff -r 426de9e7912bed1db4548acfe64e2ca86f9cdf99 -r dd3e833aa8724283200b1bf44e44fc93a5441b52 templates/webapps/tool_shed/common/repository_actions_menu.mako --- a/templates/webapps/tool_shed/common/repository_actions_menu.mako +++ b/templates/webapps/tool_shed/common/repository_actions_menu.mako @@ -54,7 +54,7 @@ else: can_push = False - if not is_deprecated and not is_new and not is_malicious: + if not is_deprecated and not is_new and not changeset_is_malicious: can_download = True else: can_download = False diff -r 426de9e7912bed1db4548acfe64e2ca86f9cdf99 -r dd3e833aa8724283200b1bf44e44fc93a5441b52 templates/webapps/tool_shed/repository/browse_repository.mako --- a/templates/webapps/tool_shed/repository/browse_repository.mako +++ b/templates/webapps/tool_shed/repository/browse_repository.mako @@ -31,7 +31,7 @@ can_browse_contents = not is_new %> -${render_tool_shed_repository_actions( repository, changeset_revision=changeset_revision )} +${render_tool_shed_repository_actions( repository, metadata=metadata, changeset_revision=changeset_revision )} %if message: ${render_msg( message, status )} diff -r 426de9e7912bed1db4548acfe64e2ca86f9cdf99 -r dd3e833aa8724283200b1bf44e44fc93a5441b52 templates/webapps/tool_shed/repository/contact_owner.mako --- a/templates/webapps/tool_shed/repository/contact_owner.mako +++ b/templates/webapps/tool_shed/repository/contact_owner.mako @@ -11,7 +11,7 @@ %><%inherit file="${inherit(context)}"/> -${render_tool_shed_repository_actions( repository )} +${render_tool_shed_repository_actions( repository, metadata=metadata )} %if message: ${render_msg( message, status )} diff -r 426de9e7912bed1db4548acfe64e2ca86f9cdf99 -r dd3e833aa8724283200b1bf44e44fc93a5441b52 templates/webapps/tool_shed/repository/export_repository.mako --- a/templates/webapps/tool_shed/repository/export_repository.mako +++ b/templates/webapps/tool_shed/repository/export_repository.mako @@ -23,7 +23,7 @@ ${container_javascripts()} </%def> -${render_tool_shed_repository_actions( repository, changeset_revision=changeset_revision )} +${render_tool_shed_repository_actions( repository, metadata=metadata, changeset_revision=changeset_revision )} %if message: ${render_msg( message, status )} diff -r 426de9e7912bed1db4548acfe64e2ca86f9cdf99 -r dd3e833aa8724283200b1bf44e44fc93a5441b52 templates/webapps/tool_shed/repository/view_changelog.mako --- a/templates/webapps/tool_shed/repository/view_changelog.mako +++ b/templates/webapps/tool_shed/repository/view_changelog.mako @@ -29,7 +29,7 @@ ${h.js( "libs/jquery/jquery.rating" )} </%def> -${render_tool_shed_repository_actions( repository=repository )} +${render_tool_shed_repository_actions( repository=repository, metadata=metadata )} %if message: ${render_msg( message, status )} diff -r 426de9e7912bed1db4548acfe64e2ca86f9cdf99 -r dd3e833aa8724283200b1bf44e44fc93a5441b52 templates/webapps/tool_shed/repository/view_changeset.mako --- a/templates/webapps/tool_shed/repository/view_changeset.mako +++ b/templates/webapps/tool_shed/repository/view_changeset.mako @@ -29,7 +29,7 @@ ${h.js( "libs/jquery/jquery.rating" )} </%def> -${render_tool_shed_repository_actions( repository=repository )} +${render_tool_shed_repository_actions( repository=repository, metadata=metadata )} %if message: ${render_msg( message, status )} diff -r 426de9e7912bed1db4548acfe64e2ca86f9cdf99 -r dd3e833aa8724283200b1bf44e44fc93a5441b52 templates/webapps/tool_shed/repository/view_repository.mako --- a/templates/webapps/tool_shed/repository/view_repository.mako +++ b/templates/webapps/tool_shed/repository/view_repository.mako @@ -61,7 +61,7 @@ </%def> %if trans.webapp.name == 'tool_shed': - ${render_tool_shed_repository_actions( repository=repository, changeset_revision=changeset_revision )} + ${render_tool_shed_repository_actions( repository=repository, metadata=metadata, changeset_revision=changeset_revision )} %else: ${render_galaxy_repository_actions( repository=repository )} %endif diff -r 426de9e7912bed1db4548acfe64e2ca86f9cdf99 -r dd3e833aa8724283200b1bf44e44fc93a5441b52 templates/webapps/tool_shed/repository/view_tool_metadata.mako --- a/templates/webapps/tool_shed/repository/view_tool_metadata.mako +++ b/templates/webapps/tool_shed/repository/view_tool_metadata.mako @@ -22,7 +22,7 @@ <%inherit file="${inherit(context)}"/> %if render_repository_actions_for == 'tool_shed': - ${render_tool_shed_repository_actions( repository=repository, changeset_revision=changeset_revision )} + ${render_tool_shed_repository_actions( repository=repository, metadata=metadata, changeset_revision=changeset_revision )} %else: ${render_galaxy_repository_actions( repository=repository )} %endif Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org