1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b9af8161548a/ changeset: b9af8161548a user: greg date: 2013-03-05 01:47:23 summary: Add links for set_environment tool dependency type in the Tool dependency definitions Galaxy Utilities grid. affected #: 1 file diff -r 26315fa894cefb9192a38ee596f3cb93d8c33e3f -r b9af8161548a17653704304a72d392d2a328cc4b lib/tool_shed/grids/repository_grids.py --- a/lib/tool_shed/grids/repository_grids.py +++ b/lib/tool_shed/grids/repository_grids.py @@ -843,12 +843,14 @@ # Example: "set_environment": [{"name": "JAVA_JAR_FILE", "type": "set_environment"}] env_dicts = tds_dict[ 'set_environment' ] num_env_dicts = len( env_dicts ) - td_str += '<b>environment:</b> ' - for index, env_dict in enumerate( env_dicts ): - td_str += '%s' % escape_html( env_dict[ 'name' ] ) - if index < num_env_dicts - 1: - td_str += ', ' - td_str += '<br/>' + if num_env_dicts > 0: + td_str += '<a href="browse_datatypes?operation=view_or_manage_repository&id=%s">' % trans.security.encode_id( repository_metadata.id ) + td_str += '<b>environment:</b> ' + for index, env_dict in enumerate( env_dicts ): + td_str += '%s' % escape_html( env_dict[ 'name' ] ) + if index < num_env_dicts - 1: + td_str += ', ' + td_str += '</a><br/>' for index, key in enumerate( sorted_keys ): if key == 'set_environment': continue 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.