2018-05-04 22:03:00 +00:00
|
|
|
<ol class="timeline">
|
|
|
|
{{#if allocation.nextAllocation}}
|
|
|
|
{{reschedule-event-row
|
|
|
|
label="Next Allocation"
|
|
|
|
allocation=allocation.nextAllocation
|
|
|
|
time=allocation.nextAllocation.modifyTime}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if allocation.hasStoppedRescheduling}}
|
2018-05-05 02:04:36 +00:00
|
|
|
<li class="timeline-note" data-test-stop-warning>
|
2018-05-04 22:03:00 +00:00
|
|
|
{{x-icon "warning" class="is-warning is-text"}} Nomad has stopped attempting to reschedule this allocation.
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if (and allocation.followUpEvaluation.waitUntil (not allocation.nextAllocation))}}
|
2018-05-05 02:04:36 +00:00
|
|
|
<li class="timeline-note" data-test-attempt-notice>
|
2018-05-04 22:03:00 +00:00
|
|
|
{{x-icon "clock" class="is-info is-text"}} Nomad will attempt to reschedule
|
2019-01-31 06:44:43 +00:00
|
|
|
<span class="tooltip" aria-label="{{format-ts allocation.followUpEvaluation.waitUntil}}">
|
2019-01-30 17:57:55 +00:00
|
|
|
{{moment-from-now allocation.followUpEvaluation.waitUntil interval=1000}}
|
|
|
|
</span>
|
2018-05-04 22:03:00 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{reschedule-event-row
|
|
|
|
allocation=allocation
|
|
|
|
linkToAllocation=false
|
|
|
|
time=allocation.modifyTime}}
|
|
|
|
|
|
|
|
{{#each (reverse allocation.rescheduleEvents) as |event|}}
|
|
|
|
{{reschedule-event-row
|
|
|
|
allocationId=event.previousAllocationId
|
|
|
|
time=event.time}}
|
|
|
|
{{/each}}
|
|
|
|
</ol>
|