mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 23:36:11 +01:00
This commit is contained in:
@@ -183,7 +183,7 @@ class MailServerManager(multi.Thread):
|
|||||||
checker = 0
|
checker = 0
|
||||||
count = 1
|
count = 1
|
||||||
for items in emails:
|
for items in emails:
|
||||||
dic = {'id': count, 'email': items.email}
|
dic = {'id': count, 'email': items.email, 'DiskUsage': '%sMB' % items.DiskUsage}
|
||||||
count = count + 1
|
count = count + 1
|
||||||
|
|
||||||
if checker == 0:
|
if checker == 0:
|
||||||
@@ -543,6 +543,7 @@ class MailServerManager(multi.Thread):
|
|||||||
|
|
||||||
for items in records:
|
for items in records:
|
||||||
dic = {'email': items.email,
|
dic = {'email': items.email,
|
||||||
|
'DiskUsage': '%sMB' % items.DiskUsage
|
||||||
}
|
}
|
||||||
|
|
||||||
if checker == 0:
|
if checker == 0:
|
||||||
|
|||||||
@@ -163,12 +163,14 @@
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{% trans "Emails" %}</th>
|
<th>{% trans "Emails" %}</th>
|
||||||
|
<th>{% trans "Disk Usage" %}</th>
|
||||||
<th>{% trans "Actions" %}</th>
|
<th>{% trans "Actions" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr ng-repeat="record in records track by $index">
|
<tr ng-repeat="record in records track by $index">
|
||||||
<td ng-bind="record.email"></td>
|
<td ng-bind="record.email"></td>
|
||||||
|
<td ng-bind="record.DiskUsage"></td>
|
||||||
<td>
|
<td>
|
||||||
<a data-toggle="modal" data-target="#settings"
|
<a data-toggle="modal" data-target="#settings"
|
||||||
ng-click="changePasswordInitial(record.email)"
|
ng-click="changePasswordInitial(record.email)"
|
||||||
|
|||||||
Reference in New Issue
Block a user