From 0fdc90d2e07da3ccd1458c5f386831da0925e7ee 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 --- .../opac-tmpl/bootstrap/en/modules/opac-messaging.tt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 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 84cb228..32d1416 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt @@ -63,16 +63,16 @@ [% ELSE %] - [% END %] - [% IF ( messaging_preference.transport_sms ) %] - [% IF ( SMSSendDriver ) %] - - [% IF ( messaging_preference.transports_sms ) %] - - [% ELSE %] - - [% END %] - - [% END %] + [% IF ( SMSSendDriver ) %] + + [% IF ( messaging_preference.transports_sms ) %] + + [% ELSE %] + + [% END %] + + [% ELSE %] + - [% END %] [% IF ( TalkingTechItivaPhone ) %] -- 2.7.4