Bug 18122 - Audio alerts: Add hint on where to enable sounds
commitd06d5ac65b15d2873b3e04f889814947aff45bd9
authorMarc Véron <veron@veron.ch>
Wed, 15 Feb 2017 09:24:56 +0000 (15 10:24 +0100)
committerMason James <mtj@kohaaloha.com>
Fri, 17 Mar 2017 13:08:39 +0000 (18 02:08 +1300)
tree1dddc1a2fcbe10b07a0744871a27a73690a6ee5c
parentc58c89018ebbef09dc23144a7f2e6ec8a78309c1
Bug 18122 - Audio alerts: Add hint on where to enable sounds

This patch adds a hint to page Home > Administration > Audio alerts
and related help page about where to enable the sound system
(syspref 'AudioAlerts').

To test:
- Apply patch
- Disable syspref 'AudioAlerts'
- Go to Home > Administration > Audio alerts
- Note hint below title 'Audio alerts'
- Enable syspref 'AudioAlerts'
- Go to  Home > Administration > Audio alerts
- Hint is no longer visible (since audios are enabled)
- Open Help page (top right)
- Verify that hint on help page makes sense.

Amended to add alert class as requested by comment #2 2017-02-21 mv

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit b6cb18c4a8292cabe5fd611b349b51d5c79b5fe4)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/audio_alerts.tt