summaryrefslogtreecommitdiffhomepage
path: root/modules/freifunk
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2011-02-03 15:17:50 +0000
committerManuel Munz <freifunk@somakoma.de>2011-02-03 15:17:50 +0000
commit8cd629e14820d30c3f4ecd981b35c58b99cf592d (patch)
treead94f3af73ed998caee70adcf8eb014d85c187b9 /modules/freifunk
parent617e93a623f6961c6e43515db2bf6dc3946facb1 (diff)
modules/freifunk: Fix problem with public_status html
Diffstat (limited to 'modules/freifunk')
-rw-r--r--modules/freifunk/luasrc/view/freifunk/public_status.htm4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk/public_status.htm b/modules/freifunk/luasrc/view/freifunk/public_status.htm
index e8a16257d..1698e9c23 100644
--- a/modules/freifunk/luasrc/view/freifunk/public_status.htm
+++ b/modules/freifunk/luasrc/view/freifunk/public_status.htm
@@ -278,11 +278,11 @@ local defroutev6 = sys.net.defaultroute6()
<h2><%:Default routes%></h2>
<div class="cbi-section">
<div class="cbi-section-node">
- <table class="cbi-section-table">
<% if not defroutev4 and not defroutev6 then %>
<%:No default routes known.%>
<%else%>
+ <table class="cbi-section-table">
<tr class="cbi-section-table-titles">
<th class="cbi-section-table-cell"><%:Network%></th>
<th class="cbi-section-table-cell"><%:Interface%></th>
@@ -312,8 +312,8 @@ local defroutev6 = sys.net.defaultroute6()
<% end %>
</table>
+<% end %>
</div>
</div>
</div>
-<% end %>
<%+footer%>