[Koha-patches] [PATCH 2/2] [SIGNED-OFF] Follow-up fix for Bug 6945, Add a link to show a MARC preview in the normal view

Nicole C. Engard nengard at bywatersolutions.com
Wed Sep 28 10:55:37 CEST 2011


From: Owen Leonard <oleonard at myacpl.org>

Adding the same MARC preview link to the section of the template
which is displayed when XSLT is on.

Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
 .../prog/en/modules/catalogue/detail.tt            |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
index b1aea09..a24137f 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt
@@ -98,6 +98,7 @@ function verify_images() {
             [% END %]
             </span>
         [% END %]
+        <span class="results_summary"><span class="label">MARC Preview:</span> <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a></span>
         [% IF ( holdcount ) %]<span class="results_summary"><span class="label">Holds:</span> <span class="holdcount"><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblionumber %]">[% holdcount %]</a></span></span>[% ELSE %][% END %]
 
         [% IF ( AmazonEnabled ) %][% IF ( AmazonCoverImages ) %]</div><div class="yui-u" id="bookcoverimg">
-- 
1.7.2.3



More information about the Koha-patches mailing list