${s.searchbox(url('domains-search'), [('o', c.org),]) if c.org else s.searchbox(url('domains-search'))}
${h.checkbox('checkall')} | ${_('Domain Name')} | ${_('Organization')} | ${_('Accounts')} | ${_('Status')} | ${_('Actions')} | ||
---|---|---|---|---|---|---|---|
${_('No domains found matching: %s') % c.q} | |||||||
${h.checkbox('domainid', value=domain.id, class_='selector')} | ${h.link_to(domain.name, url(controller='domains', action='detail', domainid=domain.id))} | <% orglinks = [] for index, org in enumerate(domain.organizations): link = h.link_to(org.name, url('org-detail', orgid=org.id)) if c.user.is_superadmin else org.name orglinks.append(link) orglinks = ', '.join(orglinks) %> ${orglinks|n} | ${h.link_to(h.literal(''), url('accounts-bydom', domid=domain.id))} | ${functions.item_status(domain.status)} | ${h.link_to(h.literal(''), url('domain-settings', domainid=domain.id))} | ${h.link_to(h.literal(''), url(controller='domains', action='edit', domainid=domain.id))} | ${h.link_to(h.literal(''), url(controller='domains', action='delete', domainid=domain.id))} |
${_('Showing results %(i)d to %(l)d of %(count)d') % dict(i=c.page.first_item, l=c.page.last_item, count=c.page.item_count)}.
${_('No items found')}
% endif % if c.page.next_page != c.page.first_page and c.page.page != c.page.first_page: ${h.link_to(h.pager_img('first'), url.current(q=c.q, p=c.page.first_page, **kwd))} ... % endif % if c.page.previous_page: ${h.link_to(h.pager_img('previous'), url.current(q=c.q, p=c.page.previous_page, **kwd))} % endif % for linkpage in page_nums: % if linkpage == c.page.page: ${linkpage} % else: ${h.link_to(h.literal(linkpage), url.current(q=c.q, p=linkpage, **kwd))} % endif % endfor % if c.page.next_page: ${h.link_to(h.pager_img('next'), url.current(q=c.q, p=c.page.next_page, **kwd))} % endif % if c.page.next_page != c.page.page_count and c.page.page != c.page.page_count and c.page.page_count != 0: ... ${h.link_to(h.pager_img('last'), url.current(q=c.q, p=c.page.page_count, **kwd))} % endif % if c.page.page_count != 0: