From 3e0ebd998846e36f2fbe5b43c5d9d19efa7b5e69 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 10 Jun 2015 01:43:22 +0200 Subject: [PATCH] Bug 12352: Patron modification request page: Add link to patron record The patron modification request page in the staff client does show the name and home library of a patron, but there is no way to go to the patron record. This patch adds a link to the patron details. Extras: changes display of patron name, so a missing firstname won't result in an extra , showing. To test: - Make some update requests from different patron accounts in the OPAC - Go to the patron modification request page in staff - Verify a link 'Patron details' now shows on each entry and works correctly --- koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt index 2a094dd..3cabd4d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt @@ -79,7 +79,7 @@
[% FOREACH pm IN PendingModifications %] [% SET borrowernumber = pm.borrowernumber %] -

[% borrowers.$borrowernumber.surname %], [% borrowers.$borrowernumber.firstname %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) %])

+

[% borrowers.$borrowernumber.surname %][% IF ( borrowers.$borrowernumber.firstname ) %], [% borrowers.$borrowernumber.firstname %][% END %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) %])

@@ -90,6 +90,7 @@ + | Patron details
-- 1.9.1