Bugzilla – Attachment 11754 Details for
Bug 6945
Add a link to show a MARC preview in the normal view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Follow-up: Add preview to XSLT view, add unique id to containing element in both views
0001-Bug-6945-FOLLOW-UP-Add-a-link-to-show-a-MARC-preview.patch (text/plain), 2.04 KB, created by
Owen Leonard
on 2012-08-22 20:14:53 UTC
(
hide
)
Description:
Follow-up: Add preview to XSLT view, add unique id to containing element in both views
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-08-22 20:14:53 UTC
Size:
2.04 KB
patch
obsolete
>From da0cbfbad6bc0cff3571a6d6efbe28c79cd17b75 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 22 Aug 2012 16:01:03 -0400 >Subject: [PATCH] Bug 6945 [FOLLOW-UP] Add a link to show a MARC preview in > the normal view >Content-Type: text/plain; charset="utf-8" > >Adding the same MARC preview link to the section of the template >which is displayed when XSLT is on. > >This revision also adds a unique id to the surrounding element in the >normal and XSLT versions. >--- > .../prog/en/modules/catalogue/detail.tt | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >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 6617e80..a84fa10 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt >@@ -116,6 +116,7 @@ function verify_images() { > [% END %] > </span> > [% END %] >+ <span id="catalogue_detail_marc_preview" 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"> >@@ -175,7 +176,7 @@ function verify_images() { > <a href="http://[% OpacUrl %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]" target="_blank">Open in new window</a> > </li> > [% END %] >- <li> >+ <li id="catalogue_detail_marc_preview"> > <strong>MARC Preview:</strong> > <a href="/cgi-bin/koha/catalogue/showmarc.pl?id=[% biblionumber %]" title="MARC" rel="gb_page_center[600,500]">Show</a> > </li> >-- >1.7.9.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6945
:
5651
|
5652
|
5658
|
5660
|
5661
|
6026
|
11754
|
11781
|
11782
|
12695
|
13256
|
13257
|
13780
|
13781