Skip to content

Commit

Permalink
Restore render_tool_centric_table function
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Mar 21, 2017
1 parent 9ecb71e commit 69e2af5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions templates/webapps/galaxy/admin/manage_dependencies.mako
Expand Up @@ -22,6 +22,37 @@
%endfor
</%def>

<%def name="render_tool_centric_table( tools, requirements_status)">
<tr>
<th bgcolor="#D8D8D8">Select</th>
<th bgcolor="#D8D8D8">Name</th>
<th bgcolor="#D8D8D8">ID</th>
<th bgcolor="#D8D8D8">Requirement</th>
<th bgcolor="#D8D8D8">Version</th>
<th bgcolor="#D8D8D8">Resolver</th>
<th bgcolor="#D8D8D8">Exact</th>
<th bgcolor="#D8D8D8"></th>
</tr>
<% ctr = 0 %>
%for tool in tools.values():
%if tool.tool_requirements:
%if ctr % 2 == 1:
<tr class="odd_row">
%else:
<tr class="tr">
%endif
<td>
<input type="checkbox" name="selected_tool_ids" value="${tool.id}"/>
</td>
<td>${ tool.name | h }</td>
<td>${ tool.id | h }</td>
${render_tool_dependencies( requirements_status[tool.tool_requirements], ctr=ctr) }
</tr>
<% ctr += 1 %>
%endif
%endfor
</%def>

<%def name="render_unused_dependencies(unused_environments)">
<tr>
<th bgcolor="#D8D8D8">Select</th>
Expand Down

0 comments on commit 69e2af5

Please sign in to comment.