aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure
diff options
context:
space:
mode:
authorGravatar Ben Passmore <contact@passbe.com> 2023-11-09 20:12:04 +1000
committerGravatar GitHub <noreply@github.com> 2023-11-09 11:12:04 +0100
commitb9939bdaac75233ab52c7c7a483d5e4feb4921a4 (patch)
tree768060a80dc121f31dbd4d2b9674e61a4d42bfad /app/views/configure
parent44a7c54a5a6afb72937425cee0d53610e440ec60 (diff)
Added ability to mark articles as read on focus. (#5812)
* Added ability to mark entries as read on focus. Feature proposed in issue #5723. * make-fix-all + i18n fr * Use batch to save resources and increase performance * Use "keep_unread" * typo --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/configure')
-rw-r--r--app/views/configure/reading.phtml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/configure/reading.phtml b/app/views/configure/reading.phtml
index 38219e7b2..669fa7a16 100644
--- a/app/views/configure/reading.phtml
+++ b/app/views/configure/reading.phtml
@@ -281,6 +281,18 @@
</div>
<div class="form-group">
+ <label class="group-name" for="check_focus"><?= _t('conf.reading.read.when') ?></label>
+ <div class="group-controls">
+ <label class="checkbox" for="check_focus">
+ <input type="checkbox" name="mark_focus" id="check_focus" value="1"<?=
+ FreshRSS_Context::$user_conf->mark_when['focus'] ? ' checked="checked"' : '' ?>
+ data-leave-validation="<?= FreshRSS_Context::$user_conf->mark_when['focus'] ?>" />
+ <?= _t('conf.reading.read.focus') ?>
+ </label>
+ </div>
+ </div>
+
+ <div class="form-group">
<label class="group-name" for="enable_read_when_same_title_in_feed"><?= _t('conf.reading.read.when') ?></label>
<div class="group-controls">
<label class="checkbox" for="enable_read_when_same_title_in_feed">