.modal-header
  %button.close(type="button" data-dismiss="modal" aria-hidden="true")
    &times;
  %h3
    Dettagli Sessione #
    = $workPeriodID
.modal-body
  %p
    Eventi Totali:
    = $repository->count

  - if ($repository->count > 0)
    - $firstEvent = $repository->first
    - $lastEvent = $repository->last

    %p
      Primo evento:
      = $firstEvent->StartTime->format(DateHelper::ISO9075_DATETIME)
      = ' - '
      = $firstEvent->id_run


    %p
      Ultimo evento:
      = $lastEvent->StartTime->format(DateHelper::ISO9075_DATETIME)
      = ' - '
      = $lastEvent->id_run
