From: Garry Collum Date: Fri, 29 Jul 2022 22:03:18 +0000 (+0000) Subject: LP1909583 Bootstrap Opac: Cannot edit title and description X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=82d546ee4a47ec7471d565d128bdc58b3a36aaad;p=working%2FEvergreen.git LP1909583 Bootstrap Opac: Cannot edit title and description Fixes the editing of the title and description in the Bootstrap Opac lists. Adds and Edit List button with a collapsible form. To Test: 1. Create several lists in the Opac. 2. Notice you are unable to edti the title or description. 3. Apply the patch 4. Use the Edit List button to display an editable form for each individual list. Signed-off-by: Garry Collum --- diff --git a/Open-ILS/src/templates-bootstrap/opac/css/mediaQuery.css.tt2 b/Open-ILS/src/templates-bootstrap/opac/css/mediaQuery.css.tt2 index e8db387267..d98c372231 100644 --- a/Open-ILS/src/templates-bootstrap/opac/css/mediaQuery.css.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/css/mediaQuery.css.tt2 @@ -296,6 +296,7 @@ only screen and (max-width: 650px) { margin-bottom:5px; padding:5px; } +/* #bbag-edit-name { [% IF rtl == 't' -%] float: right; @@ -308,6 +309,7 @@ only screen and (max-width: 650px) { width: 220px; margin-top:5px; } +*/ .bbag-content { padding:5px; border:1px solid [% css_colors.accent_light %]; diff --git a/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 b/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 index 06c67ecac7..cc5815c6ed 100755 --- a/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/css/style.css.tt2 @@ -2526,6 +2526,7 @@ h2.bookbag-name { margin-bottom: 0em; padding-bottom: 0em; } font-style: italic; max-width: 40em; } +/* .bbag-edit-desc-label { [% IF rtl == 't' -%] float:right; @@ -2554,6 +2555,8 @@ h2.bookbag-name { margin-bottom: 0em; padding-bottom: 0em; } float: left; [% END -%] } +*/ + .bbag-action { [% IF rtl == 't' -%] margin-right: 15px; @@ -3213,6 +3216,7 @@ a.preflib_change { margin-bottom:5px; padding:5px; } +/* #bbag-edit-name { [% IF rtl == 't' -%] float: right; @@ -3225,6 +3229,7 @@ a.preflib_change { width: 220px; margin-top:5px; } +*/ .bbag-content { padding:5px; border:1px solid [% css_colors.accent_light %]; diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 index 0cad4832dc..45bba81db1 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 @@ -232,11 +232,15 @@ {page => '0', bookbag => bbag.id, depth => 0, locg => ctx.search_ou}, 1 ) - -%]'> [% l('View in Catalogue') %] + -%]'> [% l('View in Catalog') %] [% END %] +
+ +
+
@@ -251,6 +255,29 @@
+
+
+
[% l('Edit List Description') %]
+ +
+ + +
+
+ + +
+ + + + + [%- INCLUDE "opac/parts/preserve_params.tt2"; %] + + +
+
[% IF CGI.param("bbid") == bbag.id %]