%h2
  = t('Alert - Event detail')
.row
  .span4
    - $this->renderPartial('/alert/_vehicleTraceDetails', array('event' => $event, 'report' => true))
  .span4
    - $this->renderPartial('/alert/_alertDetails', array('alert' => $alert))
  - if(Yii::app()->user->checkAccess('media_view_photo'))
    .span4
      %br
      %br
      %br
      %br
      %br
      %br
      %br
      %br
      %br
      %br
      %br
      %br
      %br
      %br
      %br
      %h3=t('Images')
      - foreach ($event->getMediaAttachments() as $photo)
        %br
        %br
        %a(href="#{$useLocalResources ? $photo->path : $photo->url}")
          %img.etalage_source_image(src="#{$useLocalResources ? $photo->path : $photo->url}")