+ The teams of this hackathon cannot be read with your account, so there are no
+ submissions to show.
+
+ {#if data.rows.length === 0}
+
+ There are no teams yet, so nobody can submit.
+
+ Set up teams
+
+
+ {:else if shown.length === 0 && searching}
+
+
+ {#if elsewhere.length === 0}
+ No team, project or person matches “{query.trim()}”.
+ {:else}
+ Nothing on {SUBMISSION_FILTER_LABEL[filter]} matches “{query.trim()}” —
+ {#each elsewhere as s, i (s)}{#if i > 0},
+ {/if}{counts[s]} on {SUBMISSION_FILTER_LABEL[
+ s
+ ]}{/each}.
+ {/if}
+
+ {:else if shown.length === 0}
+
+ {#if filter === 'missing'}
+ Every team has submitted something.
+ {:else if filter === 'draft'}
+ No team is left with only drafts.
+ {:else}
+ No team has a final entry yet.
+ {/if}
+
+ {:else}
+ {#each shown as { row, team, project } (row.teamId)}
+ {@const entry = entryOf(row)}
+ {@const badge = STANDING_BADGE[row.standing]}
+
+
+
+
+ {@render marked(row.teamName, team)}
+
+
+ {@render marked(row.projectTitle, project)}
+
+
+ {#if row.members.length > 0}
+ {#each row.members as m, i (i)}{#if i > 0},
+ {/if}{@render marked(m, nameSegments(m, query))}{/each}
+ {:else}
+ No members
+ {/if}
+
+
+
{badge.label}
+
+
+ {#if entry}
+
+ {@render resultLine(entry.result)}
+ {@render versionMeta(entry)}
+
+ {/if}
+
+ {#if row.latest && row.latestFinal && row.latest.id !== row.latestFinal.id}
+
+
+
+ Newer draft, not finalized
+
+ {@render resultLine(row.latest.result)}
+ {@render versionMeta(row.latest)}
+
+ {/if}
+
+ {#if row.earlier.length > 0}
+
+
+ {row.earlier.length === 1
+ ? '1 earlier version'
+ : `${row.earlier.length} earlier versions`}
+
+
+ {#each row.earlier as v (v.id)}
+
+
+ {submissionStatusLabel(v.status) ?? 'Unknown'}
+
+ {@render resultLine(v.result)}
+ {@render versionMeta(v)}
+
+ {/each}
+
+
+ {/if}
+
+ {/each}
+ {/if}
+