aboutsummaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp
diff options
context:
space:
mode:
authorEylon Malin <eylon.malin@intl.att.com>2019-07-29 18:08:22 +0300
committerEylon Malin <eylon.malin@intl.att.com>2019-07-29 18:08:22 +0300
commit8d1798f51550316224d07a628ff630ed4ab818f7 (patch)
treebf7194a4952572c832a6b3da1d34cfccdb99639b /epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp
parent76c6ee4a697617ec4cdee2f3b48bc83136c858c5 (diff)
Revert "Add app version to welcome page"
This reverts commit bfd2c1c8e5ceac2da1755d6dd232d10ebe659e63. Reason for revert: left menu is broken Issue-ID: VID-539 Signed-off-by: Eylon Malin <eylon.malin@intl.att.com> Change-Id: I98674e6900dddb97cb25a1e687d6dd48b41da4c5
Diffstat (limited to 'epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp')
-rw-r--r--epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp20
1 files changed, 1 insertions, 19 deletions
diff --git a/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp b/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp
index 8fece9d16..44fe53a88 100644
--- a/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp
+++ b/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/jsp/ebz/ebz_header.jsp
@@ -246,7 +246,6 @@
<a ng-click="toggleDrawer();isOpen = !isOpen" href="javascript:void(0);" class="arrow-icon-left" >
<span class="icon-hamburger"></span></a>
<span ng-init="isOpen = true" ng-show="isOpen" style="font-size:16px; position:relative; top:-8px; left:-15px;">&nbsp&nbsp&nbsp {{app_name}}</span>
- <span data-tests-id='app-version' ng-show="isOpen" style="font-size:13px; position:relative; top:15px; left:-45px; color:#666666;">{{app_version}}</span>
</span>
<div att-drawer drawer-slide="left" drawer-custom-top="{{drawer_custom_top}}px" drawer-size="200px" drawer-open="drawerOpen" drawer-custom-height="100%" >
<div ng-style="adjustHLeftMenu('leftMenu')">
@@ -314,7 +313,6 @@
fullName:'',
email:''
}
- $scope.app_version="";
/*Put user info into fields*/
$scope.inputUserInfo = function(userInfo){
if (typeof(userInfo) != "undefined" && userInfo!=null && userInfo!=''){
@@ -427,23 +425,7 @@
console.log('getAppName failed', error);
});
- LeftMenuService.getAppVersion().then(function(response){
- var j = response;
- try{
- if(j){
- $scope.app_version = j.displayVersion;
-
- }else{
- throw "Version response is not in expected format.";
- }
- }catch (e) {
- console.log("Error happened while trying to get app version: "+e);
- return;
- }
- },function(error){
- console.log('getAppVersion failed', error);
- });
-
+
$scope.getTopMenuStaticInfo();
$scope.getMenu=function() {