{title.toUpperCase()}
{#if jobCounts.failed > 0}
{jobCounts.failed.toLocaleString($locale)} failed
{/if}
{#if subtitle}
{subtitle}
{/if}
Active
{jobCounts.active.toLocaleString($locale)}
{waitingCount.toLocaleString($locale)}
Waiting
{#if isRunning}
dispatch('command', { command: JobCommand.Pause, force: false })} >
PAUSE
{:else if jobCounts.paused > 0}
dispatch('command', { command: JobCommand.Resume, force: false })} >
RESUME
{:else if allowForceCommand}
dispatch('command', { command: JobCommand.Start, force: true })} >
ALL
dispatch('command', { command: JobCommand.Start, force: false })} >
MISSING
{:else}
dispatch('command', { command: JobCommand.Start, force: false })} >
START
{/if}