mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
improve: keep a standard pattern.
This commit is contained in:
1 parent
3556e11e14
commit
81f534d85c
1 file changed
+8
-3
@@ -113,10 +113,15 @@
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="tooltip" let:limit let:tier let:upgradeMethod>
|
||||
{#if tier === 'Starter'}
|
||||
<p class="u-bold">The {tier} plan has limits</p>
|
||||
<ul>
|
||||
<li>{limit}GB total file storage</li>
|
||||
<li>
|
||||
{Math.floor(parseInt(maxFileSize.value))}{maxFileSize.unit} file upload size
|
||||
limit
|
||||
</li>
|
||||
</ul>
|
||||
<p class="text">
|
||||
You are limited to <b>{limit}GB</b> of total storage and maximum upload file
|
||||
size limit of <b>{Math.floor(parseInt(maxFileSize.value))}{maxFileSize.unit}</b>
|
||||
on the {tier} plan.
|
||||
<button class="link" type="button" on:click|preventDefault={upgradeMethod}
|
||||
>Upgrade</button>
|
||||
for additional storage.
|
||||
|
||||
Reference in new issue
Block a user