From 6802b1f0e14d2ed4a2896eb33d1b3d7e980d06e7 Mon Sep 17 00:00:00 2001 From: Tomas Cejka <cejkat@cesnet.cz> Date: Wed, 7 Feb 2018 14:14:27 +0100 Subject: [PATCH] route: show "Download" link for raw json data with historical SNMP statistics --- templates/flowspy/route_details.html | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/flowspy/route_details.html b/templates/flowspy/route_details.html index eb09e1b2..e3cb2999 100644 --- a/templates/flowspy/route_details.html +++ b/templates/flowspy/route_details.html @@ -78,6 +78,7 @@ <h3>Number of bytes (relative)</h3> <div><canvas id="traffic-plot-bytes-rel" width=200 height=200></canvas></div> </div> + <div><a href="{% url routestats route.name %}">Download raw data in JSON</a></div> </div> {% comment %}check if graphs plugin in installed apps{% endcomment %} {% if 'graphs' in INSTALLED_APPS %} -- GitLab