Show mail eventlog type also as icon

This commit is contained in:
Johannes Zellner
2020-02-12 15:52:39 +01:00
parent a92dc1ad73
commit 59c5f22dbd

View File

@@ -98,9 +98,9 @@
<tr>
<th style="width: 5%"><!-- Direction --></th>
<th style="width: 15%">Time</th>
<th style="width: 10%">Type</th>
<th style="width: 30%">From</th>
<th style="width: 30%">To</th>
<th style="width: 5%"><!-- Type --></th>
</tr>
</thead>
<tbody ng-show="activity.busy">
@@ -117,9 +117,15 @@
<i class="fas fa-download" ng-show="eventlog.direction === 'inbound'" uib-tooltip="Incoming"></i>
</td>
<td class="no-wrap"><span uib-tooltip="{{ eventlog.ts | prettyLongDate }}" class="arrow">{{ eventlog.ts | prettyDate }}</span></td>
<td>{{ eventlog.type }}</td>
<td class="elide-table-cell">{{ eventlog.mailFrom | prettyEmailAddresses }}</td>
<td class="elide-table-cell">{{ eventlog.rcptTo | prettyEmailAddresses }}</td>
<td class="no-wrap">
<i class="fas fa-check" ng-show="eventlog.type === 'received'" uib-tooltip="Received"></i>
<i class="fas fa-check" ng-show="eventlog.type === 'delivered'" uib-tooltip="Delivered"></i>
<i class="fas fa-tasks" ng-show="eventlog.type === 'queued'" uib-tooltip="Queued"></i>
<i class="fas fa-ban" ng-show="eventlog.type === 'denied'" uib-tooltip="Denied"></i>
<!-- {{ eventlog.type }} -->
</td>
</tr>
<tr ng-show="activity.activeEventLog === eventlog">
<td colspan="5">