Commit 5387c4f743e661f694d068e40a0bab8d6a62e09f

Authored by Birendra Kumar
1 parent 01314f9c

helplink updated

400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -148,6 +148,17 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A @@ -148,6 +148,17 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
148 148
149 } 149 }
150 150
  151 + $scope.helpTopicLink = function () {
  152 + var absurl = $location.absUrl();
  153 + var hTopicUrl = absurl + "content/help/index.html";
  154 + var aboutADAM = absurl + "content/help/about/Adam_Credits_AIA5.html";
  155 +
  156 + $("#helplinkId").append("<li><a target='_blank' href='" + hTopicUrl + "'> Help Topics </li>");
  157 + $("#helplinkId").append("<li><a target='_blank' href='http://adameducation.com/Contact'> Customer Support </li>");
  158 + $("#helplinkId").append("<li role='separator' class='divider'></li>");
  159 + $("#helplinkId").append("<li><a target='_blank' href='" + aboutADAM + "'> About A.D.A.M. </li>");
  160 +
  161 + }
151 162
152 $rootScope.initializeAIA = function () { 163 $rootScope.initializeAIA = function () {
153 164
@@ -209,6 +220,11 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A @@ -209,6 +220,11 @@ function ($rootScope, $scope, Modules, $log, $location, $timeout, DataService, A
209 220
210 $rootScope.getConfigurationValues(); 221 $rootScope.getConfigurationValues();
211 } 222 }
  223 +
  224 + $timeout(function () {
  225 +
  226 + $scope.helpTopicLink();
  227 + }, 2000);
212 } 228 }
213 $rootScope.getConfigurationValues = function () { 229 $rootScope.getConfigurationValues = function () {
214 ConfigurationService.getCofigValue() 230 ConfigurationService.getCofigValue()
400-SOURCECODE/AIAHTML5.Web/app/widget/TopMenu.html
@@ -44,10 +44,10 @@ @@ -44,10 +44,10 @@
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"> 46 <ul class="dropdown-menu">
47 - <li><a href="http://interactiveanatomy.com/content/help/index.html" target="_blank">Help Topics</a></li> 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> 48 <li><a href="http://adameducation.com/Contact" target="_blank">Customer Support</a></li>
49 <li role="separator" class="divider"></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> 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-->