From ec3107169ce05c3c17a1ccd31451aef50cf5dd34 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 | 100 +++++++++++++-------------- 1 file changed, 49 insertions(+), 51 deletions(-) diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2 index cd4faf9f1c..e60cf595a0 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") %]

+
@@ -66,15 +67,15 @@
  - -       +     +
@@ -136,7 +137,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']); @@ -232,8 +233,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 %]
@@ -266,25 +268,18 @@ [%- INCLUDE "opac/parts/preserve_params.tt2"; %] - - - - - - - - -
+

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

+
-
- + - - [% l("Save changes to name or description?") %]
- -
-
[% l("Save changes to name or description?") %] @@ -297,6 +292,18 @@ +
+ [% IF bbag.items.size %] +
+ + [%- INCLUDE "opac/parts/preserve_params.tt2"; %] + +
+ [% END %] @@ -329,15 +336,6 @@ | [% l('Edit') %] [% END %] - @@ -403,12 +401,12 @@ [% END %] [% IF CGI.param("edit_notes") == bbag.id %] - - + + [% END %] -- 2.11.0
- - [%- INCLUDE "opac/parts/preserve_params.tt2"; %] - -
[%- INCLUDE "opac/parts/preserve_params.tt2"; %] - +