<div <?php echo MtHaml\Runtime::renderAttributes(array(array('class', 'notif_stream'), array('data-notification-get-url', (url('notification/get'))), array('data-notification-setstreamisopen-url', (url('notification/SetStreamIsOpen')))), 'html5', 'UTF-8'); ?>>
  <div class="notif_stream_header">
    <b>
      <i>
        <?php echo htmlspecialchars(t('Notifications'),ENT_QUOTES,'UTF-8'); ?>
        <?php echo htmlspecialchars(' (',ENT_QUOTES,'UTF-8'); ?>
        <span class="notif_stream_count">
          <?php echo htmlspecialchars(t('Loading'),ENT_QUOTES,'UTF-8'); ?>
        </span>
        <?php echo htmlspecialchars(')',ENT_QUOTES,'UTF-8'); ?>
      </i>
    </b>
    <?php if(user()->checkAccess('notification_setting_management')) { ?>
      <a <?php echo MtHaml\Runtime::renderAttributes(array(array('class', 'pull-right'), array('href', (url('notificationSetting/index'))), array('title', (t('Notification Settings')))), 'html5', 'UTF-8'); ?>>
        <div class="pad3 icon-bullhorn"></div>
      </a>
    <?php } ?>
    <?php if(user()->checkAccess('notification_management')) { ?>
      <a <?php echo MtHaml\Runtime::renderAttributes(array(array('class', 'pull-right'), array('href', (url('notification/index'))), array('title', (t('Notifications')))), 'html5', 'UTF-8'); ?>>
        <div class="pad3 icon-bell"></div>
      </a>
    <?php } ?>
  </div>
  <div class="notif_stream_content"></div>
</div>
