ソースを参照

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

tags/v1.0.2
Jonathan Cobb 4年前
コミット
8342a997ad
1個のファイルの変更1行の追加1行の削除
  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 ファイルの表示

@@ -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'));
}


読み込み中…
キャンセル
保存