<h2>
  <?php echo htmlspecialchars(t('Alert - Event detail'),ENT_QUOTES,'UTF-8'); ?>
</h2>
<div class="row">
  <div class="span4">
    <?php $this->renderPartial('/alert/_eventDetails', array('event' => $event, 'report' => true)); ?>
  </div>
  <?php if($alert!=null) { ?>
    <div class="span4">
      <?php $this->renderPartial('/alert/_alertDetails', array('alert' => $alert)); ?>
    </div>
  <?php } ?>
  <?php if(Yii::app()->user->checkAccess('media_view_photo')) { ?>
    <div class="span4">
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <br />
      <h3><?php echo htmlspecialchars(t('Images'),ENT_QUOTES,'UTF-8'); ?></h3>
      <?php foreach ($event->photos as $photo) { ?>
        <br />
        <br />
        <a <?php echo MtHaml\Runtime::renderAttributes(array(array('href', ($useLocalResources ? $photo->path : $photo->url))), 'html5', 'UTF-8'); ?>>
          <img <?php echo MtHaml\Runtime::renderAttributes(array(array('class', 'etalage_source_image'), array('src', ($useLocalResources ? $photo->path : $photo->url))), 'html5', 'UTF-8'); ?> />
        </a>
      <?php } ?>
    </div>
  <?php } ?>
</div>
