{#if detailed} {#if runnable}

{defaultIfEmptyString(runnable.summary, runnable.path ?? '')}

{#if !emptyString(runnable.summary)}

{runnable.path}

{/if}
{#if runnable} Edited {displayDaysAgo(runnable.created_at || '')} by {runnable.created_by || 'unknown'} {/if} {truncateHash(runnable?.hash ?? '')} {#if runnable?.is_template} Template {/if} {#if runnable && runnable.kind !== 'runnable'} {runnable?.kind} {/if}
{:else}

Loading...

{/if} {/if} {#if topButton} {/if} {#if runnable?.schema}
{#if !runnable.schema.properties || Object.keys(runnable.schema.properties).length === 0}
No arguments
{:else} {/if} {:else}
No schema
{/if} {#if schedulable}
{#if SCRIPT_VIEW_SHOW_SCHEDULE_RUN_LATER}
{/if} {#if viewOptions}
{/if}
{#if runnable?.path?.startsWith(`u/${$userStore?.username}`) != true && (runnable?.path?.split('/')?.length ?? 0) > 2}
By default, runs are visible to the owner(s) of the script or flow being triggered
{/if}
{:else if !topButton} {/if} {#if viewCliRun}
{#if SCRIPT_VIEW_SHOW_RUN_FROM_CLI}
{/if} {#if viewCliOptions}
{/if}
{/if}