applications/luci-olsr: Remove work-arounds of a former template-bug
authorSteven Barth <steven@midlink.org>
Sat, 19 Jul 2008 15:49:24 +0000 (15:49 +0000)
committerSteven Barth <steven@midlink.org>
Sat, 19 Jul 2008 15:49:24 +0000 (15:49 +0000)
applications/luci-olsr/luasrc/view/status-olsr/index.htm
applications/luci-olsr/luasrc/view/status-olsr/routes.htm
applications/luci-olsr/luasrc/view/status-olsr/topology.htm

index 659d1a1..7d85e93 100644 (file)
@@ -46,7 +46,7 @@ $Id$
 <td><%=link["Local IP"]%></td>
 <td><%=link.LinkQuality%></td>
 <td><%=link.NLQ%></td>
-<td style="background-color:<%=color%>"><%=string.format("%%.3f", link.ETX)%></td>
+<td style="background-color:<%=color%>"><%=string.format("%.3f", link.ETX)%></td>
 </tr>
 <% end %>
 </table>
index 6f5b61e..253a771 100644 (file)
@@ -42,7 +42,7 @@ $Id$
 <td><%=route.Gateway%></td>
 <td><%=route.Interface%></td>
 <td><%=route.Metric%></td>
-<td style="background-color:<%=color%>"><%=string.format("%%.3f", tonumber(route.ETX) or 0)%></td>
+<td style="background-color:<%=color%>"><%=string.format("%.3f", tonumber(route.ETX) or 0)%></td>
 </tr>
 <% end %>
 </table>
index bc699b2..3b705f0 100644 (file)
@@ -33,7 +33,7 @@ $Id$
 <td><a href="http://<%=route["Last hop IP"]%>"><%=route["Last hop IP"]%></a></td>
 <td><%=route.LQ%></td>
 <td><%=route.ILQ%></td>
-<td><%=string.format("%%.3f", tonumber(route.ETX) or 0)%></td>
+<td><%=string.format("%.3f", tonumber(route.ETX) or 0)%></td>
 </tr>
 <% end %>
 </table>