Remove Web UI version
No reason to manage a version number separately from the overall
project. Remove the version and rename the element.
Based on feedback on https://gerrit.openbmc-project.xyz/#/c/10364/.
Change-Id: I055445db8bdda36dc408c057132e6e69b8935a6b
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/common/directives/app-header.html b/app/common/directives/app-header.html
index e396537..63b1e8e 100644
--- a/app/common/directives/app-header.html
+++ b/app/common/directives/app-header.html
@@ -1,7 +1,7 @@
<div id="header__wrapper">
<!-- HEADER -->
<header id="header">
- <span class="app__version float-left">OpenBMC {{dataService.app_version}}</span>
+ <span class="header__title float-left">OpenBMC</span>
<a href="" class="header__logout" ng-click="logout()">Log out</a>
</header>
<div class="header__functions-wrapper" role="heading">
diff --git a/app/common/services/dataService.js b/app/common/services/dataService.js
index c2131fe..d39e757 100644
--- a/app/common/services/dataService.js
+++ b/app/common/services/dataService.js
@@ -13,7 +13,6 @@
angular
.module('app.common.services')
.service('dataService', ['Constants', function (Constants) {
- this.app_version = "V.0.0.1";
this.server_health = Constants.SERVER_HEALTH.unknown;
this.server_state = 'Unreachable';
this.server_status = -2;
diff --git a/app/common/styles/layout/header.scss b/app/common/styles/layout/header.scss
index e14a5e6..a18d8ac 100644
--- a/app/common/styles/layout/header.scss
+++ b/app/common/styles/layout/header.scss
@@ -16,7 +16,7 @@
z-index: 300;
}
-.app__version {
+.header__title {
margin-left: 1em;
display: none;
@include mediaQuery(x-small) {