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 <david@davidnind.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 8b460db131)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
ce7871c3ac
commit
bc143d2b87
|
|
@ -5,7 +5,7 @@
|
|||
[% PROCESS 'permissions.inc' %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
Set permissions for [% patron.surname | html %], [% patron.firstname | html %] › Patrons › Koha
|
||||
Set permissions for [% INCLUDE 'patron-title.inc' no_html = 1 %] › Patrons › Koha
|
||||
</title>
|
||||
[% INCLUDE 'doc-head-close.inc' %]
|
||||
</head>
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
</li>
|
||||
<li>
|
||||
<a href="#" aria-current="page">
|
||||
Set permissions for [% patron.surname | html %], [% patron.firstname | html %]
|
||||
Set permissions for [% INCLUDE 'patron-title.inc' %]
|
||||
</a>
|
||||
</li>
|
||||
</ol>
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
<input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
|
||||
<input type="hidden" name="member" id="borrowernumber" value="[% patron.borrowernumber | html %]" />
|
||||
<input type="hidden" name="newflags" value="1" />
|
||||
<h1>Set permissions for [% patron.surname | html %], [% patron.firstname | html %]</h1>
|
||||
<h1>Set permissions for [% INCLUDE 'patron-title.inc' no_html = 1 %]</h1>
|
||||
|
||||
<div id="permissionstree">
|
||||
<div id="permissions_toolbar" class="btn-toolbar">
|
||||
|
|
|
|||
Loading…
Reference in New Issue