1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/a27a0f7d3ac9/ changeset: a27a0f7d3ac9 user: greg date: 2012-11-26 16:44:32 summary: Style fix for rendering tool dependency information when installing tool shed repositories. affected #: 2 files
diff -r a627f341d01ae4a9741164981ff2e5300353354f -r a27a0f7d3ac90dfabd1050e26b9216eeb9ebc46b lib/galaxy/util/shed_util.py --- a/lib/galaxy/util/shed_util.py +++ b/lib/galaxy/util/shed_util.py @@ -484,18 +484,6 @@ if ctx_file_name == config_file: return get_named_tmpfile_from_ctx( changeset_ctx, ctx_file, dir ) return None -def get_headers( fname, sep, count=60, is_multi_byte=False ): - """Returns a list with the first 'count' lines split by 'sep'.""" - headers = [] - for idx, line in enumerate( file( fname ) ): - line = line.rstrip( '\n\r' ) - if is_multi_byte: - line = unicode( line, 'utf-8' ) - sep = sep.encode( 'utf-8' ) - headers.append( line.split( sep ) ) - if idx == count: - break - return headers def get_converter_and_display_paths( registration_elem, relative_install_dir ): """Find the relative path to data type converters and display applications included in installed tool shed repositories.""" converter_path = None @@ -544,6 +532,18 @@ ctx_rev = response.read() response.close() return ctx_rev +def get_headers( fname, sep, count=60, is_multi_byte=False ): + """Returns a list with the first 'count' lines split by 'sep'.""" + headers = [] + for idx, line in enumerate( file( fname ) ): + line = line.rstrip( '\n\r' ) + if is_multi_byte: + line = unicode( line, 'utf-8' ) + sep = sep.encode( 'utf-8' ) + headers.append( line.split( sep ) ) + if idx == count: + break + return headers def get_installed_tool_shed_repository( trans, id ): """Get a repository on the Galaxy side from the database via id""" return trans.sa_session.query( trans.model.ToolShedRepository ).get( trans.security.decode_id( id ) )
diff -r a627f341d01ae4a9741164981ff2e5300353354f -r a27a0f7d3ac90dfabd1050e26b9216eeb9ebc46b templates/admin/tool_shed_repository/common.mako --- a/templates/admin/tool_shed_repository/common.mako +++ b/templates/admin/tool_shed_repository/common.mako @@ -90,8 +90,18 @@ </div></div><div style="clear: both"></div> - <div class="form-row"> - <table class="grid"> + <div class="form-row"> + <style type="text/css"> + #dependency_table{ table-layout:fixed; + width:100%; + overflow-wrap:normal; + overflow:hidden; + border:0px; + word-break:keep-all; + word-wrap:break-word; + line-break:strict; } + </style> + <table class="grid" id="dependency_table"><tr><td colspan="4" bgcolor="#D8D8D8"><b>Tool dependencies</b></td></tr><% env_settings_heaader_row_displayed = False
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.