{{yield (action 'guard')}}

{{#if isNotifying}}
  {{#ember-wormhole to="wormhole-overlays"}}
    {{! ember-wormhole@0.5.0 must have a stable root element in 2.10.0-beta's }}
    <div>
      {{#modal-dialog action=(action (mut isNotifying) false) as |dialog|}}
        <div class='card' data-test-must-verify-notice>
          <div class='text-content'>
            <div class='content-header'>
              <h4>{{i18n "It's time to verify your account!"}}</h4>
            </div>

            <div class='pd-b-3'>
              {{manager/verify-email-instructions}}
            </div>

            <div class='buttons'>
              <button data-test-cancel onclick={{dialog.close}} class='button button--text'>
                {{i18n 'Not yet'}}
              </button>

              <a class="button" href="/settings">{{i18n 'Go to Settings'}}</a>
            </div>
          </div>
        </div>
      {{/modal-dialog}}
    </div>
  {{/ember-wormhole}}
{{/if}}
