From 8358175f25c1d73002af5a3ae8f9a7d4711bf228 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 20 Dec 2011 17:51:44 +0000 Subject: [PATCH] libs/web: show input/forward hints in zonelist widget only if bnoth allowany and allowlocal are enabled --- libs/web/luasrc/view/cbi/firewall_zonelist.htm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 %> -- 2.11.0