#import koji #from kojiweb import util #def printChildren($taskID, $childMap) #set $iter = 0 #set $children = $childMap[$str($taskID)] #if $children
#if $len($taskPages) > 1 #end if #if $taskStart > 0 <<< #end if #if $totalTasks != 0 Tasks #echo $taskStart + 1 # through #echo $taskStart + $taskCount # of $totalTasks #end if #if $taskStart + $taskCount < $totalTasks >>> #end if | |||||
ID $util.sortImage($self, 'id') | Type $util.sortImage($self, 'method') | Owner $util.sortImage($self, 'owner') | Arch $util.sortImage($self, 'arch') | Finished $util.sortImage($self, 'completion_time') | State $util.sortImage($self, 'state') |
---|---|---|---|---|---|
$task.id | #if $treeDisplay then ' ' else ''#$koji.taskLabel($task) #if $treeDisplay $printChildren($task.id, $task.descendents) #end if | #if $task.owner_type == $koji.USERTYPES['HOST'] $task.owner_name #else $task.owner_name #end if | $task.arch | $util.formatTime($task.completion_time) | $util.imageTag($taskState) |
No tasks | |||||
#if $len($taskPages) > 1 #end if #if $taskStart > 0 <<< #end if #if $totalTasks != 0 Tasks #echo $taskStart + 1 # through #echo $taskStart + $taskCount # of $totalTasks #end if #if $taskStart + $taskCount < $totalTasks >>> #end if |