Bug 18692 - same with syspref TalkingTechItivaPhone
authorFridolin Somers <fridolin.somers@biblibre.com>
Thu, 1 Jun 2017 15:22:42 +0000 (17:22 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 Oct 2017 09:28:51 +0000 (11:28 +0200)
commit667a907aa73ab210ee05bc9ef73f8ab3bedbe6bf
tree05b2c1bb3f15242e3cb6f59450068472b515421e
parentc5c174e834cad2110f45eec90b80441f2f4ec0f4
Bug 18692 - same with syspref TalkingTechItivaPhone

Fixes misplaced columns introduced by previous patch and adds the "-" for phone
transport type.

To test:
1. Set SMSSendDriver system preference on
2. Go to intra and OPAC messaging preferences
3. By default you should see checkboxes for all messages for SMS
4. Ensure columns are not misplaced (pushing one column too much to the right)
5. Delete sms method from one of the messages in message_transports table
6. Observe that "-" is displayed instead of checkbox for that message for SMS
7. Repeat same for TalkingTechItivaPhoneNotification system preference.
   By default it may not have transports in message_transports, so make sure
   to assign some in order to have the checkboxes visible.

https://bugs.koha-community.org/show_bug.cgi?id=8692

Signed-off-by: Michael Andrew Cabus <michael@bywatersolutons.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 8fd0847c82adbcaf0af3285dd9cfc5e646ba6500)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt