Commit bf6f923e1ad3a4d73bf3f07df8cbb0ff4c9ae7ce

Authored by Birendra Kumar
1 parent 4dd78162

helplink updated

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -148,8 +148,22 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A @@ -148,8 +148,22 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
148 148
149 } 149 }
150 150
  151 + $scope.helpTopicLink=function()
  152 + {
  153 + var dd = $("#helplinkId").html();
  154 + var absurl = $location.absUrl();
  155 + var hTopicUrl = absurl + "content/help/index.html";
  156 + var aboutADAM = absurl + "content/help/about/Adam_Credits_AIA5.html";
  157 +
  158 + $("#helplinkId").append("<li><a target='_blank' href='" + hTopicUrl + "'> Help Topics </li>");
  159 + $("#helplinkId").append("<li><a target='_blank' href='http://adameducation.com/Contact'> Customer Support </li>");
  160 + $("#helplinkId").append("<li role='separator' class='divider'></li>");
  161 + $("#helplinkId").append("<li><a target='_blank' href='" + aboutADAM + "'> About A.D.A.M. </li>");
  162 +
  163 + }
151 164
152 $rootScope.initializeAIA = function () { 165 $rootScope.initializeAIA = function () {
  166 +
153 if (params != null && params != undefined && params != "") { 167 if (params != null && params != undefined && params != "") {
154 168
155 $scope.ValidateClientSiteUrl(); 169 $scope.ValidateClientSiteUrl();
@@ -206,6 +220,13 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A @@ -206,6 +220,13 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
206 220
207 $rootScope.getConfigurationValues(); 221 $rootScope.getConfigurationValues();
208 } 222 }
  223 + $timeout(function () {
  224 +
  225 + $scope.helpTopicLink();
  226 + }, 2000);
  227 +
  228 +
  229 +
209 } 230 }
210 $rootScope.getConfigurationValues = function () { 231 $rootScope.getConfigurationValues = function () {
211 ConfigurationService.getCofigValue() 232 ConfigurationService.getCofigValue()
@@ -340,6 +361,7 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A @@ -340,6 +361,7 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
340 } 361 }
341 else { 362 else {
342 363
  364 +
343 //LicenseId would be zero for admin that is why we set the haveRoleAdmin = true 365 //LicenseId would be zero for admin that is why we set the haveRoleAdmin = true
344 if (result.LicenseId == 0 && result.IsActive) { 366 if (result.LicenseId == 0 && result.IsActive) {
345 367
400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html
@@ -43,11 +43,11 @@ @@ -43,11 +43,11 @@
43 </li> 43 </li>
44 <li class="dropdown navbarDropdownItem"> 44 <li class="dropdown navbarDropdownItem">
45 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Help<span class="caret"></span></a> 45 <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Help<span class="caret"></span></a>
46 - <ul class="dropdown-menu">  
47 - <li><a href="http://interactiveanatomy.com/content/help/index.html" target="_blank">Help Topics</a></li>  
48 - <li><a href="http://adameducation.com/Contact" target="_blank">Customer Support</a></li>  
49 - <li role="separator" class="divider"></li>  
50 - <li><a href="http://interactiveanatomy.com/content/help/about/Adam_Credits_AIA5.html" target="_blank">About A.D.A.M.</a></li> 46 + <ul class="dropdown-menu" id="helplinkId">
  47 + <!--<li><a href="http://interactiveanatomy.com/content/help/index.html" target="_blank">Help Topics</a></li>-->
  48 + <!--<li><a href="http://adameducation.com/Contact" target="_blank">Customer Support</a></li>-->
  49 + <!--<li role="separator" class="divider"></li>-->
  50 + <!-- <li><a href="http://interactiveanatomy.com/content/help/about/Adam_Credits_AIA5.html" target="_blank">About A.D.A.M.</a></li>-->
51 </ul> 51 </ul>
52 </li> 52 </li>
53 <!--redirecting to Admin--> 53 <!--redirecting to Admin-->