Module: check_mk
Branch: master
Commit: 8e52546476a3b70a1c674bdb0cb96ed011020e91
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8e52546476a3b7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Nov 28 09:04:51 2016 +0100
Added button id to export pdf button
---
web/htdocs/views.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/views.py b/web/htdocs/views.py
index e8f1872..138257e 100644
--- a/web/htdocs/views.py
+++ b/web/htdocs/views.py
@@ -2106,7 +2106,8 @@ def show_context_links(thisview, show_filters,
# Button for creating an instant report (if reporting is available)
if config.reporting_available() and
config.user.may("general.reporting"):
- html.context_button(_("Export as PDF"), html.makeuri([],
filename="report_instant.py"), "report")
+ html.context_button(_("Export as PDF"), html.makeuri([],
filename="report_instant.py"),
+ "report", id="context_pdf_export")
# Buttons to other views, dashboards, etc.
links = visuals.collect_context_links(thisview)