Reconfigure email apps when email is enabled/disabled

This commit is contained in:
Girish Ramakrishnan
2018-08-12 13:13:52 -07:00
parent 4dacf7064f
commit 31a62313bb
2 changed files with 22 additions and 2 deletions

View File

@@ -16,6 +16,8 @@
<br/><br/>
If this domain is already configured to handle email with some other provider, it will overwrite those records.
</div>
<br/>
<div>Any installed webmail clients will be automatically re-configured to reflect this change.</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
@@ -33,12 +35,14 @@
<h4 class="modal-title">Cloudron Email Server</h4>
</div>
<div class="modal-body">
This will disable the Cloudron Email Server for {{selectedDomain.domain}}.
<div>This will disable the Cloudron Email Server for {{selectedDomain.domain}}.</div>
<br/>
<div>Any installed webmail clients will be automatically re-configured to reflect this change.</div>
<br/>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-success" ng-click="incomingEmail.disable()">Disable</button>
<button type="button" class="btn btn-danger" ng-click="incomingEmail.disable()">Disable</button>
</div>
</div>
</div>