github.com/hernad/nomad@v1.6.112/ui/app/components/das/dismissed.hbs (about)

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