adds version number to help dialog

This commit is contained in:
perploug
2013-12-12 12:28:43 +01:00
parent d343340f56
commit 24911bffe2
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
angular.module("umbraco")
.controller("Umbraco.Dialogs.HelpController", function ($scope, $location, $routeParams, helpService, userService) {
$scope.section = $routeParams.section;
$scope.version = Umbraco.Sys.ServerVariables.application.version + " assembly: " + Umbraco.Sys.ServerVariables.application.assemblyVersion;
if(!$scope.section){
$scope.section ="content";
}

View File

@@ -54,5 +54,5 @@
</div>
</div>
</div>
<small style="color: #d9d9d9; position: absolute; bottom: 5px; right: 20px">{{version}}</small>
</div>