- if(!is_bool($canEdit))
  - $canEdit = $this->canEdit()
  
- if(isset($dataProvider) && count($dataProvider->data)>0)
  - $services = $dataProvider->data

  .tableContainer.pagination-data-container(data-behavior="NuclearService" style="display:table;")

    %table.table.table-striped.table-services.table-hover.span12
      %thead
        %tr
          %th= Yii::t("app", "Task")
          %th= Yii::t("app", "Start Date")
          %th= Yii::t("app", "End Date")
          %th= Yii::t("app", "# Events")
          %th= Yii::t("app", "Examined")
          %th= Yii::t("app", "Validated [ A / I / P ]")
          %th= Yii::t("app", "Reported")
          %th= Yii::t("app", "Exported")
          %th= Yii::t("app", "Responsible")
          %th= Yii::t("app", "Actions")

        %tbody
          - foreach($services as $service)
            - $this->renderPartial('_serviceRow', get_defined_vars())


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