Bugzilla – Attachment 25370 Details for
Bug 11256
Set a number of items to display on a biblio detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11256: Opac: Set a number of items to display on a biblio detail page - bootstrap
Bug-11256-Opac-Set-a-number-of-items-to-display-on.patch (text/plain), 2.58 KB, created by
Jonathan Druart
on 2014-02-18 13:28:39 UTC
(
hide
)
Description:
Bug 11256: Opac: Set a number of items to display on a biblio detail page - bootstrap
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-02-18 13:28:39 UTC
Size:
2.58 KB
patch
obsolete
>From 7cdbfed93c0f83beec4dbf07a585bbe312ce49e3 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 18 Feb 2014 14:27:14 +0100 >Subject: [PATCH] Bug 11256: Opac: Set a number of items to display on a > biblio detail page - bootstrap > >This patch adds the changes for the bootstrap theme. >See test plan in the previous patch. >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 867cb74..1af0231 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -517,7 +517,7 @@ > [% ELSE %] > <li id="tab_holdings"> > [% END %] >- <a href="#holdings">[% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %] ( [% itemloop.size || 0 %] )</a> >+ <a href="#holdings">[% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %] [% UNLESS too_many_items %] ( [% itemloop.size || 0 %] )[% END %]</a> > </li> > [% IF (SeparateHoldings) %] > <li><a href="#otherholdings">Other holdings ( [% otheritemloop.size || 0 %] )</a></li> >@@ -618,12 +618,11 @@ > > > <div id="holdings"> >- [% IF ( itemloop.size ) %] >- [% IF ( lotsofitems ) %] >- <p>This record has many physical items. <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&viewallitems=1#holdings">Click here to view them all.</a></p> >- [% ELSE %] >- [% INCLUDE items_table items=itemloop tab="holdings" %] >- [% END %] >+ [% IF too_many_items %] >+ <p>This record has many physical items ([% items_count %]). <a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblionumber %]&viewallitems=1">Click here to view them all.</a></p> >+ [% ELSIF ( itemloop.size ) %] >+ [% INCLUDE items_table items=itemloop tab="holdings" %] >+ > [% IF holds_count.defined || priority %] > <div id="bib_holds"> > [% IF holds_count.defined %] >-- >1.7.10.4
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 11256
:
22958
|
25363
|
25370
|
25401
|
25402
|
25534
|
25535