From: Patrick Grimm Date: Fri, 3 Feb 2012 23:52:55 +0000 (+0000) Subject: luci-splash: create the tbody outside from tr loop X-Git-Tag: 0.11.0~1125 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=f4924111431e5f5b8808bc96000a55d999bc9dee luci-splash: create the tbody outside from tr loop --- diff --git a/applications/luci-splash/luasrc/view/admin_status/splash.htm b/applications/luci-splash/luasrc/view/admin_status/splash.htm index f4abc228d..a2a36050d 100644 --- a/applications/luci-splash/luasrc/view/admin_status/splash.htm +++ b/applications/luci-splash/luasrc/view/admin_status/splash.htm @@ -233,6 +233,7 @@ end <%:Policy%> + <%- local count = 0 @@ -248,7 +249,6 @@ end if c.ip then count = count + 1 -%> - <%=c.hostname or "" .. translate("unknown") .. ""%> <%=c.ip or "" .. translate("unknown") .. ""%>