summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhys Tyers <mail@rhy.si>2022-10-22 23:17:45 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2022-10-23 12:48:39 +0200
commit0822765c82b25291bd9880f934abf0d98fd8e164 (patch)
tree2f274e1763cd4cd6aa6ecd3580df26f8a8dbe2eb
parenta50d0a427d3500361633f4d7799e29043b75f0d3 (diff)
Fix cron job warning layout in NC25
Signed-off-by: Rhys Tyers <mail@rhy.si>
-rw-r--r--CHANGELOG.md2
-rw-r--r--templates/part.content.warnings.php44
2 files changed, 25 insertions, 21 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 25bb93d12..f73e34f0e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,8 @@ The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1
### Changed
### Fixed
+- Fixed various keyboard navigation issues
+- Fix cron job warning notification layout on NC25
# Releases
## [19.0.0-beta1] - 2022-10-22
diff --git a/templates/part.content.warnings.php b/templates/part.content.warnings.php
index e8578b299..37cf1af9d 100644
--- a/templates/part.content.warnings.php
+++ b/templates/part.content.warnings.php
@@ -1,25 +1,27 @@
<?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>
+ <div style="<?= $_['nc_major_version'] >= 25 ? 'padding: 12px;' : ''; ?>">
+ <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>
+ </div>
</news-instant-notification>
<?php }; ?>