luci-mod-admin-full: handle infinite lease times in output
authorJo-Philipp Wich <jo@mein.io>
Fri, 9 Dec 2016 12:07:42 +0000 (13:07 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 9 Dec 2016 12:07:42 +0000 (13:07 +0100)
commit70bad4da4fcd44715445c36d8c4b9f8a00d92b4d
treed433d3e10f4f61f66ae2fd8e19d7224477245ae5
parent8e9e92a630a9e18eef642c02b8a7fa476440ab37
luci-mod-admin-full: handle infinite lease times in output

When a lease objects expires property is set to "false", its expiry time is
unlimited, so adjust the templates to properly display that state.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/view/admin_network/lease_status.htm
modules/luci-mod-admin-full/luasrc/view/admin_status/index.htm