diff --git a/static/js/controllers/appcontroller.js b/static/js/controllers/appcontroller.js index 6561a82d..b8fe85eb 100644 --- a/static/js/controllers/appcontroller.js +++ b/static/js/controllers/appcontroller.js @@ -33,6 +33,7 @@ define(["jquery", "angular", "underscore"], function($, angular, _) { appData.set($scope); // User related scope data. + $scope.authorizing = false; $scope.roomsHistory = []; $scope.defaults = { displayName: null, @@ -110,6 +111,10 @@ define(["jquery", "angular", "underscore"], function($, angular, _) { } }); + appData.e.on("authorizing", function(event, authorizing) { + $scope.authorizing = !!authorizing; + }); + $scope.reset(); // Call once for bootstrap. }]; diff --git a/static/partials/statusmessage.html b/static/partials/statusmessage.html index e60cb482..2660143d 100644 --- a/static/partials/statusmessage.html +++ b/static/partials/statusmessage.html @@ -1,6 +1,6 @@ {{_("Initializing")}} - {{id|displayName}} + {{id|displayName}} {{_("Calling")}} {{dialing|displayName}} {{_("Hangup")}} {{_("In call with")}} {{peer|displayName}} {{_("Hangup")}} {{_("Conference with")}} {{peer|displayName}}{{conferencePeers|displayConference}} {{_("Hangup")}}