diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-11-28 03:33:16 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-11-28 03:33:16 +0000 |
commit | b2774f0cc64c3aec4328fe5869f410164a94cb89 (patch) | |
tree | 754d3e7e7aab8b046e1d43b9d59eeec8d4bb6607 /applications/luci-statistics/luasrc/view | |
parent | 70a4a61664acc637cfa0dc28ea408577016bebb5 (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.htm | 2 |
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 c0fbfb4d00..dfe47b34e0 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> |