2018-05-04 22:03:00 +00:00
|
|
|
<ol class="timeline">
|
|
|
|
{{#if allocation.nextAllocation}}
|
2020-06-01 19:03:56 +00:00
|
|
|
<RescheduleEventRow
|
|
|
|
@label="Next Allocation"
|
|
|
|
@allocation={{allocation.nextAllocation}}
|
|
|
|
@time={{allocation.nextAllocation.modifyTime}} />
|
2018-05-04 22:03:00 +00:00
|
|
|
{{/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}}
|
2020-06-01 19:03:56 +00:00
|
|
|
<RescheduleEventRow
|
|
|
|
@allocation={{allocation}}
|
|
|
|
@linkToAllocation={{false}}
|
|
|
|
@time={{allocation.modifyTime}} />
|
2018-05-04 22:03:00 +00:00
|
|
|
|
|
|
|
{{#each (reverse allocation.rescheduleEvents) as |event|}}
|
2020-06-01 19:03:56 +00:00
|
|
|
<RescheduleEventRow
|
|
|
|
@allocationId={{event.previousAllocationId}}
|
|
|
|
@time={{event.time}} />
|
2018-05-04 22:03:00 +00:00
|
|
|
{{/each}}
|
|
|
|
</ol>
|