summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-11-28 03:33:16 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-11-28 03:33:16 +0000
commitb2774f0cc64c3aec4328fe5869f410164a94cb89 (patch)
tree754d3e7e7aab8b046e1d43b9d59eeec8d4bb6607 /applications/luci-statistics/luasrc/view
parent70a4a61664acc637cfa0dc28ea408577016bebb5 (diff)
applications/luci-statistics: display all instances on index pages, introduce is_index flag for models, add olsrd plugin menu
Diffstat (limited to 'applications/luci-statistics/luasrc/view')
-rw-r--r--applications/luci-statistics/luasrc/view/public_statistics/graph.htm2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-statistics/luasrc/view/public_statistics/graph.htm b/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
index c0fbfb4d0..dfe47b34e 100644
--- a/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
+++ b/applications/luci-statistics/luasrc/view/public_statistics/graph.htm
@@ -31,7 +31,9 @@ $Id$
<div style="text-align: center">
<% for i, img in ipairs(images) do %>
+ <% if is_index then %><a href="<%=pcdata(images[img])%>"><% end %>
<img src="<%=REQUEST_URI%>?img=<%=img%>" />
+ <% if is_index then %></a><% end %>
<br />
<% end %>
</div>