From 8fd0847c82adbcaf0af3285dd9cfc5e646ba6500 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 1 Jun 2017 17:22:42 +0200 Subject: [PATCH] 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 Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt index 6c95f78d41..801389c97c 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt @@ -80,6 +80,7 @@ [% END %] [% END %] [% IF ( TalkingTechItivaPhone ) %] + [% IF ( messaging_preference.transport_phone ) %] [% IF ( messaging_preference.transports_phone ) %] [% END %] + [% ELSE %] + - + [% END %] [% END %] [% IF ( messaging_preference.transport_email ) %] -- 2.39.5