Procházet zdrojové kódy

show allow/block instead of allow/total. lower logging.

tags/v1.0.2
Jonathan Cobb před 4 roky
rodič
revize
8342a997ad
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      bubble-server/src/main/resources/bubble/rule/bblock/BubbleBlockRuleDriver_stats.js.hbs

+ 1
- 1
bubble-server/src/main/resources/bubble/rule/bblock/BubbleBlockRuleDriver_stats.js.hbs Zobrazit soubor

@@ -92,7 +92,7 @@ function {{JS_PREFIX}}_toggle_app_details(ev) {
const summaryLabel = {{PAGE_PREFIX}}_msg_or_default({{JS_PREFIX}}_messages, 'web_signalNoiseRatio', 'signal/noise');
const fullTotal = totalAllowed + totalBlocks;
const ratio = 100.0 * (totalAllowed / fullTotal);
extraSummary.appendChild(document.createTextNode(summaryLabel + ': ' + totalAllowed + '/' + fullTotal + ' ≈ ' + ratio.toLocaleString('{{ACCOUNT_LOCALE_HYPHEN}}', { maximumSignificantDigits: 3 }) + '%'));
extraSummary.appendChild(document.createTextNode(summaryLabel + ': ' + totalAllowed + '/' + totalBlocks + ' ≈ ' + ratio.toLocaleString('{{ACCOUNT_LOCALE_HYPHEN}}', { maximumSignificantDigits: 3 }) + '%'));
detailsDiv.appendChild(extraSummary);
detailsDiv.appendChild(document.createElement('hr'));
}


Načítá se…
Zrušit
Uložit