<%! #This is a hack, we should restructure templates to avoid this. def inherit(context): if context.get('trans').webapp.name == 'galaxy': return '/webapps/galaxy/base_panels.mako' elif context.get('trans').webapp.name == 'tool_shed': return '/webapps/tool_shed/base_panels.mako' else: return '/base.mako' %> <%inherit file="${inherit(context)}"/> <%namespace file="/message.mako" import="render_msg" /> <%def name="init()"> <% self.has_left_panel=False self.has_right_panel=False self.message_box_visible=False self.active_view="user" self.overlay_visible=False %> <%def name="stylesheets()"> ${parent.stylesheets()} <%def name="title()">Galaxy :: Logout <%def name="center_panel()"> ${self.body()} <%def name="body()"> %if message: ${render_msg( message, status )} %endif