From a932d05ace6500a3b67888aad1306e58cfa8014f Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Mon, 29 May 2017 16:32:18 +0200 Subject: [PATCH] Bug 18692 - When SMS is enabled the OPAC messaging table is misaligned Bug 6726 had corrected the fact that when SMS is enabled the messaging table is missing a column. Bug 6458 has broken this. The SMS column is missing an else case with cell containing only "-" like other columns. Test plan : - set SMSSendDriver preference empty - go to OPAC patron messaging - column SMS should not be visible - set SMSSendDriver preference not empty - go to OPAC patron messaging - column SMS appears with checkboxes 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 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 ed7d468db2..6c95f78d41 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt @@ -66,8 +66,8 @@ [% ELSE %] - [% END %] - [% IF ( messaging_preference.transport_sms ) %] - [% IF ( SMSSendDriver ) %] + [% IF ( SMSSendDriver ) %] + [% IF ( messaging_preference.transport_sms ) %] [% IF ( messaging_preference.transports_sms ) %] @@ -75,6 +75,8 @@ [% END %] + [% ELSE %] + - [% END %] [% END %] [% IF ( TalkingTechItivaPhone ) %] -- 2.39.5