From 4507ecbe0749d84fe9900667e3511c7a6ca852b0 Mon Sep 17 00:00:00 2001 From: Changaco Date: Sat, 28 Oct 2023 21:27:29 +0200 Subject: [PATCH] replace an unnecessary form with links --- www/admin/email-domains.spt | 61 ++++++++++++++++++------------------- 1 file changed, 30 insertions(+), 31 deletions(-) diff --git a/www/admin/email-domains.spt b/www/admin/email-domains.spt index 28647c673..b0643629b 100644 --- a/www/admin/email-domains.spt +++ b/www/admin/email-domains.spt @@ -346,37 +346,36 @@ title = "Email Domains"

% if email_domains -
- - - - - - - - - - - - - % for d in email_domains - - - - % set percent_verified = d.n_verified / d.n_addresses if d.n_addresses else 1 - - % set percent_blacklisted = d.n_blacklisted_addresses / d.n_addresses if d.n_addresses else 0 - - % set percent_fake = d.n_fake_accounts / (d.n_accounts or 1) - - - - - % endfor - -
DomainConnected addressesVerified addressesBlocked addressesFake accountsBanned?First appearance
{{ d.n_addresses }}{{ d.n_verified }}{{ d.n_blacklisted_addresses }}{{ locale.format_percent(percent_fake) if d.n_accounts else "-" }}{{ 'Yes (' + d.ban_reason + ')' if d.ban_reason else 'No' }}{{ locale.format_timedelta(to_age(d.first_appearance)) }}
-
+ + + + + + + + + + + + + + % for d in email_domains + + + + % set percent_verified = d.n_verified / d.n_addresses if d.n_addresses else 1 + + % set percent_blacklisted = d.n_blacklisted_addresses / d.n_addresses if d.n_addresses else 0 + + % set percent_fake = d.n_fake_accounts / (d.n_accounts or 1) + + + + + % endfor + +
DomainConnected addressesVerified addressesBlocked addressesFake accountsBanned?First appearance
{{ d.domain }}{{ d.n_addresses }}{{ d.n_verified }}{{ d.n_blacklisted_addresses }}{{ locale.format_percent(percent_fake) if d.n_accounts else "-" }}{{ 'Yes (' + d.ban_reason + ')' if d.ban_reason else 'No' }}{{ locale.format_timedelta(to_age(d.first_appearance)) }}
% if len(email_domains) == PAGE_SIZE Next page → % endif