{#if !source.githubAppId}
General
{#if source.apiUrl && source.htmlUrl && source.name}
Create new GitHub App
{/if}
Name
HTML URL
API URL
Organization
{:else if source.githubApp?.installationId}
{$t('general')}
{#if $session.isAdmin}
{loading ? 'Saving...' : 'Save'}
installRepositories(source)} >{$t('source.change_app_settings', { name: 'GitHub' })}
{/if}
{$t('forms.name')}
HTML URL
API URL
Organization
{:else}
installRepositories(source)} >Install Repositories
{/if}