From: Bill Erickson Date: Mon, 7 Jun 2021 16:49:54 +0000 (-0400) Subject: LP1904036 Separate Circulation (Experimental) Menu X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=41104432c10e16fee1fa88034f4194f521c3988d;p=working%2FEvergreen.git LP1904036 Separate Circulation (Experimental) Menu Move all new experimental Angular Circulation interfaces into a single menu entry which can be enabled via a new org setting: ui.staff.angular_circ.enabled Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/eg2/src/app/staff/nav.component.html b/Open-ILS/src/eg2/src/app/staff/nav.component.html index 9416ccc9c4..7360b8bf17 100644 --- a/Open-ILS/src/eg2/src/app/staff/nav.component.html +++ b/Open-ILS/src/eg2/src/app/staff/nav.component.html @@ -23,10 +23,6 @@ Search for Patrons - - - Search for Patrons (Experimental) - Search for Items by Barcode @@ -59,22 +55,12 @@ Check In - - - Check In (Experimental) - Capture Holds - - - Capture Holds (Experimental) - Pull List for Hold Requests @@ -85,10 +71,6 @@ Renew Items - - - Renew Items (Experimental) - @@ -101,7 +83,7 @@ Retrieve Last Patron - + Retrieve Recent Patrons @@ -168,6 +150,56 @@ + + + -$TEMPLATE$ WHERE name = 'transit_slip'; +$TEMPLATE$ WHERE name = 'hold_transit_slip'; INSERT INTO config.print_template (name, label, owner, active, locale, content_type, template) @@ -641,6 +641,22 @@ UPDATE config.print_template SET template = $TEMPLATE$ $TEMPLATE$ WHERE name = 'renew'; +INSERT into config.org_unit_setting_type (name, grp, label, description, datatype) +VALUES ( + 'ui.staff.angular_circ.enabled', 'gui', + oils_i18n_gettext( + 'ui.staff.angular_circ.enabled', + 'Enable Angular Circulation Menu', + 'coust', 'label' + ), + oils_i18n_gettext( + 'ui.staff.angular_circ.enabled', + 'Enable the Circulation menu for the experimental Angular Circulation UIs', + 'coust', 'description' + ), + 'bool' +); + COMMIT; diff --git a/Open-ILS/src/templates/staff/navbar.tt2 b/Open-ILS/src/templates/staff/navbar.tt2 index aad32ac26b..50d499fd0c 100644 --- a/Open-ILS/src/templates/staff/navbar.tt2 +++ b/Open-ILS/src/templates/staff/navbar.tt2 @@ -43,12 +43,6 @@
  • - - - [% l('Search for Patrons (Experimental)') %] - -
  • -
  • @@ -99,12 +93,6 @@ [% l('Check In') %]
  • -
  • - - - [% l('Check In (Experimental)') %] - -
  • - - - [% l('Capture Holds (Experimental)') %] - -
  • -
  • [% l('Pull List for Hold Requests') %] @@ -141,13 +123,6 @@ [% l('Renew Items') %]
  • -
  • - - - [% l('Renew Items (Experimental)') %] - -
  • -
  • + + +