summaryrefslogtreecommitdiffstats
path: root/templates-old/part.content.warnings.php
diff options
context:
space:
mode:
authorHK2FB <tom.schmidt@helsana.ch>2022-05-15 13:16:56 +0200
committerSean Molenaar <sean@seanmolenaar.eu>2022-05-22 16:07:30 +0200
commitb036d309c27132e4f10df952e9335afdb3edfeb5 (patch)
treee888f1fa178f2fe36baefcfb2ccc080ef27645ce /templates-old/part.content.warnings.php
parent50c8960f8d36ab6012f62034f815561078380dc0 (diff)
Vue Rewrite
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
Diffstat (limited to 'templates-old/part.content.warnings.php')
-rw-r--r--templates-old/part.content.warnings.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates-old/part.content.warnings.php b/templates-old/part.content.warnings.php
new file mode 100644
index 000000000..e8578b299
--- /dev/null
+++ b/templates-old/part.content.warnings.php
@@ -0,0 +1,25 @@
+<?php if ($_['warnings']['improperlyConfiguredCron']) { ?>
+ <news-instant-notification id="cron-warning">
+ <p><?php p($l->t('Ajax or webcron mode detected! Your feeds will not be updated!')); ?></p>
+ <ul>
+ <li>
+ <a href="https://docs.nextcloud.org/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#cron"
+ target="_blank"
+ rel="noreferrer">
+ <?php
+ p($l->t('How to set up the operating system cron'));
+ ?>
+ </a>
+ </li>
+ <li>
+ <a href="https://github.com/nextcloud/news-updater"
+ target="_blank"
+ rel="noreferrer">
+ <?php
+ p($l->t('Install and set up a faster parallel updater that uses the News app\'s update API'));
+ ?>
+ </a>
+ </li>
+ </ul>
+ </news-instant-notification>
+<?php }; ?>