summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-FE-os/client/src/views/footer
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-portal-FE-os/client/src/views/footer')
-rw-r--r--ecomp-portal-FE-os/client/src/views/footer/footer.controller.js16
-rw-r--r--ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html11
2 files changed, 18 insertions, 9 deletions
diff --git a/ecomp-portal-FE-os/client/src/views/footer/footer.controller.js b/ecomp-portal-FE-os/client/src/views/footer/footer.controller.js
index 5db3ed0f..d21c829e 100644
--- a/ecomp-portal-FE-os/client/src/views/footer/footer.controller.js
+++ b/ecomp-portal-FE-os/client/src/views/footer/footer.controller.js
@@ -20,18 +20,24 @@
'use strict';
(function () {
class FooterCtrl {
- constructor($scope, $rootScope, manifestService, $log) {
+ constructor($scope, $rootScope, manifestService, $log, menusService) {
this.manifestService = manifestService;
this.$log = $log;
this.$scope = $scope;
this.$rootScope = $rootScope;
-
$scope.buildinfo = null;
$rootScope.showFooter = true;
$scope.date = new Date();
-
-
+ $scope.ecompTitle='';
+
+ menusService.getEcompPortalTitle()
+ .then(title=> {
+ $scope.ecompTitle = title.response;
+ }).catch(err=> {
+ $log.error('FooterCtrl.getEcompPortalTitle:: Error retrieving ECMOP portal title: ' + err);
+ });
+
manifestService.getManifest().then( jsonObj => {
// $log.debug('FooterCtrl.getManifest: ', JSON.stringify(jsonObj));
$scope.buildInfo = jsonObj;
@@ -43,6 +49,6 @@
}
- FooterCtrl.$inject = ['$scope', '$rootScope', 'manifestService', '$log'];
+ FooterCtrl.$inject = ['$scope', '$rootScope', 'manifestService', '$log', 'menusService'];
angular.module('ecompApp').controller('FooterCtrl', FooterCtrl);
})();
diff --git a/ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html b/ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html
index 37148abf..b03e8da5 100644
--- a/ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html
+++ b/ecomp-portal-FE-os/client/src/views/footer/footer.tpl.html
@@ -23,10 +23,13 @@
<div id="footer-info" class="attFooterInfo" style="text-align: center;">
<div id="footer-last-section" class="footerLastSection">
<div id="footer-text" class="footerText">
- OpenECOMP Portal Version {{buildInfo.manifest['Manifest-Version']}}.
- </div>
- <div id="display-inline" class="displayInline">
- </div>
+ {{ecompTitle}} Version {{buildInfo.manifest['Build-Number']}}.
+ </div>
+ <div id="display-inline" class="displayInline">
+ </div>
+ </div>
+ <div>
+ <img src="assets/images/onap-logo.png" alt="Onap Logo" class="onap-title-logo-footer" >
</div>
</div>
</div>