1 | from mako import runtime, filters, cache |
---|
2 | UNDEFINED = runtime.UNDEFINED |
---|
3 | __M_dict_builtin = dict |
---|
4 | __M_locals_builtin = locals |
---|
5 | _magic_number = 5 |
---|
6 | _modified_time = 1287725817.5901711 |
---|
7 | _template_filename='templates/root/history_item.mako' |
---|
8 | _template_uri='root/history_item.mako' |
---|
9 | _template_cache=cache.Cache(__name__, _modified_time) |
---|
10 | _source_encoding=None |
---|
11 | _exports = [] |
---|
12 | |
---|
13 | |
---|
14 | def _mako_get_namespace(context, name): |
---|
15 | try: |
---|
16 | return context.namespaces[(__name__, name)] |
---|
17 | except KeyError: |
---|
18 | _mako_generate_namespaces(context) |
---|
19 | return context.namespaces[(__name__, name)] |
---|
20 | def _mako_generate_namespaces(context): |
---|
21 | # SOURCE LINE 1 |
---|
22 | ns = runtime.Namespace('__anon_0x10aacc110', context._clean_inheritance_tokens(), templateuri=u'history_common.mako', callables=None, calling_uri=_template_uri, module=None) |
---|
23 | context.namespaces[(__name__, '__anon_0x10aacc110')] = ns |
---|
24 | |
---|
25 | def render_body(context,**pageargs): |
---|
26 | context.caller_stack._push_frame() |
---|
27 | try: |
---|
28 | __M_locals = __M_dict_builtin(pageargs=pageargs) |
---|
29 | _import_ns = {} |
---|
30 | _mako_get_namespace(context, '__anon_0x10aacc110')._populate(_import_ns, [u'render_dataset']) |
---|
31 | hid = _import_ns.get('hid', context.get('hid', UNDEFINED)) |
---|
32 | data = _import_ns.get('data', context.get('data', UNDEFINED)) |
---|
33 | render_dataset = _import_ns.get('render_dataset', context.get('render_dataset', UNDEFINED)) |
---|
34 | __M_writer = context.writer() |
---|
35 | __M_writer(u'\n\n') |
---|
36 | # SOURCE LINE 3 |
---|
37 | __M_writer(unicode(render_dataset( data, hid ))) |
---|
38 | __M_writer(u' \n') |
---|
39 | return '' |
---|
40 | finally: |
---|
41 | context.caller_stack._pop_frame() |
---|
42 | |
---|
43 | |
---|