kopia lustrzana https://github.com/cyoung/stratux
Display first 10 characters of Build hash next to version.
rodzic
d2a3f9433a
commit
0d67cb855b
|
@ -42,6 +42,7 @@ function StatusCtrl($rootScope, $scope, $state, $http, $interval) {
|
|||
var status = JSON.parse(msg.data)
|
||||
// Update Status
|
||||
$scope.Version = status.Version;
|
||||
$scope.Build = status.Build.substr(0, 10);
|
||||
$scope.Devices = status.Devices;
|
||||
$scope.Connected_Users = status.Connected_Users;
|
||||
$scope.UAT_messages_last_minute = status.UAT_messages_last_minute;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="col-sm-12">
|
||||
<div class="text-center">
|
||||
<p><strong>Version: <span>{{Version}}</span></strong></p>
|
||||
<p><strong>Version: <span>{{Version}} ({{Build}})</span></strong></p>
|
||||
</div>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
|
|
Ładowanie…
Reference in New Issue