galaxy-dist commit 642edc1ae4f5: Fix grid link/label bug introduced in 4372:269c46003857
# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User jeremy goecks <jeremy.goecks@emory.edu> # Date 1286376177 14400 # Node ID 642edc1ae4f50a0a7e6d00904654733f4172fbf7 # Parent 41cf53bdcca21a255c94ae90d20a9bd492cf6741 Fix grid link/label bug introduced in 4372:269c46003857 --- a/templates/grid_base.mako +++ b/templates/grid_base.mako @@ -860,13 +860,19 @@ cls = "menubutton split" %> - %if len(grid.operations) == 0: - <td><a class="label" href="${href}">${v}</a></td> - %elif href: - <td><div id="${id}" class="${cls}" style="float: left;"><a class="label" href="${href}">${v}</a></div></td> + <td> + %if href: + %if len(grid.operations) != 0: + <div id="${id}" class="${cls}" style="float: left;"> + %endif + <a class="label" href="${href}">${v}</a> + %if len(grid.operations) != 0: + </div> + %endif %else: - <td><div id="${id}" class="${cls}"><label for="${encoded_id}">${v}</label></div></td> + <div id="${id}" class="${cls}"><label for="${encoded_id}">${v}</label></div> %endif + </td> %endfor %endif %endfor
participants (1)
-
commits-noreply@bitbucket.org