[open-ils-commits] [GIT] Evergreen ILS branch master updated. 639d3fbb8ec26ad07dd30f53170dce6aa53c4f84
Evergreen Git
git at git.evergreen-ils.org
Mon Jul 30 11:22:07 EDT 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 639d3fbb8ec26ad07dd30f53170dce6aa53c4f84 (commit)
from f6f6c9d73073cdc7282c2e9f5aaf830f0309f89c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 639d3fbb8ec26ad07dd30f53170dce6aa53c4f84
Author: Kathy Lussier <klussier at masslnc.org>
Date: Thu Jul 26 07:09:11 2012 -0400
Two new list fields. Adds the publication date and format to the My Lists
display in tpac.
Signed-off-by: Kathy Lussier <klussier at masslnc.org>
Signed-off-by: Jason Stephenson <jstephenson at mvlc.org>
Signed-off-by: Dan Scott <dscott at laurentian.ca>
diff --git a/Open-ILS/src/templates/opac/myopac/lists.tt2 b/Open-ILS/src/templates/opac/myopac/lists.tt2
index 651f990..2103ae0 100644
--- a/Open-ILS/src/templates/opac/myopac/lists.tt2
+++ b/Open-ILS/src/templates/opac/myopac/lists.tt2
@@ -239,6 +239,12 @@
<a href="[% mkurl(ctx.opac_root _ '/myopac/lists', {sort=>(CGI.param('sort') == 'authorsort' ? 'authorsort.descending' : 'authorsort')}) %]">[% l('Author(s)') %]</a>
</td>
<td class="list_entry">
+ <a href="[% mkurl(ctx.opac_root _ '/myopac/lists', {sort=>(CGI.param('sort') == 'pubdate' ? 'pubdate.descending' : 'pubdate')}) %]">[% l('Publication Date') %]</a>
+ </td>
+ <td class="list_entry">
+ [% l('Format') %]
+ </td>
+ <td class="list_entry">
[% l('Notes') %]
[% IF CGI.param("edit_notes") != bbag.id %]
| <a href="[% mkurl(ctx.opac_root _ '/myopac/lists', {edit_notes=> bbag.id}) %]">[% l('Edit') %]</a>
@@ -257,7 +263,7 @@
</thead>
<tbody>
[% UNLESS bbag.items.size %]
- <tr><td colspan="4" class="list_is_empty">
+ <tr><td colspan="6" class="list_is_empty">
[% l("This list contains no items.") %]
</td></tr>
[% END %]
@@ -277,6 +283,13 @@
authorquery = attrs.author | replace('[,\.:;]', '');
mkurl(ctx.opac_root _ '/results', {qtype => 'author', query => authorquery}, ['page', 'bbid', 'edit_notes'])
-%]">[% attrs.author | html %]</a>
+ </td>
+ <td class="list_entry">
+ [% attrs.pubdate | html %]
+ </td>
+ <td class="list_entry">
+ [% attrs.format_label | html %]
+ </td>
[% IF CGI.param("edit_notes") == bbag.id %]
<td class="list_entry">
[% FOR note IN item.notes %]
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/templates/opac/myopac/lists.tt2 | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list