Display challenge date in header instead of clock if team 0
This commit is contained in:
parent
6133498165
commit
09e726564f
5 changed files with 11 additions and 3 deletions
|
@ -55,6 +55,7 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"])
|
|||
$rootScope.time.end = false;
|
||||
$rootScope.time.expired = false;
|
||||
}
|
||||
$rootScope.time.start = time.st * 1000;
|
||||
$rootScope.time.duration = time.du;
|
||||
$rootScope.time.remaining = remain;
|
||||
$rootScope.time.hours = Math.floor(remain / 3600);
|
||||
|
|
|
@ -75,6 +75,7 @@ angular.module("FICApp")
|
|||
$scope.time.end = false;
|
||||
$scope.time.expired = false;
|
||||
}
|
||||
$scope.time.start = time.st * 1000;
|
||||
$scope.time.duration = time.du;
|
||||
$scope.time.remaining = remain;
|
||||
$scope.time.hours = Math.floor(remain / 3600);
|
||||
|
|
Reference in a new issue