From: Galen Charlton Date: Thu, 8 Oct 2015 19:23:36 +0000 (+0000) Subject: webstaff: add keyboard shortcut legend to MARC editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1923c1a7c37dee9d5b0b4bd12af481a88049fbf9;p=Evergreen.git webstaff: add keyboard shortcut legend to MARC editor Note that once we upgrade to angularjs-ui >= 0.13.0, using a popover rather than a collapse might be better. Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 b/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 index 92dc60b55c..f1ed6c44bf 100644 --- a/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 +++ b/Open-ILS/src/templates/staff/cat/share/t_marcedit.tt2 @@ -141,10 +141,31 @@
- +
+ + + +
+
+
    +
  • [% l('Undo: CTRL-z') %]
  • +
  • [% l('Redo: CTRL-y') %]
  • +
  • [% l('Add Row: CTRL+Enter') %]
  • +
  • [% l('Insert Row: CTRL+Shift+Enter') %]
  • +
  • [% l('Copy Current Row Above: CTRL+Up') %]
  • +
  • [% l('Copy Current Row Below: CTRL+Down') %]
  • +
  • [% l('Add Subfield: CTRL+D or CTRL+I') %]
  • +
  • [% l('Remove Row: CTRL+Del') %]
  • +
  • [% l('Remove Subfield: Shift+Del') %]
  • +
  • [% l('Create/Replace 006: Shift+F6') %]
  • +
  • [% l('Create/Replace 007: Shift+F7') %]
  • +
  • [% l('Create/Replace 008: Shift+F8') %]
  • +
+
diff --git a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js index c295207794..5fb520238f 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js +++ b/Open-ILS/web/js/ui/default/staff/cat/services/marcedit.js @@ -672,6 +672,7 @@ angular.module('egMarcMod', ['egCoreMod', 'ui.bootstrap']) $scope.controlfields = []; $scope.datafields = []; $scope.controlSet = egTagTable.getAuthorityControlSet(); + $scope.showHelp = false; $scope.stackSubfields = { enabled : false }; egCore.hatch.getItem('cat.marcedit.stack_subfields').then(function(val) { $scope.stackSubfields.enabled = val;