From 8b460db131f83e361788d53b3a101565eab302db Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 19 May 2022 12:34:01 +0100 Subject: [PATCH] Bug 30806: Migrate to patron-title in member-flags This patch updates the member-flags template to use the patron-title.inc include wherever patron names are referenced. Test plan 1) Navigate to a patron and click through to edit their permissions 2) Note how the patron name displays in the title, breadcrump and headings 3) Apply the patch and reload the page 4) Confirm the patron name still appears in each location and is consistently formatted and linked as you would expect Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/members/member-flags.tt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt index 800173a26b..b64a0bd32a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/member-flags.tt @@ -5,7 +5,7 @@ [% PROCESS 'permissions.inc' %] [% INCLUDE 'doc-head-open.inc' %] - Set permissions for [% patron.surname | html %], [% patron.firstname | html %] › Patrons › Koha + Set permissions for [% INCLUDE 'patron-title.inc' no_html = 1 %] › Patrons › Koha [% INCLUDE 'doc-head-close.inc' %] @@ -24,7 +24,7 @@
  • - Set permissions for [% patron.surname | html %], [% patron.firstname | html %] + Set permissions for [% INCLUDE 'patron-title.inc' %]
  • @@ -41,7 +41,7 @@ -

    Set permissions for [% patron.surname | html %], [% patron.firstname | html %]

    +

    Set permissions for [% INCLUDE 'patron-title.inc' no_html = 1 %]

    -- 2.39.5