mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Clearify that only enabled domains are counted
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -283,9 +283,9 @@ function updateFtlInfo() {
|
|||||||
"title",
|
"title",
|
||||||
"Allowed: " +
|
"Allowed: " +
|
||||||
intl.format(database.domains.allowed) +
|
intl.format(database.domains.allowed) +
|
||||||
" exact domains, " +
|
" exact domains and " +
|
||||||
intl.format(database.regex.allowed) +
|
intl.format(database.regex.allowed) +
|
||||||
" regex filters"
|
" regex filters are enabled"
|
||||||
);
|
);
|
||||||
$("#num_denied")
|
$("#num_denied")
|
||||||
.text(intl.format(database.domains.denied + database.regex.denied))
|
.text(intl.format(database.domains.denied + database.regex.denied))
|
||||||
@@ -293,9 +293,9 @@ function updateFtlInfo() {
|
|||||||
"title",
|
"title",
|
||||||
"Denied: " +
|
"Denied: " +
|
||||||
intl.format(database.domains.denied) +
|
intl.format(database.domains.denied) +
|
||||||
" exact domains, " +
|
" exact domains and " +
|
||||||
intl.format(database.regex.denied) +
|
intl.format(database.regex.denied) +
|
||||||
" regex filters"
|
" regex filters are enabled"
|
||||||
);
|
);
|
||||||
updateQueryFrequency(intl, ftl.query_frequency);
|
updateQueryFrequency(intl, ftl.query_frequency);
|
||||||
$("#sysinfo-cpu-ftl").text("(" + ftl["%cpu"].toFixed(1) + "% used by FTL)");
|
$("#sysinfo-cpu-ftl").text("(" + ftl["%cpu"].toFixed(1) + "% used by FTL)");
|
||||||
|
|||||||
Reference in New Issue
Block a user