diff --git a/web/src/lib/components/server-statistics/ServerStatisticsPanel.svelte b/web/src/lib/components/server-statistics/ServerStatisticsPanel.svelte index 6c188d3fea..4d66142e44 100644 --- a/web/src/lib/components/server-statistics/ServerStatisticsPanel.svelte +++ b/web/src/lib/components/server-statistics/ServerStatisticsPanel.svelte @@ -1,9 +1,21 @@ {#snippet row(viewName: string, stats: AssetStatsResponseDto)} -
{$t('photos_and_videos')}
-| {$t('view_name')} | -{$t('photos')} | -{$t('videos')} | -{$t('total')} | -
|---|
{$t('albums')}
-| {$t('owned')} | -{$t('shared')} | -
|---|---|
| {albumStats.owned.toLocaleString($locale)} | -{albumStats.shared.toLocaleString($locale)} | -
| {$t('name')} | -{$t('owner')} | -{$t('photos')} | -{$t('videos')} | -{$t('size')} | -- |
|---|
| {library.name} | -- {owners[library.id].name} - | -- {photos.toLocaleString($locale)} - | -- {videos.toLocaleString($locale)} - | -- {diskUsage} - {diskUsageUnit} - | - -
+ |
-
| {$t('email')} | -{$t('name')} | -{$t('has_quota')} | -
|---|
| - {user.email} - | -{user.name} | -
+
{#if user.quotaSizeInBytes !== null && user.quotaSizeInBytes >= 0}
{getByteUnitString(user.quotaSizeInBytes, $locale)}
@@ -77,16 +86,14 @@
- |
-
+
+ |
-