Add email view summary

This commit is contained in:
Girish Ramakrishnan
2020-02-20 12:35:51 -08:00
parent 5fd575a217
commit af8bb1f0e8
3 changed files with 34 additions and 2 deletions

View File

@@ -55,7 +55,8 @@
<thead>
<tr>
<th style="width: 5%"></th>
<th style="width: 85%">Domain</th>
<th style="width: 30%">Domain</th>
<th style="width: 60%">Config</th>
<th style="width: 10%">Actions</th>
</tr>
</thead>
@@ -68,6 +69,15 @@
<td class="elide-table-cell no-padding">
<a href="/#/email/{{ domain.domain }}" class="email-domain-list-item">{{ domain.domain }}</a>
</td>
<td class="elide-table-cell no-padding">
<a href="/#/email/{{ domain.domain }}" class="email-domain-list-item">
<span ng-show="domain.inbound && domain.outbound">
{{ domain.mailboxCount }} Mailbox(es) / Usage: {{ domain.usage | prettyDiskSize }}
</span>
<span ng-show="!domain.inbound && domain.outbound">Outbound only</span>
<span ng-show="!domain.inbound && !domain.outbound">Disabled</span>
</a>
</td>
<td class="text-right no-wrap">
<button class="btn btn-xs btn-default" ng-click="testEmail.show(domain)" uib-tooltip="Send Test Email"><i class="fa fa-paper-plane"></i></button>
<a href="/#/email/{{ domain.domain }}" class="btn btn-xs btn-default"><i class="fa fa-pencil-alt"></i></a>