From 069509998053ba918656782664f9ad30f3e01a38 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Mon, 29 Jan 2024 17:29:53 +0100 Subject: [PATCH] Drop disk & transfer usage as always shows N/A Show it again when valuable information could be provided to the user. --- orchestra/contrib/musician/views.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/orchestra/contrib/musician/views.py b/orchestra/contrib/musician/views.py index f90e52b8..549a796e 100644 --- a/orchestra/contrib/musician/views.py +++ b/orchestra/contrib/musician/views.py @@ -67,24 +67,6 @@ class DashboardView(CustomContextMixin, UserTokenRequiredMixin, TemplateView): # TODO(@slamora) update when backend provides resource usage data resource_usage = { - 'disk': { - 'verbose_name': _('Disk usage'), - 'data': { - # 'usage': 534, - # 'total': 1024, - # 'unit': 'MB', - # 'percent': 50, - }, - }, - 'traffic': { - 'verbose_name': _('Traffic'), - 'data': { - # 'usage': 300, - # 'total': 2048, - # 'unit': 'MB/month', - # 'percent': 25, - }, - }, 'mailbox': self.get_mailbox_usage(profile_type), }