From: Terran McCanna Date: Fri, 11 Dec 2020 23:06:04 +0000 (-0500) Subject: PINES OPAC Customization: Make Lists Prettier X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7191c3280af316d24d1a97f47aa6c0f484b21994;p=evergreen%2Fpines.git PINES OPAC Customization: Make Lists Prettier Note that more work should be done on master to make lists more user-friendly, but this will be fine for us now. Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 index 3232125441..fd356c7e8c 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/lists.tt2 @@ -69,6 +69,7 @@

[% l("... from basket") %]

[% INCLUDE "opac/parts/anon_list.tt2" %] [% ELSE %] +

[% l("My Saved Lists") %]

[% INCLUDE "opac/parts/anon_list.tt2" %] @@ -76,12 +77,9 @@

[% l('Saved Lists') %]

- [% IF !ctx.bookbags.size %] -
-

[% l("You don't have any lists yet") %]

- [% l('Create a list with the form above') %] - - [% ELSE %] + [% IF ctx.bookbags.size %] +
+ [% l('Saved Lists') %] [% IF limit < ctx.bookbag_count; %] [%- IF offset > 0 -%] @@ -131,38 +129,34 @@
[% FOR bbag IN ctx.bookbags %] -
-
- [% baseurl = ctx.opac_root _ '/myopac/lists'; - IF bbag.id != CGI.param("bbid"); - url = mkurl(baseurl,{bbid => bbag.id, item_page => 1},['edit_notes','sort']); - ltitle = l("Show items in list"); - ELSE; - url = mkurl(baseurl, {}, ['bbid', 'edit_notes', 'sort']); - ltitle = l("Hide items in list"); - END %] -

[% bbag.name | html %][% IF bbag.pub == 't'; %] - - - [% END %]

-
-
- [% bbag.description | html %] -
-
-
- [% IF ctx.add_rec %] -
-
- - - - [% IF ctx.where_from %] - - [% END %] - -
-
+
+ + + + +
+ [% baseurl = ctx.opac_root _ '/myopac/lists'; + IF bbag.id != CGI.param("bbid"); + url = mkurl(baseurl,{bbid => bbag.id, item_page => 1},['edit_notes','sort']); + ltitle = l("Show items in list"); + ELSE; + url = mkurl(baseurl, {}, ['bbid', 'edit_notes', 'sort']); + ltitle = l("Hide items in list"); + END %] +

[% bbag.name | html %][% IF bbag.pub == 't'; %] + + + [% END %]

+ [% IF bbag.description %]
[% bbag.description | html %]
[% END %] +
+ [% IF ctx.add_rec %] +
+
+ + + + [% IF ctx.where_from %] + [% END %] @@ -284,17 +278,19 @@ [% IF CGI.param("bbid") == bbag.id %]
-
List Items
+
List Items
-
+ +
[% IF bbag.items.size %] -
- - - - +
+ [% l('Select at least one item from your list below to use these actions:') %]
+ + + +
[% END %] @@ -435,11 +431,10 @@ - [% IF ctx.bb_page_count > 1; %]
-
[% l('Navigate Selected List ') %]
-
+
[% l('Navigate Selected List ') %]
+
[%- IF item_page > 1 -%] item_page - 1