github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/components/das/dismissed.hbs (about)

     1  <section class="das-dismissed {{if this.explanationUnderstood 'understood'}}">
     2    {{#if this.explanationUnderstood}}
     3      <h3 {{did-insert this.proceedAutomatically}}>Recommendation dismissed</h3>
     4    {{else}}
     5      <section>
     6        <h3>Recommendation dismissed</h3>
     7  
     8        <p>Nomad will not apply these resource change recommendations.</p>
     9  
    10        <p>To never get recommendations for this task group again, disable dynamic application sizing in the job definition.</p>
    11      </section>
    12  
    13      <section class="actions">
    14        <button
    15          data-test-understood
    16          class='button is-info'
    17          type='button'
    18          {{on 'click' this.understoodClicked}}
    19        >Understood</button>
    20        <label>
    21          <input
    22            type="checkbox"
    23            checked={{this.dismissInTheFuture}}
    24            onchange={{toggle-action 'dismissInTheFuture' this}}
    25          />
    26          Don’t show this again
    27        </label>
    28      </section>
    29    {{/if}}
    30  </section>