From 7bfe78fc522eecfcd0f6478af56680786d3198ab Mon Sep 17 00:00:00 2001 From: Ciro Scognamiglio Date: Tue, 17 Feb 2015 11:01:09 +0100 Subject: [PATCH] fixed icons display --- plugins/testbeds/static/js/testbeds.js | 4 ++++ plugins/testbeds/templates/testbeds.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/testbeds/static/js/testbeds.js b/plugins/testbeds/static/js/testbeds.js index 1050f548..ba40d00a 100644 --- a/plugins/testbeds/static/js/testbeds.js +++ b/plugins/testbeds/static/js/testbeds.js @@ -51,6 +51,10 @@ $scope._testbed_active[facility] = new Object(); $scope._testbed_active[facility][testbed] = value; }; + + $scope.tolower = function(string) { + return string.toLowerCase(string); + }; /* Click event */ diff --git a/plugins/testbeds/templates/testbeds.html b/plugins/testbeds/templates/testbeds.html index 6ee26f2a..755bc355 100644 --- a/plugins/testbeds/templates/testbeds.html +++ b/plugins/testbeds/templates/testbeds.html @@ -10,7 +10,7 @@ id="facility-filter_{[{ facility_name }]}" ng-click="select_facility(facility_name)" data-platform="{[{ facility_name }]}"> - {[{ facility_name }]} + {[{ facility_name }]}