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