Add creation date information to robots API and UI

Fixes https://jira.coreos.com/browse/QUAY-846
This commit is contained in:
Joseph Schorr 2018-03-09 13:55:19 -05:00
parent c4a6273e00
commit a693771345
5 changed files with 28 additions and 10 deletions

View file

@ -39,6 +39,8 @@ angular.module('quay').directive('robotsManager', function () {
robot['teams_string'] = robot.teams.map(function(team) {
return team['name'] || '';
}).join(',');
robot['created_datetime'] = robot.created ? TableService.getReversedTimestamp(robot.created) : null;
});
$scope.orderedRobots = TableService.buildOrderedItems(robots, $scope.options,