Bug 26299: Use same SMS number help text in OPAC as staff interface
The SMS number help text in the OPAC follows a North American phone number style. It should be more generic. To that end, this patch makes the OPAC use the same help text for SMS numbers as the staff interface To test: 1) Apply the patch 2) Set "SMSSendDriver" to "Anything" in global system preferences 3) Go to the following link and note the help text by SMS number http://localhost:8081/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=51 4) Go to http://localhost:8080/cgi-bin/koha/opac-messaging.pl 5) Note that the help text in both interfaces uses the same wording Signed-off-by: Alexis Ripetti <alexis.ripetti@inLibro.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
d4013f660c
commit
5dcca80dc5
|
|
@ -1416,7 +1416,7 @@ legend:hover {
|
|||
<p>
|
||||
<label for="SMSnumber">SMS number:</label>
|
||||
<input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber | html %]" />
|
||||
<span class="hint">SMS number should be in the format 1234567890 or +11234567890</span>
|
||||
<span class="hint sms_number_help">Please enter numbers only. Prefix the number with + if including the country code.</span>
|
||||
</p>
|
||||
[% UNLESS nosms_provider_id %]
|
||||
<p>
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@
|
|||
<li>
|
||||
<label for="SMSnumber">SMS number:</label>
|
||||
<input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber | html %]" pattern="^(\+[1-9]\d{0,2})?\d{1,12}$" />
|
||||
<div class="hint">Please enter numbers only. <strong>(123) 456-7890</strong> would be entered as <strong>1234567890</strong>.</div>
|
||||
<span class="hint sms_number_help">Please enter numbers only. Prefix the number with + if including the country code.</span>
|
||||
</li>
|
||||
|
||||
[% IF ( SMSSendDriver == 'Email' ) %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue