# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User jeremy goecks <jeremy.goecks@emory.edu> # Date 1283364901 14400 # Node ID f41f4ace420a58e7316fbeddacd301ff6d5dfaf1 # Parent 5f87abcf4854c6e5603a5b937865d3e8bdc9190d For UI tab generation, only create link if there is an href. --- a/templates/webapps/galaxy/base_panels.mako +++ b/templates/webapps/galaxy/base_panels.mako @@ -26,7 +26,12 @@ if not visible: style = "display: none;" %> - <td class="${cls}" style="${style}"><a target="${target}" href="${href}">${display}</a> + <td class="${cls}" style="${style}"> + %if href: + <a target="${target}" href="${href}">${display}</a> + %else: + ${display} + %endif %if menu_options: <div class="submenu"><ul>