Bug 18762: Remove warnings from xt/author/valid-templates.t
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / catalogue / itemsearch_item.json.inc
1 [%- USE Branches -%]
2 [%- USE Koha -%]
3 [%- biblio = item.biblio -%]
4 [%- biblioitem = item.biblioitem -%]
5 [
6   "[% FILTER escape_quotes = replace('"', '\"') ~%]
7     <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber %]" title="Go to record detail page">[% biblio.title |html %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author |html %]
8   [%~ END %]",
9   "[% (biblioitem.publicationyear || biblio.copyrightdate) |html %]",
10   "[% biblioitem.publishercode |html %]",
11   "[% biblioitem.collectiontitle |html %]",
12   "[% FILTER escape_quotes ~%]
13     <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio.biblionumber %]#item[% item.itemnumber %]" title="Go to item details">[% item.barcode |html %]</a>
14   [%~ END %]",
15   "[% item.itemcallnumber |html %]",
16   "[% Branches.GetName(item.homebranch) |html %]",
17   "[% Branches.GetName(item.holdingbranch) |html %]",
18   "[% item.location |html %]",
19   "[% item.stocknumber |html %]",
20   "[% item.status |html %]",
21   "[% (item.issues || 0) |html %]",
22   "[% FILTER escape_quotes ~%]
23     <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=[% item.biblionumber %]&itemnumber=[% item.itemnumber %]">Edit</a>
24   [%~ END %]"
25 ]