X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Ffull_valuefooter.htm;h=a01f6bd6c876dc1c61da29f07511fbf572a25835;hp=c609b6bc2ee4c7ee17b672323b0a8ad5480ff06f;hb=9a7c358cfb684970ae050681067e4f87a079cbc0;hpb=15886656187565d990230b681cdcd1221ffc3d8b diff --git a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm index c609b6bc2..a01f6bd6c 100644 --- a/libs/cbi/luasrc/view/cbi/full_valuefooter.htm +++ b/libs/cbi/luasrc/view/cbi/full_valuefooter.htm @@ -12,11 +12,42 @@ You may obtain a copy of the License at $Id$ -%> -
<%=self.description%> 
- - <% if self.tag_invalid[section] then %>
<%:cbi_invalid%>
<% end %> - - <% if #self.deps > 0 then %><% end %> \ No newline at end of file + + <% 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.tag_error[section] then -%> +
<%=self.tag_error[section]%>
+ <%- elseif self.tag_invalid[section] then -%> +
<%:cbi_invalid%>
+ <%- elseif self.tag_missing[section] then -%> +
<%:cbi_missing%>
+ <%- end %> + + + +<% if #self.deps > 0 then -%> + +<%- end %>