From 69d889b5c294597887296cbd2f7b84d40380292e Mon Sep 17 00:00:00 2001 From: Alexander Zobnin Date: Sun, 24 May 2015 23:53:13 +0300 Subject: [PATCH] Add templated variables to selection list in query editor. --- zabbix/partials/query.editor.html | 4 +- zabbix/queryCtrl.js | 69 ++++++++++++++++++++----------- 2 files changed, 47 insertions(+), 26 deletions(-) diff --git a/zabbix/partials/query.editor.html b/zabbix/partials/query.editor.html index a480c0a..ba6b5fb 100644 --- a/zabbix/partials/query.editor.html +++ b/zabbix/partials/query.editor.html @@ -106,8 +106,8 @@ class="tight-form-input input-medium" ng-change="selectItem()" ng-model="target.item" - bs-tooltip="target.expandedName.length > 30 ? target.expandedName : ''" - ng-options="item.expandedName for item in metric.itemList" > + bs-tooltip="target.name.length > 30 ? target.name : ''" + ng-options="item.name for item in metric.itemList" >