github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/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 <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 {{reschedule-event-row 22 allocation=allocation 23 linkToAllocation=false 24 time=allocation.modifyTime}} 25 26 {{#each (reverse allocation.rescheduleEvents) as |event|}} 27 {{reschedule-event-row 28 allocationId=event.previousAllocationId 29 time=event.time}} 30 {{/each}} 31 </ol>