From c20fa85b82aade5215aed399a94ee9dd8d7e2e35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 9 Jun 2015 09:45:24 +0200 Subject: [PATCH] Renamed variable value select to select dropdown --- public/app/directives/all.js | 2 +- .../directives/{variableValueSelect.js => selectDropDown.js} | 4 ++-- .../variableValueSelect.html => partials/selectDropdown.html} | 0 public/app/partials/submenu.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename public/app/directives/{variableValueSelect.js => selectDropDown.js} (98%) rename public/app/{features/dashboard/partials/variableValueSelect.html => partials/selectDropdown.html} (100%) diff --git a/public/app/directives/all.js b/public/app/directives/all.js index 21ca137b92b..0a9ac603c57 100644 --- a/public/app/directives/all.js +++ b/public/app/directives/all.js @@ -11,7 +11,7 @@ define([ './spectrumPicker', './tags', './bodyClass', - './variableValueSelect', + './selectDropDown', './metric.segment', './grafanaVersionCheck', './dropdown.typeahead', diff --git a/public/app/directives/variableValueSelect.js b/public/app/directives/selectDropDown.js similarity index 98% rename from public/app/directives/variableValueSelect.js rename to public/app/directives/selectDropDown.js index ae08ad55ee4..312b6cdd7d1 100644 --- a/public/app/directives/variableValueSelect.js +++ b/public/app/directives/selectDropDown.js @@ -225,11 +225,11 @@ function (angular, app, _) { angular .module('grafana.directives') - .directive('variableValueSelect', function($compile, $window, $timeout) { + .directive('selectDropdown', function($compile, $window, $timeout) { return { scope: { variable: "=", onUpdated: "&", getValuesForTag: "&" }, - templateUrl: 'app/features/dashboard/partials/variableValueSelect.html', + templateUrl: 'app/partials/selectDropdown.html', controller: 'SelectDropdownCtrl', controllerAs: 'vm', bindToController: true, diff --git a/public/app/features/dashboard/partials/variableValueSelect.html b/public/app/partials/selectDropdown.html similarity index 100% rename from public/app/features/dashboard/partials/variableValueSelect.html rename to public/app/partials/selectDropdown.html diff --git a/public/app/partials/submenu.html b/public/app/partials/submenu.html index 5f5d29e87ba..0246d4a7673 100644 --- a/public/app/partials/submenu.html +++ b/public/app/partials/submenu.html @@ -6,7 +6,7 @@ {{variable.label || variable.name}}: - +