aboutsummaryrefslogtreecommitdiff
path: root/app/views/configure
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2020-07-14 11:02:30 +0200
committerGravatar GitHub <noreply@github.com> 2020-07-14 11:02:30 +0200
commit35eed83b64486d7c0e6f62dafc4ddf70e7a50513 (patch)
treedc725021f39650ffb8f856d5f8e0df4528caabe8 /app/views/configure
parent8d8211b2a5fa997bce06d7ae0c6f7cf37f97b245 (diff)
Add a way to disable shortcuts (#3114)
When the user do not want to use a shortcut, he can let the shortcut value empty. This will save an empty configuration thus disabling the shortcut. The load default action allows to use default shortcut only for disabled shortcuts. See #3110
Diffstat (limited to 'app/views/configure')
-rw-r--r--app/views/configure/shortcut.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/configure/shortcut.phtml b/app/views/configure/shortcut.phtml
index 49063cc10..7ed12f42b 100644
--- a/app/views/configure/shortcut.phtml
+++ b/app/views/configure/shortcut.phtml
@@ -184,6 +184,7 @@
<div class="form-group form-actions">
<div class="group-controls">
<button type="submit" class="btn btn-important"><?= _t('gen.action.submit') ?></button>
+ <button type="submit" class="btn btn-important" name="load_default_shortcuts"><?= _t('gen.action.load_default_shortcuts') ?></button>
<button type="reset" class="btn"><?= _t('gen.action.cancel') ?></button>
</div>
</div>