diff options
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/helpers/category/update.phtml | 8 |
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') ?>" |
