Bug 29762: Change field names from "Mobile" to "Other phone"

This Patch changes the field name for "Mobile" to "Other phone"
in Patron batch modification.

To test:
1. Apply the patch
2. Go to Tools -> Batch Patron Modification and add some patrons
3. Hit "continue"
4. Verify that in the list of patrons you selected, the field
"Mobile" has been replaced by the field "Other phone"
5. Verify that down below in the fields to be batch modified,
the field "Mobile" has also been replaced by the field "Other
phone"
6. Add some data into the field "Other phone" (e.g. 12345 or
some other number) and hit save
7. Confirm that the field was correctly modified and is still
named "Other phone"

Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Philip Orr 2023-07-07 13:21:46 +00:00 committed by Tomas Cohen Arazi
parent 12c5679322
commit 782bb4acf9
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -224,7 +224,7 @@
<th>Country</th> <th>Country</th>
<th>Primary email</th> <th>Primary email</th>
<th>Phone</th> <th>Phone</th>
<th>Mobile</th> <th>Other phone</th>
<th>Registration date</th> <th>Registration date</th>
<th>Expiry date</th> <th>Expiry date</th>
[% IF CanUpdatePasswordExpiration %] [% IF CanUpdatePasswordExpiration %]
@ -321,7 +321,7 @@
[% CASE 'country' %]<span>Country:</span> [% CASE 'country' %]<span>Country:</span>
[% CASE 'email' %]<span>Primary email:</span> [% CASE 'email' %]<span>Primary email:</span>
[% CASE 'phone' %]<span>Phone:</span> [% CASE 'phone' %]<span>Phone:</span>
[% CASE 'mobile' %]<span>Mobile:</span> [% CASE 'mobile' %]<span>Other phone:</span>
[% CASE 'sort1' %]<span>Sort 1:</span> [% CASE 'sort1' %]<span>Sort 1:</span>
[% CASE 'sort2' %]<span>Sort 2:</span> [% CASE 'sort2' %]<span>Sort 2:</span>
[% CASE 'dateenrolled' %]<span>Registration date:</span> [% CASE 'dateenrolled' %]<span>Registration date:</span>