Calculate and display mailbox sizes in user list

このコミットが含まれているのは:
John Supplee
2019-01-29 19:18:48 +02:00
コミット f68ef70b94
2個のファイルの変更、20行の追加、0行の削除
+3
ファイルの表示
@@ -42,6 +42,7 @@
<thead>
<tr>
<th width="35%">Email Address</th>
<th>Box Size</th>
<th>Quota</th>
<th>Actions</th>
</tr>
@@ -55,6 +56,7 @@
<tr id="user-template">
<td class='address'>
</td>
<td class="box-size"></td>
<td class="quota">
</td>
<td class='actions'>
@@ -161,6 +163,7 @@ function show_users() {
n.attr('data-email', user.email);
n.attr('data-quota', user.quota);
n.find('.address').text(user.email);
n.find('.box-size').text(user.box_size);
n.find('.quota').text((user.quota == '0') ? 'unlimited' : user.quota);
n2.find('.restore_info tt').text(user.mailbox);