[icinga-checkins] icinga.org: icinga-web/master: * micro-fix (not relevant but fixes #2278)

git at icinga.org git at icinga.org
Tue Feb 21 16:23:32 CET 2012


Module: icinga-web
Branch: master
Commit: 4bd1d4a488b003ba3cc7f4472ec0021c00b1d5d3
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=4bd1d4a488b003ba3cc7f4472ec0021c00b1d5d3

Author: Marius Hein <marius.hein at netways.de>
Date:   Tue Feb 21 16:22:28 2012 +0100

* micro-fix (not relevant but fixes #2278)

---

 .../Cronks/lib/js/Cronks/MonitorPerformance.js     |    2 +-
 .../Provider/SystemPerformanceModel.class.php      |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/app/modules/Cronks/lib/js/Cronks/MonitorPerformance.js b/app/modules/Cronks/lib/js/Cronks/MonitorPerformance.js
index 6b809cb..6b948cb 100644
--- a/app/modules/Cronks/lib/js/Cronks/MonitorPerformance.js
+++ b/app/modules/Cronks/lib/js/Cronks/MonitorPerformance.js
@@ -111,7 +111,7 @@ Ext.ns('Icinga.Cronks.System.MonitorPerformance');
                 store: this.store,
                 tpl: this.viewTemplate,
                 itemSelector:'div.icinga-monitor-performance-container',
-                emptyText: 'Error'
+                emptyText: _('No performance data available')
             });
             
             this.add(this.view);
diff --git a/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php b/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php
index ad4c987..6790f75 100644
--- a/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php
+++ b/app/modules/Cronks/models/Provider/SystemPerformanceModel.class.php
@@ -107,6 +107,4 @@ class Cronks_Provider_SystemPerformanceModel extends CronksBaseModel {
         $json->setSuccess(true);
         return $json;
     }
-}
-
-?>
\ No newline at end of file
+}
\ No newline at end of file





More information about the icinga-checkins mailing list