summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/htdocs/luci-static/resources/statistics
diff options
context:
space:
mode:
authorMartin Schitter <ms+git@mur.at>2021-11-06 12:52:51 +0100
committerMartin Schitter <ms+git@mur.at>2021-11-06 12:52:51 +0100
commitd91702cb22f36226da9aa6bfbe88e86d1b6ac1f6 (patch)
tree5aa533facccb2a756881aa9687252723b4018332 /applications/luci-app-statistics/htdocs/luci-static/resources/statistics
parentb0279f474e983e6e46e5b58df1332bf697d32a87 (diff)
luci-app-statistics: protect nested formating litteral
Signed-off-by: Martin Schitter <ms+git@mur.at>
Diffstat (limited to 'applications/luci-app-statistics/htdocs/luci-static/resources/statistics')
-rw-r--r--applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js
index 19e217ab95..cafe2ac70e 100644
--- a/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js
+++ b/applications/luci-app-statistics/htdocs/luci-static/resources/statistics/rrdtool/definitions/olsrd.js
@@ -89,7 +89,8 @@ return baseclass.extend({
opts[dsn2] = { color: "0000ff", title: "NLQ (%s)".format(host), flip: true };
g.push({
- title: "%H: Signal Quality (%s)".format(host), vlabel: "ETX",
+ title: "%%H: Signal Quality (%s)".format(host),
+ vlabel: "ETX",
number_format: "%5.2lf", detail: true,
data: {
types: [ "signal_quality" ],