X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Fcell_valuefooter.htm;h=c325e49cb40cb39197f828d35898bcedd9fcb0cf;hb=8fcd841aa9af96c8a4a4d3c1a555d2d1ed42332c;hp=7d1ac4ee68c35695bd31f7fecad5e853b3a34c52;hpb=97ce1ad8adf935e2aa0d1b13f07b16d2d950053f;p=project%2Fluci.git diff --git a/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm b/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm index 7d1ac4ee6..c325e49cb 100644 --- a/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm +++ b/libs/cbi/luasrc/view/cbi/cell_valuefooter.htm @@ -12,14 +12,8 @@ You may obtain a copy of the License at $Id$ -%> - - <% 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 -%> @@ -29,11 +23,12 @@ $Id$ <%- for k,v in pairs(d.deps) do -%> - <%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%>, + <%-=string.format('"cbid.%s.%s.%s"', self.config, section, k) .. ":" .. string.format("%q", v)-%> + <%-if next(d.deps, k) then-%>,<%-end-%> <%- end -%> - }); + }, "cbip-<%=self.config.."-"..section.."-"..self.option%>"); <%- end %> -<%- end %> +<%- end %> \ No newline at end of file