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

Owen Leonard oleonard at myacpl.org
Fri Sep 30 15:09:41 CEST 2011


Adding the same MARC preview link to the section of the template
which is displayed when XSLT is on.
---
 .../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.3



More information about the Koha-patches mailing list