github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/templates/components/reschedule-event-timeline.hbs (about) 1 <ol class="timeline"> 2 {{#if @allocation.nextAllocation}} 3 <RescheduleEventRow 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 "alert-triangle" 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 <span class="tooltip" aria-label="{{format-ts @allocation.followUpEvaluation.waitUntil}}"> 17 {{moment-from-now @allocation.followUpEvaluation.waitUntil interval=1000}} 18 </span> 19 </li> 20 {{/if}} 21 <RescheduleEventRow 22 @allocation={{@allocation}} 23 @linkToAllocation={{false}} 24 @time={{@allocation.modifyTime}} /> 25 26 {{#each (reverse @allocation.rescheduleEvents) as |event|}} 27 <RescheduleEventRow 28 @allocationId={{event.previousAllocationId}} 29 @time={{event.time}} /> 30 {{/each}} 31 </ol>