projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a24d340
)
libs/web: cbi: support description attribute in nullsection instances
author
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 23 Oct 2011 04:21:14 +0000
(
04:21
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sun, 23 Oct 2011 04:21:14 +0000
(
04:21
+0000)
libs/web/luasrc/view/cbi/nullsection.htm
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/view/cbi/nullsection.htm
b/libs/web/luasrc/view/cbi/nullsection.htm
index 9a91432ad832c2aa25b538c24c355f042603c304..bd4895095864270647005e6a0c601fc2b74c1efb 100644
(file)
--- 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 -%>
<legend><%=self.title%></legend>
<%- end %>
+ <% if self.description and #self.description > 0 then -%>
+ <div class="cbi-section-descr"><%=self.description%></div>
+ <%- end %>
<div class="cbi-section-node" id="cbi-<%=self.config%>-<%=tostring(self):sub(8)%>">
<div>
<% self:render_children(1, scope or {}) %>