{#if !source.gitlabApp?.appId}
{$t('source.gitlab.gitlab_application_type')}
{$t('source.gitlab.user_owned')}
{$t('source.gitlab.group_owned')}
{#if source.htmlUrl !== 'https://gitlab.com'}
{$t('source.gitlab.self_hosted')}
{/if}
{#if payload.applicationType === 'group'}
{$t('source.group_name')}
{/if}
{$t('source.register_oauth_gitlab')}
{$t('forms.configuration')}
{loading ? $t('forms.saving') : $t('forms.save')}
{$t('source.oauth_id')}
{#if payload.applicationType === 'group'}
{$t('source.group_name')}
{/if}
{$t('source.application_id')}
{$t('index.secret')}
{:else}
General
{#if $session.isAdmin}
{loading ? $t('forms.saving') : $t('forms.save')}
{$t('source.change_app_settings', { name: 'GitLab' })}
{/if}
{$t('forms.name')}
{/if}