luci-app-statistics: support graph menu entries without corresponding labels
authorJo-Philipp Wich <jo@mein.io>
Sat, 10 Jun 2017 18:26:10 +0000 (20:26 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 10 Jun 2017 18:32:47 +0000 (20:32 +0200)
commitb1d307d3f53e6545358450850a9dedad5d3a6774
tree979d27efe536b8e998f5ae3fb6c18825c437808a
parentb1afc9ac3b0005e8f6e15b446a7d4f7920548433
luci-app-statistics: support graph menu entries without corresponding labels

Properly render menu items for plugin instances that do not have a
corresponding label defined.

This allows for registering new graph pages solely by dropping files
into /usr/lib/lua/luci/statistics/rrdtool/definitions/

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua