luci-mod-status: add missing cbi-map-descr for realtime graph bandwith
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 22 Apr 2024 14:06:20 +0000 (16:06 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 23 Apr 2024 12:13:32 +0000 (14:13 +0200)
Redmine-patch-id: 8463
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js

index 0fbe49c12cd7d87cbd19516f1a6f906e95c4269f..4bdc9e2675b69d925283fb5934dba72840b607a6 100644 (file)
@@ -309,7 +309,11 @@ return view.extend({
 
                this.pollData();
 
-               return v;
+               return  E([], [
+                       E('h2', _('Bandwith')),
+                       E('div', {'class': 'cbi-map-descr'}, _('This page displays the bandwidth used for all available physical interfaces.')),
+                       v
+               ]);
        },
 
        handleSaveApply: null,