%tr(id="diagnostic-#{$diagnostic->id}")
  - $this->renderPartial('/shared/_diagnosticGenericColumns', array('diagnostic' => $diagnostic))
  %td
    - if($diagnostic->isNew())
      %button.take-charge.btn.btn-mini(type="button" data-diagnostic-id="#{$diagnostic->id}" data-confirm-text="#{t('Confirm?')}")
        = t('Take Charge')
    - else if($diagnostic->isTakenInCharge())
      %button.manage.btn.btn-mini(type="button" data-diagnostic-id="#{$diagnostic->id}" data-confirm-text="#{t('Confirm?')}")
        = t('Close')
    - else if($diagnostic->isManaged())
      = t('Closed')
