{#if query}

{query.subject}

{#if $auth && !query.solved} {#await gitlab then gl} {/await} {/if} {#if $auth && !query.solved && $viewIdx[query.id_exercice]} {/if} {#if $auth && $auth.id_team == query.id_team} {#if query.solved && !query.closed && (query.subject != "RAS" || query.state != "ok")} {/if} {#if (!query.solved && !has_comments) || (query.subject == "RAS" && query.state == "ok" && !has_comments)} {/if} {/if}
Qui ?
{query.user.split("@")[0]}
(team #{query.id_team})
État
{thumbs.length}
Date de création
Date de résolution
{#if query.solved} {:else} - {/if}
Date de clôture
{#if query.closed} {:else} - {/if}

{#await query_commentsP then query_comments} {#each query_comments as comment (comment.id)} {#if comment.content != "+1"}
{comment.content}
{#if comment.user == $auth.name} {/if} Par {comment.user}, le
{/if} {/each} {/await}
{#if newComment.content && newComment.content.length > 0} {/if}
{/if}