aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/shortcut.phtml
diff options
context:
space:
mode:
authorGravatar stysebae <32852093+stysebae@users.noreply.github.com> 2021-10-19 10:46:39 +0200
committerGravatar GitHub <noreply@github.com> 2021-10-19 10:46:39 +0200
commit85b898c623ae09d5caa88041bd8ceb26d4f1defc (patch)
tree2ac16791bc739d58b732f06c8cf60b6aefae9b18 /app/views/configure/shortcut.phtml
parentf96563ebb0c1e38a320eda1e7fdd8490785cd047 (diff)
Add shortcut to jump to next unread article (issue #3393) (#3891)
* Add shortcut to jump to next unread article * phpcbf Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/configure/shortcut.phtml')
-rw-r--r--app/views/configure/shortcut.phtml8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml
index f8eb469e8..ff94fcf56 100644
--- a/app/views/configure/shortcut.phtml
+++ b/app/views/configure/shortcut.phtml
@@ -76,6 +76,14 @@
</div>
<div class="form-group">
+ <label class="group-name" for="next_unread_entry"><?= _t('conf.shortcut.next_unread_article') ?></label>
+ <div class="group-controls">
+ <input type="text" id="next_unread_entry" name="shortcuts[next_unread_entry]" list="keys" value="<?= $s['next_unread_entry'] ?>"
+ data-leave-validation="<?= $s['next_unread_entry'] ?>"/>
+ </div>
+ </div>
+
+ <div class="form-group">
<label class="group-name" for="prev_entry"><?= _t('conf.shortcut.previous_article') ?></label>
<div class="group-controls">
<input type="text" id="prev_entry" name="shortcuts[prev_entry]" list="keys" value="<?= $s['prev_entry'] ?>"