summaryrefslogtreecommitdiffstats
path: root/apps/settings/templates
diff options
context:
space:
mode:
authorVitor Mattos <vitor@php.rio>2021-10-21 13:24:53 -0300
committerJoas Schilling <coding@schilljs.com>2021-10-23 00:54:51 +0200
commit6f7ca3432c0e6d1e1925179e952f79c6273295f3 (patch)
tree94b3f805934b6a1bceca94ea36ef5d9cbcd4e11b /apps/settings/templates
parente55ceb2bb1c22105cd46533f8b41157c52e5da2d (diff)
downloadnextcloud-server-6f7ca3432c0e6d1e1925179e952f79c6273295f3.tar.gz
nextcloud-server-6f7ca3432c0e6d1e1925179e952f79c6273295f3.zip
show warning on personal settings page
Signed-off-by: Vitor Mattos <vitor@php.rio>
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/settings/personal/personal.info.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/settings/templates/settings/personal/personal.info.php b/apps/settings/templates/settings/personal/personal.info.php
index d258f616229..4cd0e4e34d6 100644
--- a/apps/settings/templates/settings/personal/personal.info.php
+++ b/apps/settings/templates/settings/personal/personal.info.php
@@ -35,6 +35,13 @@ script('settings', [
'vue-settings-personal-info',
]);
?>
+<?php if (!$_['isFairUseOfFreePushService']) : ?>
+ <div class="section">
+ <div class="warning">
+ <?php p($l->t('This community release of Nextcloud is unsupported and instant notifications are unavailable.')); ?>
+ </div>
+ </div>
+<?php endif; ?>
<div id="personal-settings" data-federation-enabled="<?php p($_['federationEnabled'] ? 'true' : 'false') ?>"
data-lookup-server-upload-enabled="<?php p($_['lookupServerUploadEnabled'] ? 'true' : 'false') ?>">