public function render()
 {
     $views = array();
     foreach ($this->tasks as $task) {
         $view = new ManiphestTaskSummaryView();
         $view->setTask($task);
         $view->setUser($this->user);
         $view->setHandles($this->handles);
         $views[] = $view->render();
     }
     return '<div style="padding: 1em;">' . implode("\n", $views) . '</div>';
 }
 public function render()
 {
     $views = array();
     foreach ($this->tasks as $task) {
         $view = new ManiphestTaskSummaryView();
         $view->setTask($task);
         $view->setShowBatchControls($this->showBatchControls);
         $view->setShowSubpriorityControls($this->showSubpriorityControls);
         $view->setUser($this->user);
         $view->setHandles($this->handles);
         $views[] = $view->render();
     }
     return implode("\n", $views);
 }