mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
design fixes
This commit is contained in:
1 parent
fcf7b0edea
commit
30a7caf306
1 file changed
+17
-1
@@ -23,6 +23,7 @@
|
||||
import { isOwner } from '$lib/stores/roles';
|
||||
import Edit from './edit.svelte';
|
||||
import { getRoleLabel } from '$lib/stores/billing';
|
||||
import { BillingPlan } from '$lib/constants';
|
||||
|
||||
export let data: PageData;
|
||||
|
||||
@@ -83,7 +84,8 @@
|
||||
</button>
|
||||
<svelte:fragment slot="list">
|
||||
<div class="u-flex u-flex-vertical u-gap-8 u-break-word">
|
||||
<p class="u-bold">Roles</p>
|
||||
<p><span class="u-bold">Roles</span> {#if $organization?.billingPlan === BillingPlan.FREE} <span class="inline-tag">Pro plan</span> {/if}</p>
|
||||
{#if $organization?.billingPlan != BillingPlan.FREE}
|
||||
<p>
|
||||
Owner, Developer <span class="inline-tag">Default</span>,
|
||||
Editor, Analyst, Billing.
|
||||
@@ -95,6 +97,20 @@
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">Learn more</a> about roles.
|
||||
</p>
|
||||
{:else}
|
||||
<p>
|
||||
Owner, <span class="u-color-text-disabled">Developer,
|
||||
Editor, Analyst.</span>
|
||||
</p>
|
||||
<p class="u-flex u-main-end u-cross-center u-gap-12">
|
||||
<a
|
||||
class="link"
|
||||
href="http://appwrite.io/docs/roles"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer">Learn more</a>
|
||||
<a class="button is-secondary" href="upgrade">Upgrade plan</a>
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
</svelte:fragment>
|
||||
</DropList>
|
||||
|
||||
Reference in new issue
Block a user