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 <michael@bywatersolutons.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
0fe65fd42a
commit
39bb40f593
|
|
@ -63,8 +63,8 @@
|
|||
[% ELSE %]
|
||||
<td>-</td>
|
||||
[% END %]
|
||||
[% IF ( messaging_preference.transport_sms ) %]
|
||||
[% IF ( SMSSendDriver ) %]
|
||||
[% IF ( SMSSendDriver ) %]
|
||||
[% IF ( messaging_preference.transport_sms ) %]
|
||||
<td>
|
||||
[% IF ( messaging_preference.transports_sms ) %]
|
||||
<input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" checked="checked" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
|
||||
|
|
@ -72,6 +72,8 @@
|
|||
<input type="checkbox" id="sms[% messaging_preference.message_attribute_id %]" name="[% messaging_preference.message_attribute_id %]" value="sms" onclick = "document.opacmessaging.none[% messaging_preference.message_attribute_id %].checked=false;" />
|
||||
[% END %]
|
||||
</td>
|
||||
[% ELSE %]
|
||||
<td>-</td>
|
||||
[% END %]
|
||||
[% END %]
|
||||
[% IF ( TalkingTechItivaPhone ) %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue