From: Jo-Philipp Wich Date: Thu, 14 Aug 2008 01:33:48 +0000 (+0000) Subject: * luci/libs: only create if there is a title in tblsection template X-Git-Tag: 0.8.0~443 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dfdd557d5dbac9cce3b31ca2e8cdd6fb8b331cc7;p=oweals%2Fluci.git * luci/libs: only create if there is a title in tblsection template --- 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 -%>