<%! from stoqlib.reporting.utils import get_header_data h_data = get_header_data() %> <%block name="title_head" > ${ title } <%block name="extra_meta" /> ${ next.body() } <%def name="header(complete_header, title, subtitle, notes)">
% if complete_header:

${ h_data['title'] }

% for line in h_data['lines']: ${ line } % endfor
% else:

${ title }

${ subtitle } % if notes:
% for n in notes: ${ n } % endfor
% endif % endif
<%def name="setup_margin_labels(title)">