Skip to content

Commit

Permalink
Merge pull request #514 from appwrite/fix-QA-smtp-templates
Browse files Browse the repository at this point in the history
fix: QA smtp templates
  • Loading branch information
ArmanNik authored Aug 22, 2023
2 parents edabdfd + ed47d73 commit 56d71f4
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 25 deletions.
17 changes: 9 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"dependencies": {
"@analytics/google-analytics": "^1.0.5",
"@appwrite.io/console": "npm:christy-console@^0.4.0",
"@appwrite.io/pink": "^0.0.6-rc.14",
"@appwrite.io/pink": "0.1.0-next.3",
"@appwrite.io/pink-icons": "^0.1.0-next.3",
"@analytics/google-tag-manager": "^0.5.3",
"@popperjs/core": "^2.11.6",
"@sentry/svelte": "^7.44.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

<Form onSubmit={updatePersonalDataCheck}>
<CardGrid>
<Heading tag="h2" size="7">Personal Data</Heading>
<Heading tag="h2" size="7">Personal data</Heading>
<svelte:fragment slot="aside">
<FormList>
<InputSwitch
Expand All @@ -44,7 +44,7 @@
label="Disallow Personal Data" />
</FormList>
<p class="text">
Do now allow passwords that contain any part of the user's personal data. This
Do not allow passwords that contain any part of the user's personal data. This
includes the user's <code>name</code>, <code>email</code>, or <code>phone</code>.
</p>
</svelte:fragment>
Expand Down
24 changes: 12 additions & 12 deletions src/routes/console/project-[project]/settings/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -181,17 +181,17 @@
services are not accessible to client SDKs but remain accessible to server SDKs.
</p>
<svelte:fragment slot="aside">
<ul class="buttons-list u-main-end">
<li class="buttons-list-item">
<Button text={true} on:click={() => toggleAllServices(true)}
>Enable all</Button>
</li>
<li class="buttons-list-item">
<Button text={true} on:click={() => toggleAllServices(false)}
>Disable all</Button>
</li>
</ul>
<FormList>
<div>
<ul class="buttons-list u-main-end">
<li class="buttons-list-item">
<Button text={true} on:click={() => toggleAllServices(true)}
>Enable all</Button>
</li>
<li class="buttons-list-item">
<Button text={true} on:click={() => toggleAllServices(false)}
>Disable all</Button>
</li>
</ul>
<form class="form card-separator">
<ul class="form-list is-multiple">
{#each $services.list as service}
Expand All @@ -205,7 +205,7 @@
{/each}
</ul>
</form>
</FormList>
</div>
</svelte:fragment>
</CardGrid>
<CardGrid>
Expand Down
11 changes: 9 additions & 2 deletions src/routes/console/project-[project]/settings/smtp/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<script lang="ts">
import { CardGrid, Heading } from '$lib/components';
import { Button, Form, FormList, InputText, InputChoice } from '$lib/elements/forms';
import {
Button,
Form,
FormList,
InputText,
InputChoice,
InputEmail
} from '$lib/elements/forms';
import { Container } from '$lib/layout';
import { project } from '../../store';
import { onMount } from 'svelte/internal';
Expand Down Expand Up @@ -100,7 +107,7 @@
</InputChoice>

{#if enabled}
<InputText
<InputEmail
id="senderEmail"
label="Sender email"
bind:value={sender}
Expand Down

0 comments on commit 56d71f4

Please sign in to comment.