github.com/hernad/nomad@v1.6.112/ui/app/templates/components/reschedule-event-timeline.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  <ol class="timeline">
     7    {{#if @allocation.nextAllocation}}
     8      <RescheduleEventRow
     9        @label="Next Allocation"
    10        @allocation={{@allocation.nextAllocation}}
    11        @time={{@allocation.nextAllocation.modifyTime}} />
    12    {{/if}}
    13    {{#if @allocation.hasStoppedRescheduling}}
    14      <li class="timeline-note" data-test-stop-warning>
    15        {{x-icon "alert-triangle" class="is-warning is-text"}} Nomad has stopped attempting to reschedule this allocation.
    16      </li>
    17    {{/if}}
    18    {{#if (and @allocation.followUpEvaluation.waitUntil (not @allocation.nextAllocation))}}
    19      <li class="timeline-note" data-test-attempt-notice>
    20        {{x-icon "clock" class="is-info is-text"}} Nomad will attempt to reschedule
    21        <span class="tooltip" aria-label="{{format-ts @allocation.followUpEvaluation.waitUntil}}">
    22          {{moment-from-now @allocation.followUpEvaluation.waitUntil interval=1000}}
    23        </span>
    24      </li>
    25    {{/if}}
    26    <RescheduleEventRow
    27      @allocation={{@allocation}}
    28      @linkToAllocation={{false}}
    29      @time={{@allocation.modifyTime}} />
    30  
    31    {{#each (reverse @allocation.rescheduleEvents) as |event|}}
    32      <RescheduleEventRow
    33        @allocationId={{event.previousAllocationId}}
    34        @time={{event.time}} />
    35    {{/each}}
    36  </ol>