]> git.koha-community.org Git - koha.git/commit
Bug 16732 - Add audio alerts (custom sound notifications) to web based self checkout
authorNick Clemens <nick@bywatersolutions.com>
Mon, 15 Aug 2016 19:58:52 +0000 (19:58 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 13 Sep 2016 17:22:33 +0000 (17:22 +0000)
commit99f6116f3595f4d58307fc3249f3be98550d99a9
tree38d9c7f7979384d556a22ea9dcc8389c6e728f54
parent1d546c57b1be3677263639ff330061fce33dde34
Bug 16732 - Add audio alerts (custom sound notifications) to web based self checkout

This patch adds the infrastructure needed to allow audio alerts, as
configured in administration, to affect the sco module

This patch allows only for the use of sounds with a full URL to be used
and does not allow for the Koha standard sounds to be accessed via the
SCO

To test:
Ensure you have the preference AudioAlerts enabled
Ensure you can hear normal sounds from the staff module
Define an audio alert such as:
    Selector: .sco_entry
    Sound: https://archive.org/download/Doorbell_1/doorbell.ogg
Load the SCO module
You should hear the doorbell noise (everytime you reload even!)
Test that the default sounds are not activated for the SCO, you must
sepcifically define them

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt