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=889b0e960afa4f314d3c2b3980453d1d325739e3;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 9378ff4f53..a2c43ff92f 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,12 +55,6 @@ Check In - - - Check In (Experimental) - @@ -85,10 +75,6 @@ Renew Items - - - Renew Items (Experimental) - @@ -101,7 +87,7 @@ Retrieve Last Patron - + Retrieve Recent Patrons @@ -168,6 +154,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 6dd8803c00..87914a8054 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('Renew Items (Experimental)') %] - -
  • -
  • + + +