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

  - $diagnostics = $dataProvider->data
  .tableContainer.pagination-data-container(data-behavior="NuclearDiagnostic")
    %table.table.table-condensed.span12
      %thead
        %tr
        %tr
          %th
          %th= t('Type')
          %th= t('Description')
          %th= t('Gate')
          %th= t('Date')
          %th= t('Time')
          %th= t('Manage')
          %th= t('')
          
      %tbody
        - foreach($diagnostics as $diagnostic)
          - $diagnostic = new DiagnosticPresenter($diagnostic)
          - $this->renderPartial('_diagnosticRow', array('diagnostic' => $diagnostic))

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

- else

  %h4= Yii::t("app", "No results")
