Bug 13618: Remove html filters at the intranet
[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 %]</a>[% IF ( Koha.Preference( 'marcflavour' ) == 'UNIMARC' && biblio.author ) %] by[% END %] [% biblio.author %]
8   [%~ END %]",
9   "[% (biblioitem.publicationyear || biblio.copyrightdate) %]",
10   "[% biblioitem.publishercode %]",
11   "[% biblioitem.collectiontitle %]",
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 %]</a>
14   [%~ END %]",
15   "[% item.itemcallnumber %]",
16   "[% Branches.GetName(item.homebranch) %]",
17   "[% Branches.GetName(item.holdingbranch) %]",
18   "[% item.location %]",
19   "[% item.stocknumber %]",
20   "[% item.status %]",
21   "[% (item.issues || 0) %]",
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 ]