luci-app-statistics: remove non-functional links from graphs
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 30 Apr 2017 08:11:18 +0000 (11:11 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 30 Apr 2017 08:11:18 +0000 (11:11 +0300)
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)

applications/luci-app-statistics/luasrc/view/public_statistics/graph.htm

index ebc78badb0155d14f445de31bd4099b7aea07075..85a20d993a87a9f92efee993a2a71cb0debc7787 100644 (file)
@@ -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>