summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/view/public_statistics
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-statistics/luasrc/view/public_statistics')
-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 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>