From 44147697b5a11094b6be69a7be2c7394eca80e0e Mon Sep 17 00:00:00 2001 From: pliablepixels Date: Thu, 17 Mar 2016 16:51:46 -0400 Subject: add profile name menu #133 Former-commit-id: e90058e728cd1688a4083e9ce3f5dd70ab9ea116 --- www/index.html | 4 ++++ www/js/app.js | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/index.html b/www/index.html index 20b68cd3..e0e16b1a 100644 --- a/www/index.html +++ b/www/index.html @@ -210,10 +210,14 @@ +  {{$root.getProfileName();}}  + + ZM Settings + diff --git a/www/js/app.js b/www/js/app.js index 298644c4..59d95815 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -727,7 +727,11 @@ angular.module('zmApp', [ }); - + $rootScope.getProfileName = function() + { + var ld = ZMDataModel.getLogin(); + return (ld.serverName || '(none)'); + }; //------------------------------------------------------------------ // doLogin() is the function that tries to login to ZM -- cgit v1.2.3