summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-04-13 21:09:18 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2016-04-13 21:09:18 +0200
commitdb10a37080730d3a1957b858f8bdc1710801bcbe (patch)
treebe622672fa5bee033b59594dc33060fac7f71b55 /templates
parent87cd4f362396d754632bad842daedac4d8741307 (diff)
Better cron warning message, do not run feed updates when in ajax or web cron mode
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.cronwarning.php33
1 files changed, 16 insertions, 17 deletions
diff --git a/templates/part.content.cronwarning.php b/templates/part.content.cronwarning.php
index ca3371ddb..3adfee2b7 100644
--- a/templates/part.content.cronwarning.php
+++ b/templates/part.content.cronwarning.php
@@ -1,24 +1,23 @@
<?php if ($_['cronWarning']) { ?>
<news-instant-notification id="cron-warning">
<p><?php p($l->t('Ajax or Web cron mode detected! Your feeds will not be updated!')); ?></p>
- <ul>
- <li>
- <a href="https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/background_jobs_configuration.html#cron"
- target="_blank">
+ <ul>
+ <li>
+ <a href="https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/background_jobs_configuration.html#cron"
+ target="_blank">
<?php
- p($l->t('How to set up the operating system cron'));
+ p($l->t('How to set up the operating system cron'));
?>
- </a>
- </li>
- <li>
- <a href="https://github.com/owncloud/news-updater"
- target="_blank">
- <?php
- p($l->t('Install and set up a faster parallel updater that uses the News app\'s update API'));
- ?>
- </a>
- </li>
- </ul>
- </p>
+ </a>
+ </li>
+ <li>
+ <a href="https://github.com/owncloud/news-updater"
+ target="_blank">
+ <?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 }; ?>