#alert-view
  .page-header
    .row.clearfix
      .span8
        %h2
          = t('Event detail')
      .span2.pull-right.text-right
        %a.btn(href="#{Yii::app()->createAbsoluteUrl('vehicleTrace/exportToPdf', array('id' => $event->ID))}" target='_blank' )
          = t('Export')

  .row
    .span4
      #videos
        - if(Yii::app()->user->checkAccess('media_view_video'))
          -if(!empty($event->video_file_name))
            %center
              -$this->renderVideo($event->getVideoUrl(), 350)
      #etalage-container(data-behavior="MediaEtalage")
        %ul#etalage
          - foreach ($event->photosUrl as $url)
            %li
              %img.etalage_source_image(src="#{$url}")

    .span8
      #event-data
        .row

          .span4
            %fieldset
              - $this->renderPartial('/alert/_vehicleTraceDetails', array('event' => $event))
