aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-03-23 22:52:47 +0100
committerGravatar GitHub <noreply@github.com> 2019-03-23 22:52:47 +0100
commit1804c0e0bc095487b9a1ad13cbc9f55f6cef2a2a (patch)
tree4a250b570a3d0adbfe5f520533c7719646d97c2c /app/views
parente7a57915f9c90c144d95918048d2523418866921 (diff)
Filter actions (#2275)
* Draft of filter actions * Travis * Implement UI + finish logic * Travis
Diffstat (limited to 'app/views')
-rw-r--r--app/views/helpers/feed/update.phtml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/helpers/feed/update.phtml b/app/views/helpers/feed/update.phtml
index bc90ba456..be8034c0d 100644
--- a/app/views/helpers/feed/update.phtml
+++ b/app/views/helpers/feed/update.phtml
@@ -234,6 +234,19 @@
</div>
<?php } ?>
+ <legend><?php echo _t('sub.feed.filteractions'); ?></legend>
+ <div class="form-group">
+ <label class="group-name" for="filteractions_read"><?php echo _t('conf.reading.read.when'); ?></label>
+ <div class="group-controls">
+ <textarea name="filteractions_read" id="filteractions_read"><?php
+ foreach ($this->feed->filtersAction('read') as $filterRead) {
+ echo htmlspecialchars($filterRead->getRawInput(), ENT_NOQUOTES, 'UTF-8'), "\n\n";
+ }
+ ?></textarea>
+ <?php echo _i('help'); ?> <?php echo _t('sub.feed.filteractions.help'); ?>
+ </div>
+ </div>
+
<div class="form-group form-actions">
<div class="group-controls">
<button type="submit" class="btn btn-important"><?php echo _t('gen.action.submit'); ?></button>