Fix cron job warning layout in NC25
Signed-off-by: Rhys Tyers <mail@rhy.si>
This commit is contained in:
parent
a50d0a427d
commit
0822765c82
|
@ -7,6 +7,8 @@ The format is mostly based on [Keep a Changelog](https://keepachangelog.com/en/1
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- Fixed various keyboard navigation issues
|
||||||
|
- Fix cron job warning notification layout on NC25
|
||||||
|
|
||||||
# Releases
|
# Releases
|
||||||
## [19.0.0-beta1] - 2022-10-22
|
## [19.0.0-beta1] - 2022-10-22
|
||||||
|
|
|
@ -1,25 +1,27 @@
|
||||||
<?php if ($_['warnings']['improperlyConfiguredCron']) { ?>
|
<?php if ($_['warnings']['improperlyConfiguredCron']) { ?>
|
||||||
<news-instant-notification id="cron-warning">
|
<news-instant-notification id="cron-warning">
|
||||||
<p><?php p($l->t('Ajax or webcron mode detected! Your feeds will not be updated!')); ?></p>
|
<div style="<?= $_['nc_major_version'] >= 25 ? 'padding: 12px;' : ''; ?>">
|
||||||
<ul>
|
<p><?php p($l->t('Ajax or webcron mode detected! Your feeds will not be updated!')); ?></p>
|
||||||
<li>
|
<ul>
|
||||||
<a href="https://docs.nextcloud.org/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#cron"
|
<li>
|
||||||
target="_blank"
|
<a href="https://docs.nextcloud.org/server/latest/admin_manual/configuration_server/background_jobs_configuration.html#cron"
|
||||||
rel="noreferrer">
|
target="_blank"
|
||||||
<?php
|
rel="noreferrer">
|
||||||
p($l->t('How to set up the operating system cron'));
|
<?php
|
||||||
?>
|
p($l->t('How to set up the operating system cron'));
|
||||||
</a>
|
?>
|
||||||
</li>
|
</a>
|
||||||
<li>
|
</li>
|
||||||
<a href="https://github.com/nextcloud/news-updater"
|
<li>
|
||||||
target="_blank"
|
<a href="https://github.com/nextcloud/news-updater"
|
||||||
rel="noreferrer">
|
target="_blank"
|
||||||
<?php
|
rel="noreferrer">
|
||||||
p($l->t('Install and set up a faster parallel updater that uses the News app\'s update API'));
|
<?php
|
||||||
?>
|
p($l->t('Install and set up a faster parallel updater that uses the News app\'s update API'));
|
||||||
</a>
|
?>
|
||||||
</li>
|
</a>
|
||||||
</ul>
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</news-instant-notification>
|
</news-instant-notification>
|
||||||
<?php }; ?>
|
<?php }; ?>
|
||||||
|
|
Loading…
Reference in New Issue