diff --git a/css/styles.css b/css/styles.css index b6ce208a..6ec8df14 100644 --- a/css/styles.css +++ b/css/styles.css @@ -157,6 +157,10 @@ a:hover.fa { #board-nav :last-child.form-control { margin-right: 0; } +.version { + margin-top: 5px; + font-size: small !important; +} /* #SiteNav*/ .nav { margin-top: -.7em; diff --git a/js/app.js b/js/app.js index bedbc4a6..a35f6f46 100644 --- a/js/app.js +++ b/js/app.js @@ -51,8 +51,10 @@ function($routeProvider, $httpProvider) { }]); // Custom handlers for route authentication and rejection of invalid board id -taskBoard.run(['$rootScope', '$location', '$window', 'AuthenticationService', +taskBoard.run(['$rootScope', '$location', '$window', 'AuthenticationService', function($rootScope, $location, $window, AuthenticationService) { + $rootScope.version = 'v0.2.5'; + $rootScope.$on('$routeChangeStart', function(event, nextRoute, currentRoute) { // Redirect to default path if authentication is required but not present. if (nextRoute !== null && nextRoute.authRequired !== null && diff --git a/partials/header.html b/partials/header.html index ec882431..efac0d5a 100644 --- a/partials/header.html +++ b/partials/header.html @@ -4,5 +4,5 @@
{{ version }}