Bug 23838: Add 'view' link to item detail page
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
86ac23b05e
commit
f91df61c8e
1 changed files with 11 additions and 1 deletions
|
@ -131,7 +131,12 @@
|
|||
[% END %]
|
||||
[% END %]
|
||||
</li>
|
||||
<li><span class="label">Current renewals:</span> [% ITEM_DAT.renewals | html %] </li>
|
||||
<li><span class="label">Current renewals:</span>
|
||||
[% ITEM_DAT.renewals | html %]
|
||||
[% IF ITEM_DAT.renewals %]
|
||||
[ <a class="checkout_renewals_view" data-renewals="[% ITEM_DAT.renewals | html | html %]" data-issueid="[% ITEM_DAT.object.checkout.id | html %]" href="#">View</a> ]
|
||||
[% END %]
|
||||
</li>
|
||||
[% IF itemlostloop %]
|
||||
<li><span class="label">Lost status:</span>
|
||||
[% IF ( CAN_user_circulate ) %]
|
||||
|
@ -371,8 +376,13 @@
|
|||
|
||||
[% MACRO jsinclude BLOCK %]
|
||||
[% INCLUDE 'catalog-strings.inc' %]
|
||||
[% INCLUDE 'checkout-renewal-modal.inc' %]
|
||||
[% INCLUDE 'checkout-renewal-modal-strings.inc' %]
|
||||
[% INCLUDE 'js-date-format.inc' %]
|
||||
[% INCLUDE 'js-patron-format.inc' %]
|
||||
[% Asset.js("js/catalog.js") | $raw %]
|
||||
[% Asset.js("js/browser.js") | $raw %]
|
||||
[% Asset.js("js/checkout-renewal-modal.js") | $raw %]
|
||||
<script>
|
||||
var browser = KOHA.browser('[% searchid | html %]', parseInt('[% biblionumber | html %]', 10));
|
||||
browser.show();
|
||||
|
|
Loading…
Reference in a new issue