mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Merge pull request #1057 from ItzNotABug/fix-add-file-size-limit-info
Improve Bucket Limits Message
This commit is contained in:
1 file changed
+9
-4
@@ -113,13 +113,18 @@
|
||||
</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 {limit} GB of total storage and {Math.floor(
|
||||
parseInt(maxFileSize.value)
|
||||
)}{maxFileSize.unit} on the {tier} plan.
|
||||
<button class="link" type="button" on:click|preventDefault={upgradeMethod}
|
||||
>Upgrade</button>
|
||||
for additional storage.
|
||||
for additional storage resources.
|
||||
</p>
|
||||
{:else}
|
||||
<p class="text">
|
||||
|
||||
Reference in new issue
Block a user