From 3ddfe42eebf18658d479e486ea6d2b40a79b0847 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 1 Oct 2021 09:58:08 +0100 Subject: [PATCH] Bug 15812: (follow-up) Tweaks to patron results display Move the button into the actions column and make 'cardnumber' a link to checkout, with a tooltip. Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- .../prog/en/modules/members/tables/members_results.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt index 8f29945cdb..eeb0da6742 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/members_results.tt @@ -16,9 +16,9 @@ "", [% END %] "dt_cardnumber": - "", + "[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %][% data.cardnumber | html | $To %][% ELSE %][% data.cardnumber | html | $To %][% END %]", "dt_name": - "[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = data.firstname surname = data.surname othernames = data.othernames invert_name = 1 | $To %]
", + "[% INCLUDE 'patron-title.inc' borrowernumber = data.borrowernumber category_type = data.category_type firstname = data.firstname surname = data.surname othernames = data.othernames invert_name = 1 | $To %]
", "dt_dateofbirth": "[% INCLUDE 'patron-age.inc' patron = data %]", "dt_category": @@ -34,7 +34,7 @@ "dt_borrowernotes": "[% data.borrowernotes | html_line_break | collapse | $To %]", "dt_action": - " Edit", + " Edit[% IF ( CAN_user_circulate_circulate_remaining_permissions ) %] Check out[% END %]", "borrowernumber": "[% data.borrowernumber | html %]" }[% UNLESS loop.last %],[% END %] -- 2.39.5