%h4
  =t('Used by')
= $timeSchedule->getUsingObjectsTypes()
%h4
  = t("Time Slots")
%table.table.table-condensed.span6
  %tbody
    - foreach($timeSchedule->timeSlots as $timeSlot)
      %tr
        %td
          -if($timeSlot->WeekDay != TimeSlot::TS_SINGLE_DAY  || empty($timeSlot->YearDay)) 
            =$timeSlot->WeekDay
          - else  
            =$timeSlot->YearDay
        %td 
          =substr($timeSlot->TimeStart,0,strlen($timeSlot->TimeStart)-3)
        %td 
          =substr($timeSlot->TimeStop,0,strlen($timeSlot->TimeStop)-3)