@@ -, +, @@ --- .../data/mysql/en/mandatory/keyboard_shortcuts.txt | 1 - .../data/mysql/mandatory/keyboard_shortcuts.sql | 3 +- .../prog/en/modules/admin/admin-home.tt | 2 +- .../prog/en/modules/admin/adveditorshortcuts.tt | 66 ++++++++++++---------- .../prog/en/modules/cataloguing/editor.tt | 4 +- 5 files changed, 40 insertions(+), 36 deletions(-) delete mode 100644 installer/data/mysql/en/mandatory/keyboard_shortcuts.txt --- a/installer/data/mysql/en/mandatory/keyboard_shortcuts.txt +++ a/installer/data/mysql/en/mandatory/keyboard_shortcuts.txt @@ -1, +0,0 @@ -Default keyboard shorcuts --- a/installer/data/mysql/mandatory/keyboard_shortcuts.sql +++ a/installer/data/mysql/mandatory/keyboard_shortcuts.sql @@ -2,8 +2,7 @@ -- Default keyboard shortcuts -- for Koha. -- --- Copyright (C) 2007 LiblimeA --- Copyright 2018 Koha Development Team +-- Copyright 2019 Koha Development Team -- -- This file is part of Koha. -- --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt @@ -211,7 +211,7 @@
Additional fields
Add additional fields to certain tables
[% END %] - [% IF ( CAN_user_parameters_manage_keyboard_shortcuts ) %] + [% IF Koha.Preference('EnableAdvancedCatalogingEditor') && ( CAN_user_parameters_manage_keyboard_shortcuts ) %]
Keyboard shortcuts
Define which keys trigger actions in the advanced cataloging editor
[% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/adveditorshortcuts.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/adveditorshortcuts.tt @@ -1,5 +1,6 @@ [% USE raw %] [% USE Asset %] +[% USE Koha %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Administration › Advanced editor shortcuts @@ -21,39 +22,42 @@

Advanced editor keyboard shortcuts

- + [% IF Koha.Preference('EnableAdvancedCatalogingEditor') %] + -
-
- - - - - - - - - [% FOREACH shortcut IN shortcuts %] - - - - - [% END %] -
DescriptionShortcut keys
- - -
-
- -
+
+
+ + + + + + + + [% FOREACH shortcut IN shortcuts %] + + + + + [% END %] +
DescriptionShortcut keys
+ + +
+
+ +
+ [% ELSE %] +

Enable the advanced cataloging editor ( EnableAdvancedCatalogingEditor system preference) to define keyboard shortcuts

+ [% END %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt @@ -269,7 +269,9 @@