Finish most of the new file viewer
This commit is contained in:
1 parent
478dfeb11b
commit
3c92885602
11 files changed
+975
-157
No files matched your search
@@ -400,7 +400,8 @@ const keydown = (e) => {
|
||||
on:beforeunload={leave_confirmation} />
|
||||
|
||||
<div>
|
||||
{#if window.user.username !== ""}
|
||||
<!-- If the user is logged in and has used more than 50% of their storage space we will show a progress bar -->
|
||||
{#if window.user.username !== "" && window.user.storage_space_used/window.user.subscription.storage_space > 0.5}
|
||||
<div class="limit_width">
|
||||
<StorageProgressBar used={window.user.storage_space_used} total={window.user.subscription.storage_space}></StorageProgressBar>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user