- if(isset($dataProvider) && count($dataProvider->data)>0)

  - $workPeriods = $dataProvider->data

  - $this->renderPartial('../dashboard/workPeriod/_eventsReport', array('workPeriods' => $workPeriods, 'all' => $all, 'pagination'=> true))


  - if (isset($dataProvider->pagination))
    .pagination
      - $this->widget('bootstrap.widgets.TbPager', array('pages' => $dataProvider->pagination))
