From d2db53fcfb636a578883baee877a3f005dd697ee Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Sat, 25 Jul 2015 17:23:35 +0300 Subject: [PATCH] iss #19 - Friendly names for SLA properties. --- zabbix/partials/query.editor.html | 2 +- zabbix/queryCtrl.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/zabbix/partials/query.editor.html b/zabbix/partials/query.editor.html index 86dbcc2..6ad59f3 100644 --- a/zabbix/partials/query.editor.html +++ b/zabbix/partials/query.editor.html @@ -68,7 +68,7 @@ diff --git a/zabbix/queryCtrl.js b/zabbix/queryCtrl.js index 4fc469e..69839b3 100644 --- a/zabbix/queryCtrl.js +++ b/zabbix/queryCtrl.js @@ -15,10 +15,10 @@ function (angular, _) { $scope.targetLetters = targetLetters; if ($scope.target.ITService) { $scope.slaPropertyList = [ - "sla", - "okTime", - "problemTime", - "downtimeTime" + {name: "SLA", property: "sla"}, + {name: "OK time", property: "okTime"}, + {name: "Problem time", property: "problemTime"}, + {name: "Down time", property: "downtimeTime"} ]; $scope.itserviceList = [{name: "test"}]; $scope.updateITServiceList();