Bugzilla – Attachment 70039 Details for
Bug 19857
Optionally hide SMS provider field in patron modification screen
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19857: Use BorrowerUnwantedField system preference for SMS provider selection
Bug-19857-Use-BorrowerUnwantedField-system-prefere.patch (text/plain), 1.60 KB, created by
Owen Leonard
on 2017-12-21 14:49:49 UTC
(
hide
)
Description:
Bug 19857: Use BorrowerUnwantedField system preference for SMS provider selection
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2017-12-21 14:49:49 UTC
Size:
1.60 KB
patch
obsolete
>From 48fb6d06645957a6994c54a37d579d953945d1d9 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@jns.fi> >Date: Thu, 21 Dec 2017 13:56:34 +0200 >Subject: [PATCH] Bug 19857: Use BorrowerUnwantedField system preference for > SMS provider selection > >Optionally hide SMS provider field in patron modification screen with >BorrowerUnwantedField system preference. > >To test: >1. Apply patch >2. Append BorrowerUnwantedField with sms_provider_id and save changes >3. Go to patron modification screen in staff client >4. Observe the SMS provider selection is now hidden > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 8a17653..468370c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -1241,6 +1241,7 @@ $(document).ready(function() { > <p><label for="SMSnumber">SMS number:</label> > <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber %]" /> > </p> >+ [% UNLESS nosms_provider_id %] > <p> > <label for="sms_provider_id">SMS provider:</label> > <select id="sms_provider_id" name="sms_provider_id"/> >@@ -1254,6 +1255,7 @@ $(document).ready(function() { > [% END %] > </select> > </p> >+ [% END %] > [% END %] > </fieldset> > [% END %] [% END %] >-- >2.1.4
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 19857
:
70008
|
70039
|
70092