From: Lebbeous Fogle-Weekley Date: Thu, 8 Sep 2011 18:32:12 +0000 (-0400) Subject: Merge branch 'bookbag-goodies-tto' into template-toolkit-opac-master-merge X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=acd1cf8f479daa7b50c967dbd671f9b7af86b415;p=evergreen%2Fequinox.git Merge branch 'bookbag-goodies-tto' into template-toolkit-opac-master-merge Bookbag Enhancements: Descriptions, Record Notes, Sorting, CSV Export, new bookbag search filter Conflicts: Open-ILS/src/templates/opac/myopac/lists.tt2 Open-ILS/src/templates/opac/parts/filtersort.tt2 Open-ILS/web/templates/default/opac/myopac/prefs.tt2 Open-ILS/web/templates/default/opac/parts/advanced/search.tt2 Open-ILS/web/templates/default/opac/parts/misc_util.tt2 Signed-off-by: Lebbeous Fogle-Weekley --- acd1cf8f479daa7b50c967dbd671f9b7af86b415 diff --cc Open-ILS/src/templates/opac/myopac/list/print.tt2 index 0000000000,0000000000..fa3988f7f0 new file mode 100644 --- /dev/null +++ b/Open-ILS/src/templates/opac/myopac/list/print.tt2 @@@ -1,0 -1,0 +1,1 @@@ ++[%- ctx.csv.template_output.data -%] diff --cc Open-ILS/src/templates/opac/myopac/lists.tt2 index 9e1ba61b43,0000000000..233e948a90 mode 100644,000000..100644 --- a/Open-ILS/src/templates/opac/myopac/lists.tt2 +++ b/Open-ILS/src/templates/opac/myopac/lists.tt2 @@@ -1,185 -1,0 +1,245 @@@ +[% PROCESS "opac/parts/header.tt2"; + PROCESS "opac/parts/misc_util.tt2"; + WRAPPER "opac/parts/myopac/base.tt2"; + myopac_page = "lists" %] +
+ + +
+ + + +
+

[% l('Create new list') %]

+ + + ++ + + + ++ ++ ++ +
+ ++ + + + + + + [% l('Sharing Help') %] + + +       + [% l('Cancel') %] +
++ ++ ++ ++
+
+ ++

[% l("Your existing lists") %]

++

++

++ ++ [% INCLUDE "opac/parts/filtersort.tt2" value=CGI.param('sort') %] ++ ++
++

++ + [% INCLUDE "opac/parts/anon_list.tt2" %] + [% IF ctx.bookbags.size %] +
+ [% FOR bbag IN ctx.bookbags %] +
+
+
+
+ + [% IF bbag.pub != 't' %] + + + [% ELSE %] + + + [% END %] +
+
+
+
+ + + +
+
++
++
++ ++ ++ ++
++
+
+ + [% IF bbag.pub == 't' %] + [% url = 'http://' _ ctx.hostname _ '/opac/extras/feed/bookbag/html-full/' _ bbag.id %] + [% bbag.name | html %] + [% ELSE %] + [% bbag.name | html %] + [% END %] + ++ [% IF bbag.description %]
[% bbag.description | html %][% END %] +
+
+ [% IF bbag.pub == 't'; %] + [% l('RSS Feed') %] + [% END %] +
+
+
+
+ ++ + + + + - - ++ ++ ++ + + + + + [% UNLESS bbag.items.size %] + + [% END %] + [% FOR item IN bbag.items; - rec_id = item.target_biblio_record_entry; ++ rec_id = item.target_biblio_record_entry.id; + attrs = {marc_xml => ctx.bookbags_marc_xml.$rec_id}; + PROCESS get_marc_attrs args=attrs %] ++ ++ ++ ++ ++ [% IF CGI.param("edit_notes") == bbag.id %] ++ ++ [% ELSE %] ++ ++ [% END %] ++ ++ [% END %] ++ [% IF CGI.param("edit_notes") == bbag.id %] + - - - ++ ++ + + [% END %] + +
+ + + [% l('Title') %][% l('Author(s)') %] ++ [% l('Title') %] ++ ++ [% l('Author(s)') %] ++ ++ [% l('Notes') %] ++ [% IF CGI.param("edit_notes") != bbag.id %] ++ | [% l('Edit') %] ++ [% END %] ++ + + +
+ [% l("This list contains no items.") %] +
[% attrs.title | html %][% attrs.author | html %] ++ [% FOR note IN item.notes %] ++ ++ [% END %] ++ ++ ++ [% FOR note IN item.notes %] ++
[% note.note | html %]
++ [% END %] ++
[% attrs.title | html %][% attrs.author | html %] ++ ++
+
-

++

+
+ [% END %] +
+ [% END %] + +
+ [% l("This will remove the selected bookbag and all items contained within the bookbag. Are you sure you wish to continue?") %] +
+
[% l("You have not created any bookbags") %]
+
+ +
+ +[% |l %]Sharing a Bookbag means that the contents +of the Bookbag will be visible to others. +To see the public view of a shared Bookbag, +click on the Bookbag's name in the Bookbag list.[% END %] + + + [% l("Are you sure you wish to remove this bookbag item?") %] + + + [% l("Sharing this bookbag will allow the contents of the bookbag to be seen by others. Are you sure you wish to share this bookbag?") %] + + + [% l("Are you sure you wish to hide this bookbag?") %] + + + [% l("The Bookbag was successfully updated.") %] + + + [% l("Warning: Adding items to a bookbag creates a link between you and the items in the database. The contents of the bookbag are NOT publicly viewable unless the bookbag is shared. However, if you prefer not to have any link between your patron record and a particular item or items, we suggest that you do not place said items in a bookbag or that you avoid using bookbags all together. Thank you.") %] + + + [% l("Bookbags are...") %] + + + [% l("Bookbag successfully updated") %] + + +
+[% END %] diff --cc Open-ILS/src/templates/opac/parts/advanced/search.tt2 index 7e300edd3a,0000000000..a9220e7d81 mode 100644,000000..100644 --- a/Open-ILS/src/templates/opac/parts/advanced/search.tt2 +++ b/Open-ILS/src/templates/opac/parts/advanced/search.tt2 @@@ -1,128 -1,0 +1,128 @@@ +
+ + + + + + + + + + + + + + + + +
diff --cc Open-ILS/src/templates/opac/parts/filtersort.tt2 index 664be17fc3,0000000000..97dc447d51 mode 100644,000000..100644 --- a/Open-ILS/src/templates/opac/parts/filtersort.tt2 +++ b/Open-ILS/src/templates/opac/parts/filtersort.tt2 @@@ -1,16 -1,0 +1,15 @@@ - + + + - ++ + + + - ++ + + - ++ + + +