mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix: deployment title, hide gh button on signup in self hosted
This commit is contained in:
1 parent
8a0436b220
commit
25b77441fe
3 files changed
+12
-9
No files matched your search
+1
-1
@@ -18,7 +18,7 @@
|
||||
},
|
||||
{
|
||||
href: `/console/project-${$project?.$id}/functions/function-${$func?.$id}/deployment-${$deployment?.$id}`,
|
||||
title: 'Deployment details'
|
||||
title: 'Deployment'
|
||||
}
|
||||
];
|
||||
</script>
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
<Cover>
|
||||
<svelte:fragment slot="header">
|
||||
<CoverTitle href={`/console/project-${projectId}/functions/function-${functionId}`}>
|
||||
Deployment details
|
||||
Deployment
|
||||
</CoverTitle>
|
||||
<Id value={$deployment.$id}>{$deployment.$id}</Id>
|
||||
</svelte:fragment>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { Submit, trackError, trackEvent } from '$lib/actions/analytics';
|
||||
import { ID } from '@appwrite.io/console';
|
||||
import { isCloud } from '$lib/system';
|
||||
|
||||
let name: string, mail: string, pass: string, disabled: boolean;
|
||||
let terms = false;
|
||||
@@ -95,13 +96,15 @@
|
||||
<FormItem>
|
||||
<Button fullWidth submit {disabled}>Sign up</Button>
|
||||
</FormItem>
|
||||
<span class="with-separators eyebrow-heading-3">or</span>
|
||||
<FormItem>
|
||||
<Button github fullWidth on:click={onGithubLogin} {disabled}>
|
||||
<span class="icon-github" aria-hidden="true" />
|
||||
<span class="text">Sign up with GitHub</span>
|
||||
</Button>
|
||||
</FormItem>
|
||||
{#if isCloud}
|
||||
<span class="with-separators eyebrow-heading-3">or</span>
|
||||
<FormItem>
|
||||
<Button github fullWidth on:click={onGithubLogin} {disabled}>
|
||||
<span class="icon-github" aria-hidden="true" />
|
||||
<span class="text">Sign up with GitHub</span>
|
||||
</Button>
|
||||
</FormItem>
|
||||
{/if}
|
||||
</FormList>
|
||||
</Form>
|
||||
</svelte:fragment>
|
||||
|
||||
Reference in new issue
Block a user