Display challenge date in header instead of clock if team 0

This commit is contained in:
nemunaire 2016-02-01 17:13:58 +01:00 committed by Pierre-Olivier Mercier
parent 6133498165
commit 09e726564f
5 changed files with 11 additions and 3 deletions

View file

@ -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);