From e1a01b0877004eacb8c5a3a70a919eaca98ddd8c Mon Sep 17 00:00:00 2001 From: yubiuser Date: Mon, 3 Feb 2025 19:49:31 +0100 Subject: [PATCH 1/2] Clearify that only enabled domains are counted Signed-off-by: yubiuser --- scripts/js/footer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/js/footer.js b/scripts/js/footer.js index c25d3b4e7..dab06747b 100644 --- a/scripts/js/footer.js +++ b/scripts/js/footer.js @@ -283,9 +283,9 @@ function updateFtlInfo() { "title", "Allowed: " + intl.format(database.domains.allowed) + - " exact domains, " + + " exact domains and " + intl.format(database.regex.allowed) + - " regex filters" + " regex filters are enabled" ); $("#num_denied") .text(intl.format(database.domains.denied + database.regex.denied)) @@ -293,9 +293,9 @@ function updateFtlInfo() { "title", "Denied: " + intl.format(database.domains.denied) + - " exact domains, " + + " exact domains and " + intl.format(database.regex.denied) + - " regex filters" + " regex filters are enabled" ); updateQueryFrequency(intl, ftl.query_frequency); $("#sysinfo-cpu-ftl").text("(" + ftl["%cpu"].toFixed(1) + "% used by FTL)"); From 1964d4b0d67c3d4b7cce4185b0f42477b94aeed8 Mon Sep 17 00:00:00 2001 From: yubiuser Date: Mon, 3 Feb 2025 19:51:53 +0100 Subject: [PATCH 2/2] More clarification Signed-off-by: yubiuser --- scripts/lua/sidebar.lp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/lua/sidebar.lp b/scripts/lua/sidebar.lp index b8f8efb2c..c76859b47 100644 --- a/scripts/lua/sidebar.lp +++ b/scripts/lua/sidebar.lp @@ -45,7 +45,7 @@ Groups - + @@ -61,8 +61,8 @@ Domains - - + + @@ -70,7 +70,7 @@ Lists - +