Drop disk & transfer usage as always shows N/A

Show it again when valuable information could be provided
to the user.
This commit is contained in:
Santiago L 2024-01-29 17:29:53 +01:00
parent 0b31049f0b
commit 0695099980
1 changed files with 0 additions and 18 deletions

View File

@ -67,24 +67,6 @@ class DashboardView(CustomContextMixin, UserTokenRequiredMixin, TemplateView):
# TODO(@slamora) update when backend provides resource usage data # TODO(@slamora) update when backend provides resource usage data
resource_usage = { 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), 'mailbox': self.get_mailbox_usage(profile_type),
} }