From 20fbfb41a2ba96059aad1b402a2a76b8ae8a2e78 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 --- .../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 800173a26bb..b64a0bd32a4 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.25.1