Bugzilla – Attachment 169327 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: Added permission to circ returns
Bug-37144-Added-permission-to-circ-returns.patch (text/plain), 5.46 KB, created by
Laura Escamilla
on 2024-07-22 17:13:30 UTC
(
hide
)
Description:
Bug 37144: Added permission to circ returns
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2024-07-22 17:13:30 UTC
Size:
5.46 KB
patch
obsolete
>From 75a74d4fafa26aee82dfcc915a0f4d37277117b1 Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Mon, 22 Jul 2024 16:52:31 +0000 >Subject: [PATCH] Bug 37144: Added permission to circ returns > >--- > .../intranet-tmpl/prog/en/modules/circ/returns.tt | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index 7091e5ef8e..996e5a3fe8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -81,6 +81,8 @@ > <span class="patron-category"> - [% patron.category.description | html %]</span> > </li> > >+ [% IF CAN_user_view_contact_information %] >+ > [% INCLUDE display_holdpatron_address %] > > [% IF ( patron.phone ) %] >@@ -96,6 +98,7 @@ > [% END %] > </li> > [% END %] >+ [% END %] > > [% UNLESS ( transfertodo) %] > [% INCLUDE display_bormessagepref %] >@@ -654,10 +657,12 @@ > [% INCLUDE 'patron-title.inc' patron=patron hide_patron_infos_if_needed=1 invert_name=1 link_to="circulation_reserves" %] > <span class="patron-category"> - [% patron.category.description | html %]</span> > </li> >+ [% IF CAN_user_view_contact_information %] > [% INCLUDE display_holdpatron_address %] > [% IF ( patron.phone ) %] > <li> [% patron.phone | html %]</li> > [% END %] >+ [% END %] > > [% IF ( patron.email ) %] > <li><a id="boremail" href="mailto:[% patron.email | html %]">[% patron.email | html %]</a></li> >@@ -837,6 +842,8 @@ > <span class="patron-category"> - [% patron.category.description | html %]</span> > </li> > >+ [% IF CAN_user_view_contact_information %] >+ > [% INCLUDE display_holdpatron_address %] > > [% IF ( patron.phone ) %] >@@ -852,6 +859,7 @@ > [% END %] > </li> > [% END %] >+ [% END %] > > [% UNLESS ( transfertodo) %] > [% INCLUDE display_bormessagepref %] >@@ -956,11 +964,14 @@ > <span class="patron-category"> - [% recall.patron.category.description | html %]</span> > </li> > >+ [% IF CAN_user_view_contact_information %] >+ > [% INCLUDE display_holdpatron_address patron=recall.patron %] > > [% IF ( recall.patron.phone ) %] > <li>[% recall.patron.phone | html %]</li> > [% END %] >+ [% END %] > > [% IF ( recall.patron.email ) %] > <li> >@@ -1059,6 +1070,8 @@ > <span class="patron-category"> - [% recall.patron.category.description | html %]</span> > </li> > >+ [% IF CAN_user_view_contact_information %] >+ > [% INCLUDE display_holdpatron_address patron=recall.patron %] > > [% IF ( recall.patron.phone ) %] >@@ -1074,6 +1087,7 @@ > [% END %] > </li> > [% END %] >+ [% END %] > > [% UNLESS ( transfertodo) %] > [% INCLUDE display_bormessagepref %] >-- >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