<div class="notice-module <?php echo $journal3->classes($classes); ?>" data-options='<?php echo json_encode($options, JSON_FORCE_OBJECT); ?>'>
  <button aria-label="Edit" class="admin-edit" type="button" data-edit="<?php echo $edit; ?>"><em class="fa fa-pencil" data-placement="auto" data-toggle="tooltip-hover" data-tooltip-class="admin-edit-tooltip" title="Edit <?php echo $name; ?>"></em></button>
  <div class="module-body">
    <div class="hn-body">
      <div class="hn-content">
        <?php echo $content; ?>
        <?php if ($contentType == 'text' && $ctaButton): ?>
          <a class="btn header-notice-cta" href="<?php echo $ctaButtonLink['href'] ? $ctaButtonLink['href'] : 'javascript:;'; ?>" <?php echo $journal3->linkAttrs($ctaButtonLink); ?><span class="btn-text"><?php echo $ctaButtonText ? $ctaButtonText : 'Close'; ?></span></a>
        <?php endif; ?>
      </div>
    </div>
    <?php if ($closeButton): ?>
      <div class="header-notice-close-button">
        <?php if ($closeLink['href']): ?>
          <a class="btn hn-close" href="<?php echo $closeLink['href'] ? $closeLink['href'] : 'javascript:;'; ?>" <?php echo $journal3->linkAttrs($closeLink); ?> title="<?php echo $closeText ? $closeText : 'Close'; ?>">
            <?php if ($closeText): ?>
              <span class="btn-text"><?php echo $closeText; ?></span>
            <?php endif; ?>
          </a>
        <?php else: ?>
          <button class="btn hn-close" aria-label="<?php echo $closeText ? $closeText : 'Close'; ?>">
            <?php if ($closeText): ?>
              <span class="btn-text"><?php echo $closeText; ?></span>
            <?php endif; ?>
          </button>
        <?php endif; ?>
      </div>
    <?php endif; ?>
  </div>
</div>
