storage cards on dash

This commit is contained in:
2025-05-31 13:00:06 +02:00
parent 90bca4c93b
commit 4bd5180b87
8 changed files with 110 additions and 6 deletions

View File

@@ -24,6 +24,7 @@
{% from 'components/trash.html' import trash %}
{% from 'components/trash_type.html' import trash_type %}
{% from 'components/recent_activity.html' import recent_activity %}
{% from 'components/conversation_storage.html' import conversation_storage %}
<style>
.masonry {
@@ -47,6 +48,7 @@
{{ storage_overview(room_count, file_count, folder_count, total_size) }}
{{ storage_usage(storage_by_type) }}
{{ recent_activity(recent_events, is_admin) }}
{{ conversation_storage(conversation_count, message_count, attachment_count, conversation_total_size, recent_conversations) }}
{% if current_user.is_admin %}
{{ contacts(recent_contacts) }}