<%namespace name="lib" file="//lib.html" import="*"/> <%! import json %> % if error:

${error}

% else: % if events: % if has_layout:
    % endif % for i, event in enumerate(events): % if has_layout:
  1. \ % endif <% try: buffer = capture(self.include_file, event.renderer_template, # search objects job=job, event=event, # request context request={ 'host_app':host_app, 'client_app':client_app, 'field_list':field_list, 'min_lines':min_lines, 'max_lines':max_lines, 'max_lines_constraint':max_lines_constraint, 'segmentation':segmentation, 'earliest_time':earliest_time, 'latest_time':latest_time }, # UI options options={ 'display_row_numbers':display_row_numbers, 'enable_event_actions':enable_event_actions, 'enable_field_actions':enable_field_actions, 'max_lines_constraint': max_lines_constraint, 'replace_newlines' : replace_newlines } ) except: header = 'Event Renderer Error: %s ' % event.renderer_template buffer = lib.template.get_def('traceback').render(header=header, parent_element_class_name='tb', row_highlight_class_name='a') %> ${buffer} % if has_layout:
  2. % endif % endfor % if has_layout:
% endif % else:

${_("Your search - %s - did not match any results.") % job.search}

% endif % endif