<div <?php echo MtHaml\Runtime::renderAttributes(array(array('class', ('service-content' . ' ' . 'alert' . ' ' . 'alert-block' . ' ' . 'alert-normal')), array('id', ('gate-group-' . ($gateGroup->ID)))), 'html5', 'UTF-8'); ?>>
  <h4>
    <?php echo htmlspecialchars(t('Gate Group'),ENT_QUOTES,'UTF-8'); ?>
    <?php echo htmlspecialchars("#$gateGroup->ID".":",ENT_QUOTES,'UTF-8'); ?>
    <?php echo htmlspecialchars("$gateGroup->name",ENT_QUOTES,'UTF-8'); ?>
  </h4>
  <p>
    <?php echo htmlspecialchars(t('No task currently in progress or waiting for confirmation.'),ENT_QUOTES,'UTF-8'); ?>
    <?php echo htmlspecialchars(t('Manual start is available.'),ENT_QUOTES,'UTF-8'); ?>
  </p>
  <?php if(Yii::app()->user->checkAccess('start_stop_service')) { ?>
    <div class="service-actions">
      <div class="buttons">
        <button <?php echo MtHaml\Runtime::renderAttributes(array(array('class', ('btn' . ' ' . 'btn-success' . ' ' . 'btn-large')), array('type', 'button'), array('data-behavior', 'AjaxModal'), array('data-ajax-modal-target', '#service-manual-start-modal'), array('data-ajax-modal-url', (absoluteUrl('service/startManualConfirm', array('gateGroupId' => $gateGroup->ID))))), 'html5', 'UTF-8'); ?>>
          <?php echo htmlspecialchars(t('Manual Start'),ENT_QUOTES,'UTF-8'); ?>
        </button>
      </div>
    </div>
  <?php } ?>
</div>
