From: Jo-Philipp Wich Date: Tue, 20 Dec 2011 17:51:44 +0000 (+0000) Subject: libs/web: show input/forward hints in zonelist widget only if bnoth allowany and... X-Git-Tag: 0.11.0~1206 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=8358175f25c1d73002af5a3ae8f9a7d4711bf228 libs/web: show input/forward hints in zonelist widget only if bnoth allowany and allowlocal are enabled --- diff --git a/libs/web/luasrc/view/cbi/firewall_zonelist.htm b/libs/web/luasrc/view/cbi/firewall_zonelist.htm index 19ff05944..53fa83624 100644 --- a/libs/web/luasrc/view/cbi/firewall_zonelist.htm +++ b/libs/web/luasrc/view/cbi/firewall_zonelist.htm @@ -29,7 +29,8 @@
  • />   style="background-color:<%=fwm.zone.get_color()%>; padding:0.5em"> - <%:Device%> (<%:input%>) + <%:Device%> + <% if self.allowany and self.allowlocal then %>(<%:input%>)<% end %>
  • <% end %> @@ -37,7 +38,8 @@
  • />   style="background-color:<%=fwm.zone.get_color()%>; padding:0.5em"> - <%:Any zone%> (<%:forward%>) + <%:Any zone%> + <% if self.allowany and self.allowlocal then %>(<%:forward%>)<% end %>
  • <% end %>