diff options
| author | 2023-12-15 23:04:29 +0100 | |
|---|---|---|
| committer | 2023-12-15 23:04:29 +0100 | |
| commit | 6bb45a87268157aab961a6a4a728d9a9bbe043b0 (patch) | |
| tree | d1c36638d5ee61e2e663d214d724a71f07a89354 /app/views/subscription | |
| parent | a3ed8269132303eebc03d3e6df822f1f101fa95b (diff) | |
Add filter actions (auto mark read) at category and global levels (#5942)
* Add filter actions (auto mark read) at category level
fix https://github.com/FreshRSS/FreshRSS/issues/3497
* Add filter actions (auto mark read) at global level
fix https://github.com/FreshRSS/FreshRSS/issues/2788
* Fix feed category ID
* Minor comment
Diffstat (limited to 'app/views/subscription')
| -rw-r--r-- | app/views/subscription/category.phtml | 10 | ||||
| -rw-r--r-- | app/views/subscription/index.phtml | 2 |
2 files changed, 1 insertions, 11 deletions
diff --git a/app/views/subscription/category.phtml b/app/views/subscription/category.phtml deleted file mode 100644 index daf4523bb..000000000 --- a/app/views/subscription/category.phtml +++ /dev/null @@ -1,10 +0,0 @@ -<?php -declare(strict_types=1); -/** @var FreshRSS_View $this */ - -if (!Minz_Request::paramBoolean('ajax')) { - $this->partial('aside_subscription'); -} -if ($this->category) { - $this->renderHelper('category/update'); -} diff --git a/app/views/subscription/index.phtml b/app/views/subscription/index.phtml index 280799f2d..a1a874b31 100644 --- a/app/views/subscription/index.phtml +++ b/app/views/subscription/index.phtml @@ -34,7 +34,7 @@ ?> <div class="box"> <div class="box-title"> - <a class="configure open-slider" href="<?= _url('subscription', 'category', 'id', $cat->id()) ?>" data-cat-position="<?= $cat->attributes('position') ?>"><?= _i('configure') ?></a> + <a class="configure open-slider" href="<?= _url('category', 'update', 'id', $cat->id()) ?>" data-cat-position="<?= $cat->attributes('position') ?>"><?= _i('configure') ?></a> <h2><?= $cat->name() ?><?php if ($cat->kind() == FreshRSS_Category::KIND_DYNAMIC_OPML) { echo " " . _i('opml-dyn'); } ?></h2> </div> <ul class="box-content drop-zone scrollbar-thin" dropzone="move" data-cat-id="<?= $cat->id() ?>"> |
