diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2016-02-26 17:51:20 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2016-02-29 16:50:34 +0100 |
commit | 87e47afed85521439c351ae30e9849f0a74a399d (patch) | |
tree | a644b7fe1d822deaeee9fb86fd9d10cc952ddf9d /apps/federation/templates | |
parent | 7189c72c33a03d57473f7e3443193d07bece7c15 (diff) | |
download | nextcloud-server-87e47afed85521439c351ae30e9849f0a74a399d.tar.gz nextcloud-server-87e47afed85521439c351ae30e9849f0a74a399d.zip |
remove synced remote address book if the remote server revoked access to his system address book
Diffstat (limited to 'apps/federation/templates')
-rw-r--r-- | apps/federation/templates/settings-admin.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/federation/templates/settings-admin.php b/apps/federation/templates/settings-admin.php index 854bb744179..77c552ee789 100644 --- a/apps/federation/templates/settings-admin.php +++ b/apps/federation/templates/settings-admin.php @@ -26,7 +26,11 @@ style('federation', 'settings-admin') <li id="<?php p($trustedServer['id']); ?>" class="icon-delete"> <?php if((int)$trustedServer['status'] === TrustedServers::STATUS_OK) { ?> <span class="status success"></span> - <?php } elseif((int)$trustedServer['status'] === TrustedServers::STATUS_PENDING) { ?> + <?php + } elseif( + (int)$trustedServer['status'] === TrustedServers::STATUS_PENDING || + (int)$trustedServer['status'] === TrustedServers::STATUS_ACCESS_REVOKED + ) { ?> <span class="status indeterminate"></span> <?php } else {?> <span class="status error"></span> |