<%def name="jobActionControls(job)"> % if not job['isSaved']: ${_('Save')} | % endif % if not job['isDone']: % if job['isPaused']: ${_('Unpause')} % else: ${_('Pause')} % endif | ${_('Finalize')} | % endif ${_('Delete')} % for job in data: ${job['createTime'] | h} ${job['user'] | h} ${job['APP'] | h} ${job['eventCount']} ${job['RUNTIME']} ${job['EXPIRES']} % if job['STATUS'] != 'Done' and job['EXPIRES'] != 'Saved': ${job['STATUS']} % else: ${job['STATUS']} % endif ${jobActionControls(job)} % if job['URI'] != None: % if job['isSavedSearch'] and job['label']: ${job['label'] | h} [${_('earliest time=%s, latest time=%s') % (job['EARLIEST_TIME'], job['LATEST_TIME'])}] % else: ${job['search'] | h} [${_('earliest time=%s, latest time=%s') % (job['EARLIEST_TIME'], job['LATEST_TIME'])}] % endif % else: ${job['search'] | h} (This job cannot be viewed in the UI) [${_('earliest time=%s, latest time=%s') % (job['EARLIEST_TIME'], job['LATEST_TIME'])}] % endif % endfor