luci-mod-status: set default value if no route records found
authorFlorian Eckert <[email protected]>
Mon, 9 Aug 2021 13:32:16 +0000 (15:32 +0200)
committerFlorian Eckert <[email protected]>
Fri, 3 Sep 2021 11:17:24 +0000 (13:17 +0200)
commit4e29821a4ef2c599176368528217de53b154b4a1
tree3ecaa0f9934b65c1b1d17de7a6f88b3c5d1335f9
parent9b7cf08c0e585b08f2c4daf546c9ad839b084bf3
luci-mod-status: set default value if no route records found

If no entries for the status tables are available. Then add the
following default entry

'No entries available'

This looks better, because not only the table header is displayed.

Signed-off-by: Florian Eckert <[email protected]>
modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js