<%
show_msg_pane = (not c.http_status or c.info or c.exception or
(c.http_status and c.http_status > 299))
show_error_pane = (c.exception or
(c.http_status and c.http_status > 299))
show_info_pane = not show_error_pane
msg_pane_style = {'display': ('block' if show_msg_pane else 'none')}
%>
<%call expr="fixed_pane(id='message_pane', classes=['display-pane'], style=msg_pane_style)">
% if c.info:
${c.info}
% else:
byCycle needs your support. Spread the word. Make a donation if you can. Thanks.
<%include file="/widgets/paypal-button.html" />© 2004-2008 byCycle.org
% endif
${self.body()}
%call>
<%call expr="self.result_pane()" />
<%call expr="self.map_controls()" />