Only display summaries of jobs on home page.

This commit is contained in:
2010-08-22 23:04:11 +01:00
parent 5ee6f027c3
commit 32760b5621

View File

@@ -1,8 +1,8 @@
<?php <?php
$running_jobs = HandBrakeCluster_Job::allWithStatus(HandBrakeCluster_JobStatus::RUNNING); $running_jobs = HandBrakeCluster_Job::allWithStatus(HandBrakeCluster_JobStatus::RUNNING, 5);
$completed_jobs = HandBrakeCluster_Job::allWithStatus(HandBrakeCluster_JobStatus::COMPLETE); $completed_jobs = HandBrakeCluster_Job::allWithStatus(HandBrakeCluster_JobStatus::COMPLETE, 5);
$failed_jobs = HandBrakeCluster_Job::allWithStatus(HandBrakeCluster_JobStatus::FAILED); $failed_jobs = HandBrakeCluster_Job::allWithStatus(HandBrakeCluster_JobStatus::FAILED, 5);
$this->smarty->assign('running_jobs', $running_jobs); $this->smarty->assign('running_jobs', $running_jobs);
$this->smarty->assign('completed_jobs', $completed_jobs); $this->smarty->assign('completed_jobs', $completed_jobs);