From 15f9148a2d75b5513915b9298786279d88265e7f Mon Sep 17 00:00:00 2001 From: amrita.vishnoi Date: Fri, 17 Mar 2017 16:23:31 +0530 Subject: [PATCH] renamed variable while reviewed in code --- 400-SOURCECODE/AIAHTML5.API/Web.config | 2 +- 400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js | 6 +++--- 400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/400-SOURCECODE/AIAHTML5.API/Web.config b/400-SOURCECODE/AIAHTML5.API/Web.config index 92603bf..21e9e01 100644 --- a/400-SOURCECODE/AIAHTML5.API/Web.config +++ b/400-SOURCECODE/AIAHTML5.API/Web.config @@ -39,7 +39,7 @@ - + diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 4e011b7..9b034e3 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -84,7 +84,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.userModules; $rootScope.errorMesaage; $rootScope.isVisibleLogin; - $rootScope.notAnAdmin; + $rootScope.haveRoleAdmin; var isfilloptionChecked = ""; var isOutlineOptionChecked = ""; $rootScope.initializeAIA = function () { @@ -140,9 +140,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic var userType = result.userType + ''; if (userType === UserTypeConstants.SUPER_ADMIN) - $rootScope.notAnAdmin = false; + $rootScope.haveRoleAdmin = false; else - $rootScope.notAnAdmin = true; + $rootScope.haveRoleAdmin = true; } } } diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html index 5aff6fd..f34a48f 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html @@ -49,7 +49,7 @@
  • About A.D.A.M.
  • -
  • Admin
  • +
  • Admin