diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 0ff499f..2b8d31a 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -148,8 +148,22 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A } + $scope.helpTopicLink=function() + { + var dd = $("#helplinkId").html(); + var absurl = $location.absUrl(); + var hTopicUrl = absurl + "content/help/index.html"; + var aboutADAM = absurl + "content/help/about/Adam_Credits_AIA5.html"; + + $("#helplinkId").append("
  • Help Topics
  • "); + $("#helplinkId").append("
  • Customer Support
  • "); + $("#helplinkId").append(""); + $("#helplinkId").append("
  • About A.D.A.M.
  • "); + + } $rootScope.initializeAIA = function () { + if (params != null && params != undefined && params != "") { $scope.ValidateClientSiteUrl(); @@ -206,6 +220,13 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A $rootScope.getConfigurationValues(); } + $timeout(function () { + + $scope.helpTopicLink(); + }, 2000); + + + } $rootScope.getConfigurationValues = function () { ConfigurationService.getCofigValue() @@ -340,6 +361,7 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A } else { + //LicenseId would be zero for admin that is why we set the haveRoleAdmin = true if (result.LicenseId == 0 && result.IsActive) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html index 5c961ef..91985f1 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html @@ -43,11 +43,11 @@