From f91df61c8e156170d74573c7238e941bac2097e9 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 22 Jul 2022 12:16:32 -0300 Subject: [PATCH] Bug 23838: Add 'view' link to item detail page Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- .../prog/en/modules/catalogue/moredetail.tt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt index 2f7ddbd78e..cdb239e740 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt @@ -131,7 +131,12 @@ [% END %] [% END %]   -
  • Current renewals: [% ITEM_DAT.renewals | html %] 
  • +
  • Current renewals: + [% ITEM_DAT.renewals | html %] + [% IF ITEM_DAT.renewals %] + [ View ] + [% END %] +
  • [% IF itemlostloop %]
  • Lost status: [% 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 %]