]> git.koha-community.org Git - koha.git/commit
Bug 13613: Don't allow digest to be selected without a digest-able transport selected
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 22 Jan 2015 17:36:31 +0000 (12:36 -0500)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 11 May 2021 13:09:19 +0000 (15:09 +0200)
commite95ffe8da341b44184dfe1c9b9c2c18d44ff8482
treeb87fc5b4b065e7a6de6feb06b00f312664b08613
parent2da36e3f175de1fcf23bdfbc96b8053f3a0a7d26
Bug 13613: Don't allow digest to be selected without a digest-able transport selected

By default, only the email transport is enabled. This gives the
messaging preferences the look of having email and digest and two
options. I.E. to some users it appears that you check email for single
emails, *or* you check digest for a digest email.

To help remove this possible confusion, the digest mode checkbox should
be disabled if no digest-able transports are checked for a given notice.

Test Plan:
1) Apply this patch
2) For both the staff interface and the opac, note that the digest
   checkbox is disabled any time that no digest enabled transport (
   email, sms if enabled ) is checked for the patron editor.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/messaging-preference-form.inc
koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-messaging.tt