[omd-commits] OMD Git: omd: thruk: added patch

git version control git at mathias-kettner.de
Sun Apr 1 14:05:25 CEST 2012


Module:   omd
Branch:   master
Commit:   7315b713dd1459438866bfe140a71816dde6ba77
URL:      http://omdistro.org/projects/omd/repository/revisions/7315b713dd1459438866bfe140a71816dde6ba77

Author:   Sven Nierlein <sven at nierlein.de>
Date:     Sun Apr  1 13:43:52 2012 +0200
Commiter: Sven Nierlein <sven at nierlein.de>
Date:     Sun Apr  1 13:45:00 2012 +0200

thruk: added patch

---

 packages/thruk/patches/0001-select-all-hosts.patch |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/packages/thruk/patches/0001-select-all-hosts.patch b/packages/thruk/patches/0001-select-all-hosts.patch
new file mode 100644
index 0000000..f8b8a78
--- /dev/null
+++ b/packages/thruk/patches/0001-select-all-hosts.patch
@@ -0,0 +1,11 @@
+--- a/templates/status_combined.tt
++++ b/templates/status_combined.tt
+@@ -99,7 +99,7 @@
+ [% END %]
+ [% UNLESS authorized_for_read_only %]
+ <div class="hint">
+-    <a href="#" onclick="pagetype='servicedetail';selectAllServices(true,'svc_');">select all</a> (<a href="#" onclick="pagetype='hostdetail';selectAllHosts(true,'svc_');">hosts</a>)
++    <a href="#" onclick="pagetype='servicedetail';selectAllServices(true,'svc_');">select all</a> (<a href="#" onclick="pagetype='servicedetail';selectAllHosts(true,'svc_');">hosts</a>)
+   - <a href="#" onclick="pagetype='servicedetail';selectAllHosts(false,'svc_');selectAllServices(false,'svc_');">unselect all</a>
+   - <a href="#" onclick="pagetype='servicedetail';selectAllHosts(false,'svc_');selectAllServices(false,'svc_');selectServicesByClass(Array('.statusCRITICAL','.statusWARNING','.statusUNKNOWN'));">all problems</a>
+   - <a href="#" onclick="pagetype='servicedetail';selectAllHosts(false,'svc_');selectAllServices(false,'svc_');selectServicesByClass(Array('.has_downtime'));">all with downtime</a>



More information about the omd-commits mailing list