Bugzilla – Attachment 168389 Details for
Bug 37144
Add a subpermission for hiding patron contact information
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37144 - Hide address on circ menu
Bug-37144---Hide-address-on-circ-menu.patch (text/plain), 2.33 KB, created by
Laura Escamilla
on 2024-07-02 16:51:13 UTC
(
hide
)
Description:
Bug 37144 - Hide address on circ menu
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2024-07-02 16:51:13 UTC
Size:
2.33 KB
patch
obsolete
>From 9b074f0c62ec18ade80322ed9265051d8cde31cd Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Tue, 2 Jul 2024 15:40:01 +0000 >Subject: [PATCH] Bug 37144 - Hide address on circ menu > >--- > .../intranet-tmpl/prog/en/includes/circ-menu.inc | 11 +++++++---- > 1 file changed, 7 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index 5b7774377d..84ab492c4d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -62,9 +62,11 @@ > [% END # /IF patronimages %] > > <ul class="patronbriefinfo"> >+ > [% IF patron.pronouns %] > <li class="patronpronouns">([% patron.pronouns | html %])</li> > [% END %] >+ > [% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) && CAN_user_borrowers_view_contact_information %] > > [% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %] >@@ -120,7 +122,7 @@ > <li> <span class="empty">No date of birth stored.</span></li> > [% END %] > >- [% END # /IF HidePersonalPatronDetailOnCirculation %] >+ [% END %] > > [% IF Koha.Preference('ExtendedPatronAttributes') %] > [% FOREACH extendedattribute IN patron.extended_attributes %] >@@ -131,7 +133,7 @@ > [% IF extendedattribute.type.is_date %] > [% extendedattribute.description | $KohaDates %] > [% ELSE %] >- [% extendedattribute.description | html %] >+ [% extendedattribute.description | html %] > [% END %] > </li> <!-- /.patronattribute --> > [% END %] >@@ -158,8 +160,8 @@ > <li class="blocker account_locked">Account has been locked</li> > [% END %] > [% END %] >- </ul> <!-- /.patronbriefinfo --> >- </div> <!-- /.patronifo --> >+ </ul> >+ </div> > > <div id="menu"> > <ul> >@@ -360,3 +362,4 @@ > [% END # /IF patronimages %] > > [% END # /IF patron.borrowernumber %] >+[% END %] >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37144
:
168282
|
168283
|
168284
|
168387
|
168388
|
168389
|
168390
|
168391
|
168392
|
168393
|
168394
|
168460
|
168463
|
169320
|
169321
|
169322
|
169323
|
169324
|
169325
|
169326
|
169327
|
169328
|
169329
|
169330
|
169331
|
169332
|
169333
|
169334