From: Steven Barth Date: Sat, 19 Jul 2008 15:49:24 +0000 (+0000) Subject: applications/luci-olsr: Remove work-arounds of a former template-bug X-Git-Tag: 0.8.0~611 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4aaa2afcc19e92955b650c9c2a2bce3779819cca;p=project%2Fluci.git applications/luci-olsr: Remove work-arounds of a former template-bug --- diff --git a/applications/luci-olsr/luasrc/view/status-olsr/index.htm b/applications/luci-olsr/luasrc/view/status-olsr/index.htm index 659d1a1a43..7d85e932b3 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/index.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/index.htm @@ -46,7 +46,7 @@ $Id$ <%=link["Local IP"]%> <%=link.LinkQuality%> <%=link.NLQ%> -<%=string.format("%%.3f", link.ETX)%> +<%=string.format("%.3f", link.ETX)%> <% end %> diff --git a/applications/luci-olsr/luasrc/view/status-olsr/routes.htm b/applications/luci-olsr/luasrc/view/status-olsr/routes.htm index 6f5b61edbe..253a771261 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/routes.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/routes.htm @@ -42,7 +42,7 @@ $Id$ <%=route.Gateway%> <%=route.Interface%> <%=route.Metric%> -<%=string.format("%%.3f", tonumber(route.ETX) or 0)%> +<%=string.format("%.3f", tonumber(route.ETX) or 0)%> <% end %> diff --git a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm index bc699b23c0..3b705f0884 100644 --- a/applications/luci-olsr/luasrc/view/status-olsr/topology.htm +++ b/applications/luci-olsr/luasrc/view/status-olsr/topology.htm @@ -33,7 +33,7 @@ $Id$ "><%=route["Last hop IP"]%> <%=route.LQ%> <%=route.ILQ%> -<%=string.format("%%.3f", tonumber(route.ETX) or 0)%> +<%=string.format("%.3f", tonumber(route.ETX) or 0)%> <% end %>