]> git.koha-community.org Git - koha.git/commit
Bug 18122 - Audio alerts: Add hint on where to enable sounds
authorMarc Véron <veron@veron.ch>
Wed, 15 Feb 2017 09:24:56 +0000 (10:24 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 3 Mar 2017 18:15:53 +0000 (18:15 +0000)
commitb6cb18c4a8292cabe5fd611b349b51d5c79b5fe4
treed6fe1af137b988f2341d0cdcb5c5387db19e77cb
parent3d3ab8bd2f0ca7fc091d0367047248c561a3af8a
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt
koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/audio_alerts.tt