Bugzilla – Attachment 106368 Details for
Bug 25801
Add itemnumber parameter to the OPAC detail page that allows to show a single item
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25801: (follow-up) Fix indentation level of else block
Bug-25801-follow-up-Fix-indentation-level-of-else-.patch (text/plain), 3.87 KB, created by
Katrin Fischer
on 2020-06-28 22:40:39 UTC
(
hide
)
Description:
Bug 25801: (follow-up) Fix indentation level of else block
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2020-06-28 22:40:39 UTC
Size:
3.87 KB
patch
obsolete
>From 2c53d76f5b35b9dd7bc015921e7cd82acb210f9a Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 26 Jun 2020 08:31:38 +0000 >Subject: [PATCH] Bug 25801: (follow-up) Fix indentation level of else block > >Just fixing the indentation here with a substitution cmd. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 38 +++++++++++----------- > 1 file changed, 19 insertions(+), 19 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 89c684a832..031e64fa36 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -589,27 +589,27 @@ > [% IF specific_item %] > <p><a href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% biblio.biblionumber | uri %]">Show all items</a></p> > [% ELSE %] >- [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] >- [% IF acquisition_details.total_quantity == 1 %] >- <span>1 item is on order.</span> >- [% ELSE %] >- <span>[% acquisition_details.total_quantity | html %] items are on order.</span> >- [% END %] >- [% END %] >- [% IF holds_count.defined || priority %] >- <div id="bib_holds"> >- [% IF holds_count.defined %] >- <span>Total holds: [% holds_count | html %]</span> >- [% END %] >- [% IF priority %] >+ [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] >+ [% IF acquisition_details.total_quantity == 1 %] >+ <span>1 item is on order.</span> >+ [% ELSE %] >+ <span>[% acquisition_details.total_quantity | html %] items are on order.</span> >+ [% END %] >+ [% END %] >+ [% IF holds_count.defined || priority %] >+ <div id="bib_holds"> > [% IF holds_count.defined %] >- <span>(priority [% priority | html %])</span> >- [% ELSE %] >- <span>Overall queue priority: [% priority | html %]</span> >+ <span>Total holds: [% holds_count | html %]</span> > [% END %] >- [% END %] >- </div> >- [% END %] >+ [% IF priority %] >+ [% IF holds_count.defined %] >+ <span>(priority [% priority | html %])</span> >+ [% ELSE %] >+ <span>Overall queue priority: [% priority | html %]</span> >+ [% END %] >+ [% END %] >+ </div> >+ [% END %] > [% END %] > [% ELSE %] > [% IF ( ALTERNATEHOLDINGS ) %] >-- >2.11.0
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 25801
:
106003
|
106004
|
106321
|
106322
|
106323
|
106366
|
106367
| 106368