[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 297d911e261d9ce100a2384ac90a7436cd111c22

Evergreen Git git at git.evergreen-ils.org
Fri Sep 27 14:17:06 EDT 2013


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  297d911e261d9ce100a2384ac90a7436cd111c22 (commit)
      from  ee61da7776acaa528cf31dbc57968ef76fb06bc8 (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 297d911e261d9ce100a2384ac90a7436cd111c22
Author: Dan Wells <dbw2 at calvin.edu>
Date:   Fri Sep 27 14:07:54 2013 -0400

    Correct small errors in new AC cover code
    
    In shelf browser, two problems:
     - missing '%]' after 'args=rec_attrs;'
     - cn.record_id should be cn.record.id
    
    Signed-off-by: Dan Wells <dbw2 at calvin.edu>
    Signed-off-by: Ben Shum <bshum at biblio.org>

diff --git a/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2 b/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
index c75c088..a00fbf0 100644
--- a/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
+++ b/Open-ILS/src/templates/opac/parts/record/cnbrowse.tt2
@@ -31,10 +31,10 @@
                 [% END -%]
                     <td class='cn_browse_item' width='25%' valign='top'>
                         [%  rec_attrs = {marc_xml => cn.record.marc};
-                            PROCESS get_marc_attrs args=rec_attrs;
+                            PROCESS get_marc_attrs args=rec_attrs; %]
                         <a href="[% mkurl(ctx.opac_root _ '/record/' _ cn.record.id, {$loc_name => loc_value}, 1) %]"><img height='60' width='50' 
                             class='cn_browse_info' name='cn_browse_pic' border='0'
-                            src="[% ctx.media_prefix %]/opac/extras/ac/jacket/small/r/[% cn.record_id | uri %]" /></a>
+                            src="[% ctx.media_prefix %]/opac/extras/ac/jacket/small/r/[% cn.record.id | uri %]" /></a>
                         <div class='cn_browse_info bold' name='cn_browse_cn'>[% cn.label | html %]</div>
                         <div class='cn_browse_info'>
                             <a name='cn_browse_title' class='classic_link record_title'

-----------------------------------------------------------------------

Summary of changes:
 .../src/templates/opac/parts/record/cnbrowse.tt2   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list