diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 51c1aea..1de99b7 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -39,7 +39,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic ethnicity: null, modesty: null }; - + $rootScope.current_year = AIAConstants.current_year; // on refersh this variable will also get null that is why we are only checking this variable on initialize that if it is null that means page gets refershed. $rootScope.refreshcheck = null; $rootScope.isCloseSettingClicked = false; @@ -5005,6 +5005,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#canvas").css("display", "none"); } + $(".currentyear").html($rootScope.current_year); }, 520); } else { @@ -5024,6 +5025,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#canvasPaint").css("display", "none"); $("#canvas").css("display", "none"); } + $(".currentyear").html($rootScope.current_year); }, 320); } diff --git a/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js b/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js index fe59ad3..b1d2dd5 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/main/AIA.js @@ -496,6 +496,7 @@ AIA.constant("UserModules", [ AIA.constant("AIAConstants", { "NO_BODY_SYSTEM_AVAILABLE": "Selected body system is not available on this layer.", "COOKIES_MESSAGE": "You need to enable your browser's cookies to run this application.", + "current_year": 2018, }) diff --git a/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html b/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html index d0b97e5..b9a685c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html +++ b/400-SOURCECODE/AIAHTML5.Web/app/views/Home/printPreview.html @@ -47,7 +47,7 @@