From 8cd46b595a1a1142b2f70fe7c6d1eb1512656235 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 23 Oct 2011 04:21:14 +0000 Subject: [PATCH] libs/web: cbi: support description attribute in nullsection instances --- libs/web/luasrc/view/cbi/nullsection.htm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/web/luasrc/view/cbi/nullsection.htm b/libs/web/luasrc/view/cbi/nullsection.htm index 9a91432ad..bd4895095 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 {}) %> -- 2.11.0