aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Olexandr Shaposhnyk <118913884+oshaposhnyk@users.noreply.github.com> 2024-11-13 14:00:39 +0200
committerGravatar GitHub <noreply@github.com> 2024-11-13 13:00:39 +0100
commit846e19afde7583bd8f3b873577211cc8cb9e83f1 (patch)
tree2a56d14ae6944a01812fe1f9c1935b9ac3747363 /app
parente9ce099277bd5cb0257b9535cfaed42d87670b88 (diff)
[Feature] 6975: Redirect to shortcut page on pressing '?' (#6981)
* [Feature] 6975: Redirect to shortcut page on pressing '?' * [Feature] 6975: Redirect to shortcut page on pressing '?' * Simplify code * Re-order for performance * Remove shift key --------- Co-authored-by: Olexandr Shaposhnyk <oshaposhnyk@intelliboard.net> Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app')
-rw-r--r--app/views/helpers/javascript_vars.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/helpers/javascript_vars.phtml b/app/views/helpers/javascript_vars.phtml
index 5be818935..54ba2917f 100644
--- a/app/views/helpers/javascript_vars.phtml
+++ b/app/views/helpers/javascript_vars.phtml
@@ -61,6 +61,7 @@ echo htmlspecialchars(json_encode(array(
'login' => Minz_Url::display(array('c' => 'auth', 'a' => 'login'), 'php'),
'logout' => Minz_Url::display(array('c' => 'auth', 'a' => 'logout'), 'php'),
'help' => FRESHRSS_WIKI,
+ 'shortcuts' => Minz_Url::display(array('c' => 'configure', 'a' => 'shortcut'), 'php'),
),
'i18n' => array(
'confirmation_default' => _t('gen.js.confirm_action'),