
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/8d8bce91a289/ Changeset: 8d8bce91a289 User: martenson Date: 2014-12-08 22:07:58+00:00 Summary: show wrapper versions and requirement versions in the toolform header Affected #: 1 file diff -r 8e98c3d9b9a8bc3cabff60c67367fbaf5b328320 -r 8d8bce91a289e040d47f9b757aae4051a0501743 templates/webapps/galaxy/tool_form.mako --- a/templates/webapps/galaxy/tool_form.mako +++ b/templates/webapps/galaxy/tool_form.mako @@ -353,10 +353,25 @@ %if tool.has_multiple_pages: <div class="toolFormTitle">${tool.name} (step ${tool_state.page+1} of ${tool.npages}) %elif not tool_version_select_field: - <div class="toolFormTitle">${tool.name} (version ${tool.version}) + <div class="toolFormTitle">${tool.name} (Galaxy tool version ${tool.version}) %else: <div class="toolFormTitle">${tool.name} ${tool_version_select_field.get_html()} %endif + ## Show information button with underlying requirements and their versions + %if tool.requirements: + <a href="#" class="icon-btn" title="Underlying versions" tabindex="0" data-toggle="popover" data-placement="bottom" data-content= + " + %for i, requirement in enumerate( tool.requirements ): + ${ requirement.name } v ${ requirement.version } ${ '' if i + 1 == len( tool.requirements ) else ' | ' } + %endfor + " + onclick="$(function () { + $( '[ data-toggle=\'popover\' ]' ).popover(); + $( this ).popover( 'show' ); + })"> + <span class="fa fa-info-circle"></span> + </a> + %endif <span class="pull-right"> %if trans.app.config.biostar_url: @@ -442,4 +457,4 @@ <div id="citations"></div> %endif -</div> \ No newline at end of file +</div> 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.