Bug 18692 - intranet part
authorLari Taskula <lari.taskula@jns.fi>
Wed, 31 May 2017 14:03:54 +0000 (17:03 +0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 Oct 2017 09:28:56 +0000 (11:28 +0200)
commitc618b787bf98e6b9c8004694cfd066e936760191
tree07e7f26ebde82db378b8dfae84c08843eea7975c
parent667a907aa73ab210ee05bc9ef73f8ab3bedbe6bf
Bug 18692 - intranet part

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 intranet 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.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit bb31d99065c468fbec2443cd15894b03657a24d5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc