% if c.finished: % if c.results and 'rows' in c.results: % for result in c.results['rows']: % endfor % else: % endif % else: % endif
${_('Domain name')} ${_('Status')} ${_('Errors')}
${h.link_to(result['name'], url('domain-detail', domainid=result['id'])) if result['id'] else result['name']} % if result['imported']: ${h.portable_img('imgs/passed.png', alt="OK")} % else: ${h.portable_img('imgs/failed.png', alt="FAILED")} % endif ${h.wrap_paragraphs(result['error'], 50) if result['error'] else 'None'}
${_('The CSV import failed: %s') % c.results['global_error']}
<% count = session['dimport-counter'] if count > 10: count = 10 percent = h.percent_of(count, 10) %> ${h.portable_img('imgs/ajax-pager.gif', alt="")} ${_('The request is being processed. %d%%' % percent)}
<%def name="headers()">\ % if not c.finished: % endif <%def name="title()">\ ${_('Organizations :: Domain import status')} <%def name="heading()">\ ${_('Organizations :: Domain import status')} <%def name="localscripts()">\ <%inherit file="/base.html"/>