aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2024-12-03 12:59:45 +0100
committerGravatar GitHub <noreply@github.com> 2024-12-03 12:59:45 +0100
commit2c7e5b829fb60e2b62771e918b91c1f86aedb2f0 (patch)
treec475f95e78e8b7c0e917aea00fa0aae2f3eb26b1 /app/views
parentb84cbce9056989f9936240809cbe156c2e6b4759 (diff)
New button to delete errored feeds from a category (#7030)
* New button to delete errored feeds from a category fix https://github.com/FreshRSS/FreshRSS/issues/7025 fix https://github.com/FreshRSS/FreshRSS/issues/7026 * Remove English TODO * in error state * Feeds with errors
Diffstat (limited to 'app/views')
-rw-r--r--app/views/helpers/category/update.phtml8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/helpers/category/update.phtml b/app/views/helpers/category/update.phtml
index 64f795d74..8d97a6eec 100644
--- a/app/views/helpers/category/update.phtml
+++ b/app/views/helpers/category/update.phtml
@@ -251,8 +251,14 @@
<div class="group-controls">
<button type="submit" class="btn btn-attention confirm"
data-str-confirm="<?= _t('gen.js.confirm_action_feed_cat') ?>"
+ formaction="<?= _url('category', 'empty', 'id', $this->category->id(), 'errored', 1) ?>"
+ formmethod="post"><?= _t('gen.action.delete_errored_feeds') ?></button>
+
+ <button type="submit" class="btn btn-attention confirm"
+ data-str-confirm="<?= _t('gen.js.confirm_action_feed_cat') ?>"
formaction="<?= _url('category', 'empty', 'id', $this->category->id()) ?>"
- formmethod="post"><?= _t('gen.action.empty') ?></button>
+ formmethod="post"><?= _t('gen.action.delete_all_feeds') ?></button>
+
<?php if (!$this->category->isDefault()): ?>
<button type="submit" class="btn btn-attention confirm"
data-str-confirm="<?= _t('gen.js.confirm_action_feed_cat') ?>"