{#if self}
{HANDLER_LABEL[self.kind]}
{#if self.handledJob}
goto(`/run/${self?.handledJob}?workspace=${ws}`)} > Handled run
{/if} {#if self.schedulePath}
for schedule
{self.schedulePath}
{/if}
{:else} {#if retries.length > 1}
Retries ({retries.length - 1})
{#each retries as attempt, i (attempt.id)}
goto(`/run/${attempt.id}?workspace=${ws}`)} > {i === 0 ? 'Original' : `Attempt ${i}`}
{/each}
{/if} {#if handlers.length > 0}
Handlers
{#each handlers as handler (handler.id)}
goto(`/run/${handler.id}?workspace=${ws}`)} > {HANDLER_LABEL[handler.kind]}
{/each}
{/if} {/if}