diff --git a/src/main/webapp/modules/application-details.html b/src/main/webapp/modules/application-details.html index 93b8825..17637ca 100644 --- a/src/main/webapp/modules/application-details.html +++ b/src/main/webapp/modules/application-details.html @@ -36,9 +36,12 @@
-

Numbers

-

- (n/a) +

Numbers

+

+ {{appNumber.phone_number}} +

+

+ None

diff --git a/src/main/webapp/resources/css/dashboard.css b/src/main/webapp/resources/css/dashboard.css index 30262c6..65c6fa2 100644 --- a/src/main/webapp/resources/css/dashboard.css +++ b/src/main/webapp/resources/css/dashboard.css @@ -1729,6 +1729,13 @@ div.input-group.f16 > .input-group-btn > .dropdown-toggle { color: #6d6e70; } +/* A small piece of text like a label that has symbolic value like RVD, External, None etc. */ +.rc-note { + color: #6d6e70; + font-weight: 300; + font-size: 19px; +} + /* experimental link underline feature */ .rc-link:hover { diff --git a/src/main/webapp/resources/js/controllers/applications.js b/src/main/webapp/resources/js/controllers/applications.js index 66d75cd..a7e18a9 100644 --- a/src/main/webapp/resources/js/controllers/applications.js +++ b/src/main/webapp/resources/js/controllers/applications.js @@ -13,6 +13,18 @@ angular.module('rcApp.controllers').controller('ApplicationDetailsCtrl', functio $location.path("/applications"); }); // TODO also retrieve IncomingNumbers list for specific application + // for now, we will extract the numbers from Application listing by filtering on the client side until proper + // REST method support is provided + // we populate $scope.app with 'numbers' property of filtered application element + var allApps = RCommApplications.query({accountSid: accountSid, includeNumbers: true}, function() { + if (Array.isArray(allApps) ) + for (var i=0; i < allApps.length; i++) { + if (applicationSid == allApps[i].sid) { + $scope.app.numbers = allApps[i].numbers + } + } + }); + $scope.confirmApplicationDelete = function(app) { confirmApplicationDelete(app, $dialog, $scope, Notifications, RCommApplications, RvdProjects, $location)