1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-03-09 23:38:54 +00:00

Add playable version to UI and in config file.

This commit is contained in:
Mumshad Mannambeth 2017-07-08 18:19:47 -04:00
parent 5f2ab60791
commit 7a503bcf95
5 changed files with 11 additions and 7 deletions

View file

@ -23,12 +23,13 @@ export class NavbarComponent {
isCollapsed = true;
constructor(Auth) {
constructor(Auth, appConfig) {
'ngInject';
this.isLoggedIn = Auth.isLoggedInSync;
this.isAdmin = Auth.isAdminSync;
this.getCurrentUser = Auth.getCurrentUserSync;
this.appVersion = appConfig.version;
}
}

View file

@ -1,7 +1,7 @@
<div class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<a href="/" class="navbar-brand"><small><span style="font-size:25px;font-family:'ExpletusSans-Regular'">play<span style="font-size:35px;">A</span>ble</span></small></a>
<a href="/" class="navbar-brand"><small><span style="font-size:25px;font-family:'ExpletusSans-Regular'">play<span style="font-size:35px;">A</span>ble</span></small> <span style="color: darkgrey; font-size: small">{{ $ctrl.appVersion }}</span></a>
<button class="navbar-toggle" type="button" ng-click="$ctrl.isCollapsed = !$ctrl.isCollapsed">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>