aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-07-14 23:10:07 +0200
committerGravatar GitHub <noreply@github.com> 2025-07-14 23:10:07 +0200
commit8a44d1045a49aa04d16af0bd4c8a0d56cadf1be3 (patch)
treec2a3027ac5b72a2b51bd7f9a1b9b65fc309df100 /app
parenta7e29fa2587e97f026a6f894d8c9e5917ee99148 (diff)
Honor "disable update" on index page (#7733)
fix https://github.com/FreshRSS/FreshRSS/issues/7272
Diffstat (limited to 'app')
-rw-r--r--app/views/update/index.phtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/update/index.phtml b/app/views/update/index.phtml
index 63d7cca75..3bebb2a79 100644
--- a/app/views/update/index.phtml
+++ b/app/views/update/index.phtml
@@ -48,6 +48,7 @@
</div>
</div>
+ <?php if (!FreshRSS_Context::systemConf()->disable_update): ?>
<div class="form-group">
<label class="group-name"><?= _t('admin.update.last') ?></label>
<div class="group-controls">
@@ -73,4 +74,5 @@
</div>
</div>
<?php } ?>
+ <?php endif; ?>
</main>