{#if mode === 'promotion'}
Promotion: Creating branches whose promotion target is {targetBranch? `'${targetBranch}'` :
"the repo's default branch"}
{#if repository?.group_by_folder}
Grouped by folder
{/if}
{:else if targetBranch}
Sync: Syncing back to branch '{targetBranch}'
{:else}
Sync: Syncing back to the repo's default branch
{/if}