{#if errorMsgs.length != 0}
{#each errorMsgs as errorMsg}
- {errorMsg}
{/each}
{#if failedSyncJobs.length != 0}
More details on the jobs that failed:
{#await fetchFailedSyncJobs(failedSyncJobs)}
{:then failedJobs}
{#each failedJobs as job}
-
{job.id}
{#if isPathVersionLessThan(job.script_path, 28073)}
This job was not running the latest version of the git sync script available
on the hub. You might be able to solve this issue by going to `Workspace
Settings` -> `Git Sync` and updating the script.
{/if}
{/each}
{:catch error}
Tried to fetch jobs to get more information, but failed: {error}. Here are the failed
job ids:
{#each failedSyncJobs as jobId}
-
{jobId}
{/each}
{/await}
{/if}
{/if}
{#if !isFork}
Workspace name
Displayable name
{/if}
{#if isFork}
Fork ID
Unique name of your fork (this will also set the branch name)
{:else}
Workspace ID
Slug to uniquely identify your workspace
{/if}
{#if isFork && !createAsDevWorkspace}
{:else}
{/if}
{#if errorId}
{errorId}
{#if forkIdTaken}
(deleteExistingForkOpen = true)}
>
Permanently delete existing fork
Frees up the id so you can reuse it (fork owner or superadmin only)
{/if}
{/if}
{#snippet header()}
(optional)
{/snippet}
Color to identify the current workspace in the list of workspaces
{#if colorEnabled}
Random
{/if}
{#if isFork && colorEnabled}
{/if}
{#if !isFork && !isCloudHosted() && $enterpriseLicense}
{#snippet header()}
(optional)
{/snippet}
Until this workspace has its own error handler, report failed jobs to the Slack, Teams
and email channels a superadmin configured in the instance critical alert settings.
{/if}
{#if isFork && canDesignateDevWorkspace}
Create a standing dev workspace (no wm-fork- prefix) paired with this workspace,
instead of a throwaway fork.
{#if createAsDevWorkspace}
Protect {currentWorkspaceName}
Adds protection rules to the base workspace so changes are made in the new dev
workspace and promoted there.
{#if deployLocked}
{#if rootAlreadyBlocksDeploy}
Already enforced by an existing protection rule
{/if}
{:else}
{/if}
{#if forkingLocked}
{#if rootAlreadyBlocksForking}
Already enforced by an existing protection rule
{/if}
{:else}
{/if}
{/if}
{/if}
{#if isFork && createAsDevWorkspace}
Copy this workspace's members (and their group memberships) into the dev workspace so
the team can work in it.
{/if}
{#if isFork}
Base workspace
(optional)
{#if createAsDevWorkspace}
A dev workspace is paired with the workspace it is based on, which here is {currentWorkspaceName}.
{:else}
Workspace to fork from: the new branch is based on the selected workspace's branch.
Pick an existing fork to create a fork of a fork.
{/if}
{#if baseAddsAdminsAndDevelopers && !(createAsDevWorkspace && copyMembers)}
{baseWorkspaceId} adds its admins and developers to every new fork, with the role they have
there.
{/if}
{/if}
{#if isFork}
{
completeFork(effectiveForkId)
}}
onCanceled={() => {
forkCreationLoading = false
}}
/>
{/if}
{#if !automateUsernameCreation}
{#if errorUser}
{errorUser}
{/if}
{/if}
{#if !isFork}
{#if !isCloudHosted() || isDomainAllowed === true}
{isCloudHosted()
? `Auto-${autoAdd ? 'add' : 'invite'} anyone from ${domain}`
: `Auto-${autoAdd ? 'add' : 'invite'} anyone joining the instance`}
{#if auto_invite}
{#if isCloudHosted()}
Mode
Whether to invite or add users directly to the workspace.
{
autoAdd = e.detail === 'add'
}}
>
{#snippet children({ item })}
{/snippet}
{/if}
Role
Role of the auto-invited users
{
operatorOnly = e.detail == 'operator'
}}
>
{#snippet children({ item })}
{/snippet}
{/if}
{/if}
{/if}