summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-04-30 11:11:18 +0300
committerHannu Nyman <hannu.nyman@iki.fi>2017-04-30 11:11:18 +0300
commit71f669b3bd3cfeb38bed95939a27eb623812609e (patch)
tree284ed1d1d883858c1e4432c6ad994e61b8830856
parentae565bc39372a9ef2996c4caebbc714518529a53 (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> (cherry picked from commit 298f838d390a7ad032405ecdf34085bdde3fe2a4)
-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 ebc78badb..85a20d993 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>