mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix variable testing
This commit is contained in:
@@ -796,7 +796,9 @@ class AdminToolshed(AdminGalaxy):
|
||||
query = trans.install_model.context.current.query(trans.install_model.ToolShedRepository).filter(or_(*clause_list))
|
||||
return trans.fill_template('admin/tool_shed_repository/monitor_repository_installation.mako',
|
||||
tool_shed_repositories=tool_shed_repositories,
|
||||
query=query)
|
||||
query=query,
|
||||
message=kwd.get('message'),
|
||||
status=kwd.get('status'))
|
||||
|
||||
@web.json
|
||||
@web.require_admin
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
<%def name="repository_installation_javascripts()">
|
||||
<script type="text/javascript">
|
||||
%if hasattr(self, "initiate_repository_installation_ids"):
|
||||
%if context.get("initiate_repository_installation_ids"):
|
||||
$(document).ready(function( ){
|
||||
initiate_repository_installation( "${initiate_repository_installation_ids}", "${encoded_kwd}", "${reinstalling}" );
|
||||
});
|
||||
@@ -31,8 +31,8 @@
|
||||
</script>
|
||||
</%def>
|
||||
|
||||
%if hasattr(self, "message"):
|
||||
${render_msg( message, error )}
|
||||
%if context.get("message"):
|
||||
${render_msg( message, status )}
|
||||
%endif
|
||||
|
||||
%if tool_shed_repositories:
|
||||
|
||||
Reference in New Issue
Block a user