<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<h3 class="head smaller lighter blue">${_('Audit log Export Status')}</h3>
	</div>
	<div class="span1 hidden-phone"></div>
</div>
<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		<div class="row-fluid">
			<div class="span12">
				% if c.finished:
				% if c.results and c.results['f']:
				${_('The export has been processed, ')}${h.link_to(_('Download the file'), url('status-auditlog-export-status', taskid=c.results['id'], d='y'))}
				% else:
					${_('The Audit log export failed: %s') % c.results['errormsg']}
				% endif
				% else:
				${h.portable_img('imgs/ajax-pager.gif', alt="")} ${_('The Audit log export is being processed.')}
				% endif
			</div>
		</div>
	</div>
	<div class="span1 hidden-phone"></div>
</div>


<%def name="headers()">\
% if not c.finished:
<meta http-equiv="refresh" content="5" />
% endif
</%def>
<%def name="title()">\
${_('Status :: Audit log :: export status')}
</%def>
<%def name="heading()">\
${_('Status :: Audit log :: export status')}
</%def>

<%def name="submenu()">
<div class="navbar navbar-static-top">
    <div class="navbar-inner">
        <div class="nav-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="nav_item"><a href="${url('mailq-status')}">${_("Mail Queues")}</a></li>
				% if c.user.is_superadmin:
				<li class="nav_item"><a href="${url('status-audit-logs')}">${_("Audit Logs")}</a></li>
				% endif
            </ul>
        </div>
    </div>
</div>
</%def>

<%def name="localscripts()">\
</%def>
<%inherit file="../base.html"/>
