aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure/shortcut.phtml
diff options
context:
space:
mode:
authorGravatar maTh <1645099+math-GH@users.noreply.github.com> 2025-02-03 08:47:25 +0100
committerGravatar GitHub <noreply@github.com> 2025-02-03 08:47:25 +0100
commita697ca54ad7f723e52fc6591761e1f2f8b7877d6 (patch)
tree7a0d7a852b90d5df41e16e33233cbb9c203cf2a1 /app/views/configure/shortcut.phtml
parent7e90dfd0485a6684f5dfe7f2abdd92c6f7acb9d0 (diff)
Shortcuts for adding labels (#7274)
* add shortcut in config * open my labels menu with shortcut * the first 9 items are selectable + input field * i18n * Update app/i18n/nl/conf.php Co-authored-by: Frans de Jonge <fransdejonge@gmail.com> * index.menu.mylabels * order fixed --------- Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
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 822bcf6b3..2e9a4fa8c 100644
--- a/app/views/configure/shortcut.phtml
+++ b/app/views/configure/shortcut.phtml
@@ -159,6 +159,14 @@
</div>
<div class="form-group">
+ <label class="group-name" for="mylabels_shortcut"><?= _t('index.menu.mylabels') ?></label>
+ <div class="group-controls">
+ <input type="text" id="mylabels_shortcut" name="shortcuts[mylabels]" list="keys" value="<?= $s['mylabels'] ?>"
+ data-leave-validation="<?= $s['mylabels'] ?>"/>
+ </div>
+ </div>
+
+ <div class="form-group">
<label class="group-name" for="collapse_entry"><?= _t('conf.shortcut.collapse_article') ?></label>
<div class="group-controls">
<input type="text" id="collapse_entry" name="shortcuts[collapse_entry]" list="keys" value="<?= $s['collapse_entry'] ?>"