From dfdd557d5dbac9cce3b31ca2e8cdd6fb8b331cc7 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 14 Aug 2008 01:33:48 +0000 Subject: * luci/libs: only create if there is a title in tblsection template --- libs/cbi/luasrc/view/cbi/tblsection.htm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/cbi/luasrc/view/cbi/tblsection.htm b/libs/cbi/luasrc/view/cbi/tblsection.htm index 7bb31caa1..36304081b 100644 --- a/libs/cbi/luasrc/view/cbi/tblsection.htm +++ b/libs/cbi/luasrc/view/cbi/tblsection.htm @@ -22,7 +22,9 @@ end
- <%=self.title%> + <% if self.title and #self.title > 0 then -%> + <%=self.title%> + <%- end %>
<%=self.description%>
<%- local count = 0 -%> -- cgit v1.2.3