{name} {#if wfDeleted}{t('studio.wfDeletedTag')}{/if} {#if wf?.usage}{usageLabel(wf.usage)}{/if} {fmtClock(parseDbTs(job.created_at))}
{#if prompt}

{prompt}

{/if} {#if inputs.length}
{#each inputs.slice(0, 5) as inp (inp.path + inp.label)} {inp.label} {/each} {#if inputs.length > 5}+{inputs.length - 5}{/if}
{/if}
{label} {#if st.tone === 'run'} {#if progress > 0}
{/if} {fmtDur(elapsedSec(job, nowMs))} {:else if st.tone === 'ok' && !fileGone} {t('desk.took', { d: fmtDur(elapsedSec(job, nowMs)) })} {:else if st.tone === 'fail'} {:else if fileGone} {t('jobst.missingDetail')} {:else} {st.detail} {/if}
{#if fileGone} {:else} {#if canAttach} {/if} {#if attached && wbCtx} {t('desk.attachedTag')} {t('desk.attachBack')} {/if} {#if st.tone === 'fail' && job.error !== 'cancelled'} {/if} {#if active} {/if} {#if output} {t('desk.download')} {/if} {#if !active} {/if} {/if}
{#if output}
{#if st.tone === 'ok' && !fileGone}{t('jobst.done')}{/if} {#if isVideoOutput(job, output)} {#if clipSec != null}{fmtDur(clipSec)}{/if} {:else} { clearOutputMissing(output); noteImage(e); }} onerror={() => output && markOutputMissing(output)} /> {/if} {#if job.output_paths.length > 1}×{job.output_paths.length}{/if}
{:else if active}
{st.label}
{:else if fileGone}
{t('jobst.missing')}
{:else}
{t('desk.notGenerated')}
{/if}