github.com/anuvu/nomad@v0.8.7-atom1/ui/app/templates/components/reschedule-event-timeline.hbs (about)

     1  <ol class="timeline">
     2    {{#if allocation.nextAllocation}}
     3      {{reschedule-event-row
     4        label="Next Allocation"
     5        allocation=allocation.nextAllocation
     6        time=allocation.nextAllocation.modifyTime}}
     7    {{/if}}
     8    {{#if allocation.hasStoppedRescheduling}}
     9      <li class="timeline-note" data-test-stop-warning>
    10        {{x-icon "warning" class="is-warning is-text"}} Nomad has stopped attempting to reschedule this allocation.
    11      </li>
    12    {{/if}}
    13    {{#if (and allocation.followUpEvaluation.waitUntil (not allocation.nextAllocation))}}
    14      <li class="timeline-note" data-test-attempt-notice>
    15        {{x-icon "clock" class="is-info is-text"}} Nomad will attempt to reschedule
    16        {{moment-from-now allocation.followUpEvaluation.waitUntil interval=1000}}
    17      </li>
    18    {{/if}}
    19    {{reschedule-event-row
    20      allocation=allocation
    21      linkToAllocation=false
    22      time=allocation.modifyTime}}
    23  
    24    {{#each (reverse allocation.rescheduleEvents) as |event|}}
    25      {{reschedule-event-row
    26        allocationId=event.previousAllocationId
    27        time=event.time}}
    28    {{/each}}
    29  </ol>