Merge pull request #2647 from kleesc/buildview_timestamps

Show build logs timestamps by default
This commit is contained in:
Kenny Lee Sin Cheong 2017-05-17 12:07:15 -04:00 committed by GitHub
commit 2a5c1f0840

View file

@ -15,7 +15,11 @@
$scope.name = $routeParams.name;
$scope.build_uuid = $routeParams.buildid;
$scope.showLogTimestamps = CookieService.get('quay.showBuildLogTimestamps') == 'true';
if (!CookieService.get('quay.showBuildLogTimestamps')) {
$scope.showLogTimestamps = true;
} else {
$scope.showLogTimestamps = CookieService.get('quay.showBuildLogTimestamps') == 'true';
}
var loadBuild = function() {
var params = {