{$t("doc.signature.title")}
{$t("current_heads")} :
{#each heads as head}
{#if head[1]}
cur_link=signed_commit_link(head)} on:keypress={()=>cur_link=signed_commit_link(head)} tabindex="0" role="button">
{head[0].substring(0,7)}
{:else}
{head[0].substring(0,7)}
{/if}
{/each}
{#if !hide_snapshot}
{#if force_snapshot}
{$t("doc.signature.or_click_on_head")}
{:else if can_sign}
{$t("doc.take_snapshot")}
{#if has_signatures}
{$t("doc.signature.or_click_on_head")}{/if}
{:else}
{$t("doc.signature.signed_snap_at_head")}
{$t("doc.signature.here_is_the_link")}
{$t("doc.signature.cli_warning")} :
ngcli get {signed_commit_link(heads[0])}
{/if}
{/if}
{#if (force_snapshot || can_sign) && cur_link }
{$t("doc.signature.cli_warning")} :
ngcli get {cur_link}
{/if}