diff --git a/frontend/src/lib/components/git_sync/GitSyncRepositoryCard.svelte b/frontend/src/lib/components/git_sync/GitSyncRepositoryCard.svelte index b835f1f697..a9282c24c5 100644 --- a/frontend/src/lib/components/git_sync/GitSyncRepositoryCard.svelte +++ b/frontend/src/lib/components/git_sync/GitSyncRepositoryCard.svelte @@ -179,10 +179,10 @@ const displayTitle = $derived( variant === 'primary-sync' ? mode === 'sync' - ? 'Sync mode' - : 'Promotion mode' + ? 'Git Sync' + : 'Git Promotion' : variant === 'primary-promotion' - ? 'Promotion mode' + ? 'Git Promotion' : isLegacy ? 'Legacy promotion repository' : isSecondary @@ -206,7 +206,7 @@ ? mode === 'sync' ? `Changes will be committed directly to the ${targetOrDefaultBranch} branch` : mode === 'promotion' - ? `Changes will be made to new branches whose promotion target is the ${targetOrDefaultBranch} branch` + ? `Changes will be made to new branches whose promotion target is the ${targetOrDefaultBranch} branch of the repo to promote to. Remember to also setup Git Sync between the promotion workspace and repo for changes to be deployed when these branches are merged.` : null : null ) @@ -393,7 +393,9 @@ {:else if resourceInfo?.url}
{resourceInfo.url}
+ {resourceInfo.url}
{displayDescription}
+{displayDescription} + {#if mode === 'promotion'} + Learn more about Git Promotion + {/if} +
{/if}{#if mode === 'sync'} - No sync repository configured. Add one to enable direct synchronization. + No Git Sync repository configured. Add one to enable direct synchronization. {:else if mode === 'promotion'} - No promotion repository configured. Add one to enable branch-based workflows. + No Git Promotion repository configured. Add one to enable branch-based workflows. {:else} No repository configured. {/if}