{#if grant.calls.length || grant.data.length || grant.spaces.length}
{words.setRequests}
{#if grant.calls.length}
| {words.call} | {words.towards} |
{#each grant.calls as { aud, towards, methods } (aud)}
{#each methods as method, i (method)}
| {@render code(method)} |
{#if i === 0}{#if typeof towards === 'string'}{towards}{:else}{@render code(towards.code)}{/if} | {/if}
{/each}
{/each}
{/if}
{#if grant.data.length}
| {words.data} | {#each words.actions as action (action)}{action} | {/each}
{#each grant.data as { collection, actions } (collection)}
| {@render code(collection)} |
{#each actions as asked, i (i)}{#if asked}{/if} | {/each}
{/each}
{/if}
{#each grant.spaces as space, i (i)}
{#each space.heading as part, j (j)}{#if typeof part === 'string'}{part}{:else}{@render code(part.code)}{/if}{/each}
{space.sentence}
{/each}
{:else}
{words.setGrantsNothing}
{/if}