{#if apply.state === "queued"}

Waiting for "{apply.queue?.waiting_for?.summary ?? "another change"}" to finish{apply.queue?.waiting_for?.seconds_left != null ? `, about ${apply.queue.waiting_for.seconds_left} s` : ""}. {#if (apply.queue?.position ?? 1) > 1}{(apply.queue?.position ?? 1) - 1} other changes are ahead of this one.{/if}

{#if oncancel}
{/if} {:else}
    {#each rows as r, i (i)}
  1. {#if r.s === "done"}{:else if r.s === "running"}{:else if r.s === "failed"}{:else}{/if} {prefix[r.s]}{r.t[r.s as keyof typeof r.t]}
  2. {/each} {#if st("watch") === "failed" && !final}
  3. Now:Undoing the change
  4. {/if}
{#if apply.state === "watching"}

You can leave this screen. Other changes wait their turn; only one apply runs at a time.

{/if} {/if}