Bugzilla – Attachment 27019 Details for
Bug 11169
OPAC: Display acquisition details
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11169: [Bootstrap] Display acquition details at the OPAC
Bug-11169-Bootstrap-Display-acquition-details-at-t.patch (text/plain), 3.74 KB, created by
Kyle M Hall (khall)
on 2014-04-11 13:28:23 UTC
(
hide
)
Description:
Bug 11169: [Bootstrap] Display acquition details at the OPAC
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-04-11 13:28:23 UTC
Size:
3.74 KB
patch
obsolete
>From 177e23eac59e1012f0782d9e0b2479edc1f804c6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 30 Oct 2013 15:28:41 +0100 >Subject: [PATCH] Bug 11169: [Bootstrap] Display acquition details at the OPAC > >Patch for the bootstrap theme. > >Signed-off-by: Broust <jean-manuel.broust@univ-lyon2.fr> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../bootstrap/en/includes/item-status.inc | 2 ++ > .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 18 +++++++++++++++++- > 2 files changed, 19 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc >index f14df90..16599de 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc >@@ -46,6 +46,8 @@ not use an API to fetch items that populates item.datedue. > [% ELSE %] > Item damaged > [% END %] >+[% ELSIF item.on_order %] >+ On order > [% ELSE %] > Available [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %] > [% END %] >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 6afb240..328c870 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -560,6 +560,10 @@ > </li> > [% END %] > >+ [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.orders.size > 0 %] >+ <li id="tab_acquisitions"><a href="#acquisition_details">Acquisition details</a></li> >+ [% END %] >+ > [% IF Koha.Preference( 'reviewson' ) == 1 %] > <li id="tab_comments"><a href="#comments">Comments ( [% reviews.size || 0 %] )</a></li> > [% END %] >@@ -825,6 +829,18 @@ > </div> <!-- / #subscriptions --> > [% END # IF subscriptionsnumber %] > >+ [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.orders.size > 0 %] >+ <div id="acquisition_details"> >+ <h2>Acquisition details</h2> >+ [% IF Koha.Preference('AcqCreateItem') == 'ordering' %] >+ The following items are on order. >+ [% INCLUDE items_table items=acquisition_details.items tab="acquisition_details" noshelfbrowser=1 %] >+ [% ELSE %] >+ [% acquisition_details.total_quantity %] items are on order. >+ [% END %] >+ </div> >+ [% END %] >+ > [% IF ( LibraryThingForLibrariesID && LibraryThingForLibrariesTabbedView ) %] > <!-- Library Thing for Libraries Content --> > <div id="LFTLSimilarItems"> >@@ -1173,7 +1189,7 @@ > <td class="call_no" property="sku"> > [% IF ( ITEM_RESULT.itemcallnumber ) %] > [% ITEM_RESULT.itemcallnumber %] >- [% IF ( OPACShelfBrowser ) %] >+ [% IF ( OPACShelfBrowser and not noshelfbrowser) %] > [% IF ( ITEM_RESULT.itemnumber == starting_itemnumber ) %] > (<a class="close_shelf" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% ITEM_RESULT.biblionumber %]&shelfbrowse_itemnumber=[% ITEM_RESULT.itemnumber %]#[% tab %]">Browse shelf</a>) > [% ELSE %] >-- >1.7.2.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 11169
:
22594
|
22595
|
25654
|
25657
|
26082
|
26083
|
26084
|
26330
|
26331
|
26332
|
26343
|
26344
|
26345
|
27018
|
27019
|
27020
|
28045
|
28419
|
28483
|
28511
|
28512
|
28522
|
28523
|
28524
|
33522