Bugzilla – Attachment 77417 Details for
Bug 21112
Re-indent staff client cart template
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21112: Re-indent staff client cart template
Bug-21112-Re-indent-staff-client-cart-template.patch (text/plain), 32.69 KB, created by
Katrin Fischer
on 2018-08-01 22:53:21 UTC
(
hide
)
Description:
Bug 21112: Re-indent staff client cart template
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-08-01 22:53:21 UTC
Size:
32.69 KB
patch
obsolete
>From 04f71651240ae899bf6ca14eccebd1f8cd20ec2c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 24 Jul 2018 16:10:53 +0000 >Subject: [PATCH] Bug 21112: Re-indent staff client cart template > >This patch reindents the template for the staff client cart, basket.tt > >- Trailing spaces removed >- Indentation changed to a consistent 4 spaces >- Markup indentation made more consistent > >To test, apply the patch and add multiple items to the cart in the staff >client. > >View the cart and confirm that it looks as it should both in the "brief" >and "more details" views. > >HTML validation before and after the patch should return the same >results. > >Signed-off-by: DEVINIM <kohadevinim@devinim.com.tr> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../intranet-tmpl/prog/en/modules/basket/basket.tt | 526 +++++++++++---------- > 1 file changed, 286 insertions(+), 240 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >index c798725..2c411cd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/basket.tt >@@ -7,11 +7,11 @@ > <a href="#" id="remove_from_cart">Remove</a> > > [% IF ( loggedinusername ) %] >- | <a href="#" id="add_to_list">Add to a list</a> >+ | <a href="#" id="add_to_list">Add to a list</a> > [% END %] > > [% IF ( CAN_user_reserveforothers ) %] >- | <a href="#" id="place_hold">Place hold</a> >+ | <a href="#" id="place_hold">Place hold</a> > [% END %] > > [% IF CAN_user_tools_records_batchmod %] >@@ -30,255 +30,301 @@ > > <body id="cart_basket" class="cart"> > >-<div class="main container-fluid"> >- <div class="row"> >- <div class="col-md-12"> >- >-<div class="container"> >- >-<h1>Your cart</h1> >- >-<div id="toolbar" class="btn-toolbar"> >- [% IF ( verbose ) %] >- <a href="basket.pl" class="btn btn-default btn-sm showdetails showless"><i class="fa fa-folder"></i> Brief display</a> >- [% ELSE %] >- <a href="basket.pl" class="btn btn-default btn-sm showdetails showmore"><i class="fa fa-folder-open"></i> More details</a> >- [% END %] >- >- <a class="btn btn-default btn-sm" href="basket.pl" id="send_cart"><i class="fa fa-envelope"></i> Send</a> >- <div class="btn-group"> >- <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> Download <span class="caret"></span> </a> >- <ul class="dropdown-menu"> >- <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&bib_list=[% bib_list %]">iso2709</a></li> >- <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&bib_list=[% bib_list %]">RIS</a></li> >- <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list %]">BibTex</a></li> >- [% FOREACH csv_profile IN csv_profiles %] >- <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id %]&bib_list=[% bib_list %]">CSV - [% csv_profile.profile %]</a></li> >- [% END %] >- </ul> >- </div> >- <a class="btn btn-default btn-sm" href="basket.pl" id="print_cart"><i class="fa fa-print"></i> Print</a> >- <a class="btn btn-default btn-sm" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> Empty and close</a> >- <a class="btn btn-default btn-sm close" href="basket.pl"><i class="fa fa-times-circle"></i> Hide window</a> >-</div> >- >- >-[% IF ( verbose ) %] >- [% PROCESS controls %] >- <form action="basket.pl" method="get" name="bookbag_form" id="bookbag_form"> >- [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >- <h3> >- <input type="checkbox" class="select_record noprint" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" /> >- [% BIBLIO_RESULT.title |html %] >- [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] >- [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %] >- </h3> >- <!-- COinS / Openurl --> >- <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.item('size') %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> >- <table> >- [% IF ( BIBLIO_RESULT.isbn ) %] >- <tr> >- <th scope="row">ISBN</th> >- <td>[% BIBLIO_RESULT.isbn %]</td> >- </tr> >- [% END %] >+ <div class="main container-fluid"> >+ <div class="row"> >+ <div class="col-md-12"> > >- [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] >- <tr> >- <th scope="row">Author(s)</th> >- <td> >- [% IF ( BIBLIO_RESULT.author ) %] >- <p>[% BIBLIO_RESULT.author %]</p> >- [% END %] >- [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %] >- [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %] >- <p> [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] >- [% MARCAUTHOR_SUBFIELDS_LOO.separator %] >- [% MARCAUTHOR_SUBFIELDS_LOO.value %] >- [% END %] >- </p> >- [% END %] >- [% END %] >- </td> >- </tr> >- [% END %] >+ <div class="container"> > >- [% IF ( BIBLIO_RESULT.publishercode ) %] >- <tr> >- <th scope="row">Publisher</th> >- <td>[% BIBLIO_RESULT.place %] [% BIBLIO_RESULT.publishercode %] [% BIBLIO_RESULT.publicationyear %] >- </td> >- </tr> >- [% END %] >- [% IF ( BIBLIO_RESULT.pages ) %] >- <tr> >- <th scope="row">Details</th> >- <td>[% BIBLIO_RESULT.pages %] [% BIBLIO_RESULT.illus %] [% BIBLIO_RESULT.item('size') %]</td> >- </tr> >- [% END %] >- [% IF ( BIBLIO_RESULT.seriestitle ) %] >- <tr> >- <th scope="row">Collection</th> >- <td> [% BIBLIO_RESULT.seriestitle %]</td> >- </tr> >- [% END %] >+ <h1>Your cart</h1> > >- [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %] >- <tr> >- <th scope="row">Subject(s)</th> >- <td>[% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %] >- <p> [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] >- [% MARCSUBJECT_SUBFIELDS_LOO.separator %][% MARCSUBJECT_SUBFIELDS_LOO.value %][% END %] >- </p> >- [% END %]</td> >- </tr> >- [% END %] >+ <div id="toolbar" class="btn-toolbar"> >+ [% IF ( verbose ) %] >+ <a href="basket.pl" class="btn btn-default btn-sm showdetails showless"><i class="fa fa-folder"></i> Brief display</a> >+ [% ELSE %] >+ <a href="basket.pl" class="btn btn-default btn-sm showdetails showmore"><i class="fa fa-folder-open"></i> More details</a> >+ [% END %] > >- [% IF ( BIBLIO_RESULT.copyrightdate ) %] >- <tr><th scope="row">Copyright</th> >- <td> [% BIBLIO_RESULT.copyrightdate %]</td> >- </tr> >- [% END %] >+ <a class="btn btn-default btn-sm" href="basket.pl" id="send_cart"><i class="fa fa-envelope"></i> Send</a> >+ <div class="btn-group"> >+ <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#" id="downloadcart"><i class="fa fa-download"></i> Download <span class="caret"></span> </a> >+ <ul class="dropdown-menu"> >+ <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=iso2709&bib_list=[% bib_list %]">iso2709</a></li> >+ <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=ris&bib_list=[% bib_list %]">RIS</a></li> >+ <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=bibtex&bib_list=[% bib_list %]">BibTex</a></li> >+ [% FOREACH csv_profile IN csv_profiles %] >+ <li><a href="/cgi-bin/koha/basket/downloadcart.pl?format=[% csv_profile.export_format_id %]&bib_list=[% bib_list %]">CSV - [% csv_profile.profile %]</a></li> >+ [% END %] >+ </ul> >+ </div> >+ <a class="btn btn-default btn-sm" href="basket.pl" id="print_cart"><i class="fa fa-print"></i> Print</a> >+ <a class="btn btn-default btn-sm" href="basket.pl" id="empty_cart"><i class="fa fa-trash"></i> Empty and close</a> >+ <a class="btn btn-default btn-sm close" href="basket.pl"><i class="fa fa-times-circle"></i> Hide window</a> >+ </div> > >- [% IF ( BIBLIO_RESULT.MARCNOTES ) %] >- <tr> >- <th scope="row">Notes</th> >- <td> >- [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %] >- <p> >- [% IF MARCNOTE.marcnote.match('^https?://\S+$') %] >- - <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a> >- [% ELSE %] >- - [% MARCNOTE.marcnote %] >- [% END %] >- [% END %] >- </td> >- </tr> >- [% END %] > >- [% IF ( BIBLIO_RESULT.unititle ) %] >- <tr> >- <th scope="row">Unified title</th> >- <td> [% BIBLIO_RESULT.unititle %]</td> >- </tr> >- [% END %] >- [% IF ( BIBLIO_RESULT.serial ) %] >- <tr> >- <th scope="row">Serial</th> >- <td>[% BIBLIO_RESULT.serial %]</td> >- </tr> >- [% END %] >- [% IF ( BIBLIO_RESULT.dewey ) %] >- <tr> >- <th scope="row">Dewey</th> >- <td>[% BIBLIO_RESULT.dewey %]</td> >- </tr> >- [% END %] >- [% IF ( BIBLIO_RESULT.classification ) %] >- <tr> >- <th scope="row">Classification</th> >- <td> [% BIBLIO_RESULT.classification %]</td> >- </tr> >- [% END %] >- [% IF ( BIBLIO_RESULT.lccn ) %] >- <tr> >- <th scope="row">LCCN</th> >- <td> [% BIBLIO_RESULT.lccn %]</td> >- </tr> >- [% END %] >+ [% IF ( verbose ) %] >+ [% PROCESS controls %] >+ <form action="basket.pl" method="get" name="bookbag_form" id="bookbag_form"> >+ [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >+ <h3> >+ <input type="checkbox" class="select_record noprint" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" /> >+ [% BIBLIO_RESULT.title |html %] >+ [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] >+ [% IF ( BIBLIO_RESULT.author ) %] [% BIBLIO_RESULT.author %][% END %] >+ </h3> >+ <!-- COinS / Openurl --> >+ <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.item('size') %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> > >+ <table> >+ [% IF ( BIBLIO_RESULT.isbn ) %] >+ <tr> >+ <th scope="row">ISBN</th> >+ <td>[% BIBLIO_RESULT.isbn %]</td> >+ </tr> >+ [% END %] > >- [% IF BIBLIO_RESULT.MARCURLS.size %] >- <tr> >- <th scope="row">URL(s)</th> >- <td> >- [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %] >- [% IF MARCurl.part %]<p>[% MARCurl.part %]</p>[% END %] >+ [% IF ( BIBLIO_RESULT.HASAUTHORS ) %] >+ <tr> >+ <th scope="row">Author(s)</th> >+ <td> >+ [% IF ( BIBLIO_RESULT.author ) %] >+ <p>[% BIBLIO_RESULT.author %]</p> >+ [% END %] >+ [% IF ( BIBLIO_RESULT.MARCAUTHORS ) %] >+ [% FOREACH MARCAUTHOR IN BIBLIO_RESULT.MARCAUTHORS %] >+ <p> >+ [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %] >+ [% MARCAUTHOR_SUBFIELDS_LOO.separator %] >+ [% MARCAUTHOR_SUBFIELDS_LOO.value %] >+ [% END %] >+ </p> >+ [% END %] >+ [% END %] >+ </td> >+ </tr> >+ [% END %] > >- <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a> >+ [% IF ( BIBLIO_RESULT.publishercode ) %] >+ <tr> >+ <th scope="row">Publisher</th> >+ <td>[% BIBLIO_RESULT.place %] [% BIBLIO_RESULT.publishercode %] [% BIBLIO_RESULT.publicationyear %] >+ </td> >+ </tr> >+ [% END %] > >- [% IF MARCurl.notes %][% FOREACH note IN MARCurl.notes %]<p>[% note.note %]</p>[% END %][% END %] >- [% END %] >- </td> >- </tr> >- [% END %] >+ [% IF ( BIBLIO_RESULT.pages ) %] >+ <tr> >+ <th scope="row">Details</th> >+ <td>[% BIBLIO_RESULT.pages %] [% BIBLIO_RESULT.illus %] [% BIBLIO_RESULT.item('size') %]</td> >+ </tr> >+ [% END %] > >- <tr> >- <th scope="row">Location(s)</th> >- <td>[% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %][% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] >- <p> >- [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %] >- [% IF ( ITEM_RESULT.itemcallnumber ) %] >- ([% ITEM_RESULT.itemcallnumber %]) >- [% END %] >- </p> >- [% END %][% ELSE %]This record has no items.[% END %]</td> >- </tr> >- </table> >- [% END %] >- </form> >- >-[% ELSE %] >- >- <form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form"> >- [% PROCESS controls %] >- >- <table id="itemst"> >- <thead><tr> >- <th class="NoSort noprint"> </th> >- <th class="anti-the">Title</th> >- <th>Item type</th> >- <th><a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="Item sorting" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">Items</a></th> >- </tr></thead> >- >- [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >- <tr> >- <td class="noprint"> >- <input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" /> >- >- </td> >- <td><a href="[% BIBLIO_RESULT.dest %]?biblionumber=[% BIBLIO_RESULT.biblionumber %]" class="open_title"> >- [% BIBLIO_RESULT.title |html %] [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] [% subtitl.subfield | html %][% END %] >- </a> >- [% BIBLIO_RESULT.author %] >- <p>[% IF ( BIBLIO_RESULT.publishercode ) %]- [% BIBLIO_RESULT.publishercode %] >- [% IF ( BIBLIO_RESULT.place ) %] [% BIBLIO_RESULT.place %][% END %][% END %] >- [% IF ( BIBLIO_RESULT.pages ) %] - [% BIBLIO_RESULT.pages %][% IF ( BIBLIO_RESULT.item('size') ) %] [% BIBLIO_RESULT.item('size') %] >- [% END %] >- [% END %]</p> >- [% IF ( BIBLIO_RESULT.notes ) %] >- <p>[% BIBLIO_RESULT.notes %]</p> >- [% END %] >- <!-- COinS / Openurl --> >- <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.item('size') %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> >- >- </td> >- <td>[% BIBLIO_RESULT.description %]</td> >- <td class="callnumbers"> >- [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] >- [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] >- <div><span class="nowrap"><strong><span class="callnumber">[% ITEM_RESULT.itemcallnumber %]</span></strong> [% ITEM_RESULT.branchname %] <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span></span></div> >- [% END %] >- [% ELSE %] >- This record has no items. >- [% END %] >- </td> >- </tr> >- [% END %] >- </table></form> >-[% END %] >+ [% IF ( BIBLIO_RESULT.seriestitle ) %] >+ <tr> >+ <th scope="row">Collection</th> >+ <td> [% BIBLIO_RESULT.seriestitle %]</td> >+ </tr> >+ [% END %] >+ >+ [% IF ( BIBLIO_RESULT.MARCSUBJCTS ) %] >+ <tr> >+ <th scope="row">Subject(s)</th> >+ <td> >+ [% FOREACH MARCSUBJCT IN BIBLIO_RESULT.MARCSUBJCTS %] >+ <p> >+ [% FOREACH MARCSUBJECT_SUBFIELDS_LOO IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %] >+ [% MARCSUBJECT_SUBFIELDS_LOO.separator %][% MARCSUBJECT_SUBFIELDS_LOO.value %] >+ [% END %] >+ </p> >+ [% END %] >+ </td> >+ </tr> >+ [% END %] >+ >+ [% IF ( BIBLIO_RESULT.copyrightdate ) %] >+ <tr><th scope="row">Copyright</th> >+ <td> [% BIBLIO_RESULT.copyrightdate %]</td> >+ </tr> >+ [% END %] >+ >+ [% IF ( BIBLIO_RESULT.MARCNOTES ) %] >+ <tr> >+ <th scope="row">Notes</th> >+ <td> >+ [% FOREACH MARCNOTE IN BIBLIO_RESULT.MARCNOTES %] >+ <p> >+ [% IF MARCNOTE.marcnote.match('^https?://\S+$') %] >+ - <a href="[% MARCNOTE.marcnote %]">[% MARCNOTE.marcnote %]</a> >+ [% ELSE %] >+ - [% MARCNOTE.marcnote %] >+ [% END %] >+ [% END %] >+ </td> >+ </tr> >+ [% END %] >+ >+ [% IF ( BIBLIO_RESULT.unititle ) %] >+ <tr> >+ <th scope="row">Unified title</th> >+ <td> [% BIBLIO_RESULT.unititle %]</td> >+ </tr> >+ [% END %] >+ >+ [% IF ( BIBLIO_RESULT.serial ) %] >+ <tr> >+ <th scope="row">Serial</th> >+ <td>[% BIBLIO_RESULT.serial %]</td> >+ </tr> >+ [% END %] >+ >+ [% IF ( BIBLIO_RESULT.dewey ) %] >+ <tr> >+ <th scope="row">Dewey</th> >+ <td>[% BIBLIO_RESULT.dewey %]</td> >+ </tr> >+ [% END %] >+ >+ [% IF ( BIBLIO_RESULT.classification ) %] >+ <tr> >+ <th scope="row">Classification</th> >+ <td> [% BIBLIO_RESULT.classification %]</td> >+ </tr> >+ [% END %] >+ >+ [% IF ( BIBLIO_RESULT.lccn ) %] >+ <tr> >+ <th scope="row">LCCN</th> >+ <td> [% BIBLIO_RESULT.lccn %]</td> >+ </tr> >+ [% END %] >+ >+ >+ [% IF BIBLIO_RESULT.MARCURLS.size %] >+ <tr> >+ <th scope="row">URL(s)</th> >+ <td> >+ [% FOREACH MARCurl IN BIBLIO_RESULT.MARCURLS %] >+ [% IF MARCurl.part %]<p>[% MARCurl.part %]</p>[% END %] >+ <a href="[% MARCurl.MARCURL %]" title="[% MARCurl.MARCURL %]">[% MARCurl.linktext %]</a> >+ [% IF MARCurl.notes %] >+ [% FOREACH note IN MARCurl.notes %] >+ <p>[% note.note %]</p> >+ [% END %] >+ [% END %] >+ [% END %] >+ </td> >+ </tr> >+ [% END %] >+ >+ <tr> >+ <th scope="row">Location(s)</th> >+ <td> >+ [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] >+ [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] >+ <p> >+ [% ITEM_RESULT.branchname %] [% ITEM_RESULT.location_description %] >+ [% IF ( ITEM_RESULT.itemcallnumber ) %] >+ ([% ITEM_RESULT.itemcallnumber %]) >+ [% END %] >+ </p> >+ [% END %] >+ [% ELSE %] >+ This record has no items. >+ [% END %] >+ </td> >+ </tr> >+ </table> >+ [% END # /FOREACH BIBLIO_RESULT %] >+ </form> [% # /bookbag_form %] >+ >+ [% ELSE # IF verbose %] >+ >+ <form action="/cgi-bin/koha/basket/basket.pl" method="get" name="bookbag_form" id="bookbag_form"> >+ [% PROCESS controls %] >+ >+ <table id="itemst"> >+ <thead> >+ <tr> >+ <th class="NoSort noprint"> </th> >+ <th class="anti-the">Title</th> >+ <th>Item type</th> >+ <th> >+ <a id="items-popover" href="#" data-trigger="hover" data-toggle="popover" data-placement="top" title="Item sorting" data-content="Items are sorted by the highest or lowest callnumber in a group of items respectively.">Items</a> >+ </th> >+ </tr> >+ </thead> >+ >+ [% FOREACH BIBLIO_RESULT IN BIBLIO_RESULTS %] >+ <tr> >+ <td class="noprint"> >+ <input type="checkbox" class="select_record" value="[% BIBLIO_RESULT.biblionumber %]" name="bib[% BIBLIO_RESULT.biblionumber %]" id="bib[% BIBLIO_RESULT.biblionumber %]" /> >+ </td> >+ <td> >+ <a href="[% BIBLIO_RESULT.dest %]?biblionumber=[% BIBLIO_RESULT.biblionumber %]" class="open_title"> >+ [% BIBLIO_RESULT.title |html %] >+ [% FOREACH subtitl IN BIBLIO_RESULT.subtitle %] >+ [% subtitl.subfield | html %] >+ [% END %] >+ </a> >+ [% BIBLIO_RESULT.author %] >+ <p> >+ [% IF ( BIBLIO_RESULT.publishercode ) %] >+ - [% BIBLIO_RESULT.publishercode %] >+ [% IF ( BIBLIO_RESULT.place ) %] >+ [% BIBLIO_RESULT.place %] >+ [% END %] >+ [% END %] >+ [% IF ( BIBLIO_RESULT.pages ) %] >+ - [% BIBLIO_RESULT.pages %] >+ [% IF ( BIBLIO_RESULT.item('size') ) %] >+ [% BIBLIO_RESULT.item('size') %] >+ [% END %] >+ [% END %] >+ </p> >+ [% IF ( BIBLIO_RESULT.notes ) %] >+ <p>[% BIBLIO_RESULT.notes %]</p> >+ [% END %] >+ <!-- COinS / Openurl --> >+ <span class="Z3988" title="ctx_ver=Z39.88-2004&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.au=[% BIBLIO_RESULT.author %]&rft.btitle=[% BIBLIO_RESULT.title |url %]&rft.date=[% BIBLIO_RESULT.publicationyear %]&rft.tpages=[% BIBLIO_RESULT.item('size') %]&rft.isbn=[% BIBLIO_RESULT.isbn |url %]&rft.aucorp=&rft.place=[% BIBLIO_RESULT.place %]&rft.pub=[% BIBLIO_RESULT.publisher |url %]&rft.edition=[% BIBLIO_RESULT.edition %]&rft.series=[% BIBLIO_RESULT.series %]&rft.genre="></span> >+ </td> >+ <td>[% BIBLIO_RESULT.description %]</td> >+ <td class="callnumbers"> >+ [% IF ( BIBLIO_RESULT.ITEM_RESULTS ) %] >+ [% FOREACH ITEM_RESULT IN BIBLIO_RESULT.ITEM_RESULTS %] >+ <div> >+ <span class="nowrap"> >+ <strong> >+ <span class="callnumber">[% ITEM_RESULT.itemcallnumber %]</span> >+ </strong> >+ [% ITEM_RESULT.branchname %] >+ <span class="shelvingloc inline">[% ITEM_RESULT.location_description %]</span> >+ </span> >+ </div> >+ [% END %] >+ [% ELSE %] >+ This record has no items. >+ [% END %] >+ </td> >+ </tr> >+ [% END # /FOREACH BIBLIO_RESULT %] >+ </table> >+ </form> >+ [% END # /IF verbose %] >+ >+ <form name="myform" action="basket/basket.pl" method="get"> >+ <input type="hidden" name="records" id="records" /> >+ </form> >+ >+ </div> [% # /.container %] >+ </div> [% # /.col-md-12 %] >+ </div> [% # /.row %] >+ </div> [% # /.main.container-fluid %] >+ >+ [% INCLUDE js_includes.inc %] >+ [% INCLUDE 'datatables.inc' %] >+ [% Asset.js("js/cart.js") %] >+ [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %] > >-<form name="myform" action="basket/basket.pl" method="get"> >- <input type="hidden" name="records" id="records" /> >-</form> >- >- </div> >- </div> >- </div> >-</div> >- [% INCLUDE js_includes.inc %] >- [% INCLUDE 'datatables.inc' %] >- [% Asset.js("js/cart.js") %] >- [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") %] > </body> > </html> >-- >2.1.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 21112
:
77239
|
77257
| 77417