From: Jo-Philipp Wich Date: Sun, 23 Oct 2011 04:21:14 +0000 (+0000) Subject: libs/web: cbi: support description attribute in nullsection instances X-Git-Tag: 0.11.0~1496 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8cd46b595a1a1142b2f70fe7c6d1eb1512656235;p=project%2Fluci.git libs/web: cbi: support description attribute in nullsection instances --- diff --git a/libs/web/luasrc/view/cbi/nullsection.htm b/libs/web/luasrc/view/cbi/nullsection.htm index 9a91432ad8..bd48950958 100644 --- a/libs/web/luasrc/view/cbi/nullsection.htm +++ b/libs/web/luasrc/view/cbi/nullsection.htm @@ -2,6 +2,9 @@ <% if self.title and #self.title > 0 then -%> <%=self.title%> <%- end %> + <% if self.description and #self.description > 0 then -%> +
<%=self.description%>
+ <%- end %>
<% self:render_children(1, scope or {}) %>