Bug 31743: Change condition for messaging tab
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 13 Oct 2022 06:19:27 +0000 (06:19 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 4 Nov 2022 23:01:13 +0000 (20:01 -0300)
commit894c6dd0fe3ffffadd23f2b04b3db0130ff161ea
tree922635aa25ddfced746f33045e2c4c757b476a7e
parent07c5776ed92648e6b1ebb373208009039cd70a64
Bug 31743: Change condition for messaging tab

Note for QA:
The code for SMSnumber is still made dependent on
EnhancedMessagingPreferencesOPAC in order to not
disturb current behavior.
This fixes Enhanced on, EnhancedOPAC off; the case of
Enhanced off is not considered here.

Test plan:
Enable EnhancedMessaging, disable EnhancedMessagingOPAC.
Enable TranslateNotices.
Check if you can only change notice language on OPAC.
Enable EnhancedMessagingOPAC.
Check if you change messaging prefs too.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: marie-luce <marie-luce.laflamme@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt
opac/opac-messaging.pl