{#if isDev && parentId}

This is a {devLabelNoun(currentWs?.dev_workspace_label)} paired with root workspace {parentId}. Promote changes from the home page banner or the Compare & Deploy page.

Cosmetic label: {devBadgeText(currentLabel)}
{:else if pairedDev}

This workspace's {devLabelNoun(pairedDev.label)} is {pairedDev.name} ({pairedDev.id}). Edits to this workspace are redirected there.

{#if pairedDev.isMember} {/if}
{:else if parentId}

Dev workspace pairing is only available for root workspaces. This workspace is a fork of {parentId}.

{:else}

Pair this workspace with a dev workspace: the same code with a different environment (resource and variable values). Edits are made in the dev workspace and promoted here.

Attach an existing workspace as dev