#export-registratin-index-page
  
  .page-header
    %h2
      %li.icon-sign-out
      = Yii::t("app", "Export History")
      
  .registered-server-list
    - foreach($eventServers as $eventServer)
      .server
        %h3
          %a(href="#{Yii::app()->createUrl('ExportRegistration/serverDetails', array('idServer' => $eventServer->id))}")
            = $eventServer->name
        %table.table.table-condensed.span12
          %thead
            %tr
              - foreach($months as $month)
                %th = $month['month'].'/'.$month['year']
          %tbody
            %tr
            - foreach($months as $month)
              - $mn = $month['month'];
              - $yr = $month['year'];  
              - $exp = isEmpty($expCounters["$eventServer->id"]["$yr"]["$mn"]['exported']) ? 0: $expCounters["$eventServer->id"]["$yr"]["$mn"]['exported']; 
              - $del = isEmpty($expCounters["$eventServer->id"]["$yr"]["$mn"]['deleted']) ? 0: $expCounters["$eventServer->id"]["$yr"]["$mn"]['deleted'];
              %td = $exp.'/'.$del