summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-10-10 00:17:00 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2018-10-10 00:17:00 +0200
commit4a8277df3c374dbd32bb8c1e9b7e8137722a471d (patch)
tree8318201de8019331c7ecd3bf56ad259ae5560b88
parent701f6b0819a902e8c45e19c95aad7121f9c50145 (diff)
luci-base: improve firewall zone forwarding listfirewall-forwards-empty
Remove the zone forward option displayed when the forwarding list is empty. It seemed to imply the option was used for forwardings to all destination zones, when it in reality is used only between the zone's interfaces. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
-rw-r--r--modules/luci-base/luasrc/view/cbi/firewall_zoneforwards.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/firewall_zoneforwards.htm b/modules/luci-base/luasrc/view/cbi/firewall_zoneforwards.htm
index b38e4b13d..90b65c183 100644
--- a/modules/luci-base/luasrc/view/cbi/firewall_zoneforwards.htm
+++ b/modules/luci-base/luasrc/view/cbi/firewall_zoneforwards.htm
@@ -63,7 +63,7 @@
if empty then
%>
<label class="zonebadge zonebadge-empty">
- <strong><%=zone:forward():upper()%></strong>
+ <strong><%=translate("empty"):upper()%></strong>
</label>
<% end %>
</div>