X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Ffull_valuefooter.htm;h=a9596441b5e4c5f7b493c19a2c9ed35c6d7d8573;hb=b618361bf1c7ea160f3e0ef18aa8f409f7a21eff;hp=2db6bbdb1a15c7f5bc2d44037e6f367600f01e65;hpb=41cb1705b7ccdb81cf1e54d73ea44070ab36f900;p=project%2Fluci.git diff --git a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm index 2db6bbdb1..a9596441b 100644 --- a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm +++ b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm @@ -12,11 +12,34 @@ You may obtain a copy of the License at $Id$ -%> - <% if #self.description > 0 then %>
<%=self.description%>
<% end %> - - <% if self.tag_invalid[section] then %>
<%:cbi_invalid%>
<% end %> - - <% if #self.deps > 0 then %><% end %> + + <% if #self.description > 0 then -%> + <% if not luci.util.instanceof( self, luci.cbi.Flag ) then -%> +
+ <%- end %> +
+ <%:help%> + <%=self.description%> +
+ <%- end %> + <%- if self.title and #self.title > 0 then -%> + + <%- end -%> + + +<% if #self.deps > 0 then -%> + +<%- end %> \ No newline at end of file