Bug 18122

Summary: Audio alerts: Add hint on where to enable sounds
Product: Koha Reporter: Marc Véron <veron>
Component: System AdministrationAssignee: Marc Véron <veron>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, katrin.fischer, kyle, mtj, mtompset
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 18122 - Audio alerts: Add hint on where to enable sounds
Bug 18122 - Audio alerts: Add hint on where to enable sounds
Bug 18122 - Audio alerts: Add hint on where to enable sounds
Bug 18122 - Audio alerts: Add hint on where to enable sounds

Description Marc Véron 2017-02-15 09:17:17 UTC
Add a hint to page Home > Administration > Audio alerts about where to enable the sound system (syspref 'AudioAlerts').
Comment 1 Marc Véron 2017-02-15 09:30:59 UTC
Created attachment 60246 [details] [review]
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.
Comment 2 Owen Leonard 2017-02-21 17:31:35 UTC
I think the hint on the audio alerts page should be in a <div class="dialog alert"></div>
Comment 3 Marc Véron 2017-02-21 20:00:12 UTC
Created attachment 60536 [details] [review]
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
Comment 4 Mark Tompsett 2017-02-22 19:25:52 UTC
Wow! This is going to save some poor tired soul a lot of headaches. Good job.
Comment 5 Mark Tompsett 2017-02-22 19:26:20 UTC
Created attachment 60571 [details] [review]
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>
Comment 6 Jonathan Druart 2017-02-24 08:26:52 UTC
Created attachment 60640 [details] [review]
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>
Comment 7 Kyle M Hall 2017-03-03 18:16:03 UTC
Pushed to master for 17.05, thanks Marc!
Comment 8 Katrin Fischer 2017-03-12 23:01:04 UTC
Helpful string change - decided to push this although it's marked as enhancement.

This patch has been pushed to 16.11.x and will be in 16.11.05.
Comment 9 Mason James 2017-04-03 14:39:19 UTC
Pushed to 16.05.x, for 16.05.11 release