From 4a18e79d7572b88eb9adbf3051c0a451b0378bb5 Mon Sep 17 00:00:00 2001 From: McCanna Date: Wed, 8 Nov 2017 09:35:46 -0500 Subject: [PATCH] OPAC Customization: My Lists Reset customizations to master and reapplied PINES help tips. Signed-off-by: McCanna --- Open-ILS/src/templates/opac/myopac/lists.tt2 | 88 ++++++++++++---------------- 1 file changed, 37 insertions(+), 51 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2 index 417e87525d..7f044df844 100644 --- a/Open-ILS/src/templates/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates/opac/myopac/lists.tt2 @@ -12,15 +12,16 @@ "click on the HTML View link in the Saved Lists section."); %]

[% l('My Lists') %]

-
- - -

[% l("PINES List Tips") %]

+

[% l('Create New List') %]

+ + +

[% l("PINES List Tips") %]

+
@@ -79,15 +80,15 @@
  - -       +     +
@@ -153,7 +154,7 @@
[% 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']); @@ -249,8 +250,6 @@ alt="[% l('RSS Feed') %]" border="0" src="[% ctx.media_prefix %]/images/small-rss.png[% ctx.cache_key %]"/> [% END %] -
-
[% IF bbag.pub == 't'; %] [% l('HTML View') %] [% END %]
+
[% IF CGI.param("bbid") == bbag.id %]
-
- - - [%- INCLUDE "opac/parts/preserve_params.tt2" params=['loc', 'query', 'qtype']; %] - [% INCLUDE "opac/parts/filtersort.tt2" - value=CGI.param('sort') mode='bookbag' %] - - - -
+ [% IF bbag.items.size %] +
+
+ + [%- INCLUDE "opac/parts/preserve_params.tt2" params=['loc', 'query', 'qtype']; %] + [% INCLUDE "opac/parts/filtersort.tt2" + value=CGI.param('sort') mode='bookbag' %] + + +
+
+ [% END %]
@@ -283,25 +285,18 @@ [%- INCLUDE "opac/parts/preserve_params.tt2"; %] - - - - - - - - - - @@ -440,12 +426,12 @@ [% END %] [% IF CGI.param("edit_notes") == bbag.id %] - - + + [% END %] -- 2.11.0
+

[% l('Edit List Description') %]

+
-
- + - - [% l("Save changes to name or description?") %]
- -
-
[% l("Save changes to name or description?") %] @@ -366,15 +361,6 @@ | [% l('Edit') %] [% END %]
- - [%- INCLUDE "opac/parts/preserve_params.tt2"; %] - -
[%- INCLUDE "opac/parts/preserve_params.tt2"; %] - +