summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc/view/public_statistics
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-02-13 19:05:35 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2017-02-13 19:10:51 +0200
commit298f838d390a7ad032405ecdf34085bdde3fe2a4 (patch)
treef2365a75dd5b97b4d8823ee7c06e72a0aa653447 /applications/luci-app-statistics/luasrc/view/public_statistics
parentafc7321c6a09c008f271794e0508fe5893ead991 (diff)
luci-app-statistics: remove non-functional links from graphs
The statistics graphs on the pages with multiple data sources have contained links to the data sources, but those links have not worked. Remove the links as they are unnecessary. This commit fixes #1006 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-statistics/luasrc/view/public_statistics')
-rw-r--r--applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm2
1 files changed, 0 insertions, 2 deletions
diff --git a/applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm b/applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm
index ebc78badb0..85a20d993a 100644
--- a/applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm
+++ b/applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm
@@ -29,9 +29,7 @@
<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%>&#38;host=<%=current_host%>" />
- <% if is_index then %></a><% end %>
<br />
<% end %>
</div>