mail: move config eventlogs to box code

This commit is contained in:
Girish Ramakrishnan
2020-09-09 22:24:38 -07:00
parent 59ea292263
commit 4cffcfff03

View File

@@ -309,11 +309,7 @@
<i class="fas fa-align-justify" ng-show="eventlog.type === 'queued'" uib-tooltip="Queued"></i>
<i class="fas fa-minus-circle" ng-show="eventlog.type === 'denied'" uib-tooltip="Denied"></i>
<i class="fas fa-hand-paper" ng-show="eventlog.type === 'bounce'" uib-tooltip="Bounce"></i>
<i class="fas fa-filter" ng-show="eventlog.type === 'spam-learn'" uib-tooltip="Spam filter trained"></i>
<i class="fas fa-cog" ng-show="eventlog.type === 'max-email-size'" uib-tooltip="Settings changed"></i>
<i class="fas fa-cog" ng-show="eventlog.type === 'spam-acl'" uib-tooltip="Blacklisted address in spam configuration"></i>
<i class="fas fa-cog" ng-show="eventlog.type === 'spam-config'" uib-tooltip="Custom spam configuration"></i>
</td>
<i class="fas fa-filter" ng-show="eventlog.type === 'spam-learn'" uib-tooltip="Spam filter trained"></i> </td>
<td class="no-wrap"><span uib-tooltip="{{ eventlog.ts | prettyLongDate }}" class="arrow">{{ eventlog.ts | prettyDate }}</span></td>
<td>
<span ng-show="eventlog.type === 'bounce'">Sent bounce to {{ eventlog.mailFrom | prettyEmailAddresses }} for mail sent to {{ eventlog.rcptTo | prettyEmailAddresses }}. {{ eventlog.details.message || eventlog.details.reason }}</span>
@@ -331,9 +327,6 @@
<span ng-show="eventlog.type === 'denied'">Connection from {{ eventlog.remote.ip }} denied. {{ eventlog.details.message || eventlog.details.reason }}</span>
<span ng-show="eventlog.type === 'spam-learn'">Spam filter trained using mailbox content</span>
<span ng-show="eventlog.type === 'max-email-size'">Maximum email size was set to {{ eventlog.size | prettyDiskSize }} </span>
<span ng-show="eventlog.type === 'spam-acl'">Set {{ eventlog.blacklist.length }} address(es) in the spam blacklist </span>
<span ng-show="eventlog.type === 'spam-config'">Custom spam configuration was {{ eventlog.config ? 'set' : 'unset' }} </span>
</td>
</tr>
<tr ng-show="activity.activeEventLog === eventlog">