@@ -, +, @@ back - Log in to the staff interface as a user with permission to access audio alerts and system preferences. - Go to Administration -> Audio alerts. - You should see an alert, "Audio alerts are disabled." - Test the link to system preferences. It should take you a preferences search which returns only "AudioAlerts." - On the system preference page, test that the link to audio alerts works correctly. - Disable audio alerts again. - Log in to the staf interface as a user with permission to access audio alerts but WITHOUT permission to access system preferences. - Go to Administration -> Audio alerts. - You should see an alert, "Audio alerts are disabled." - There should be no link to system preferences. --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt | 8 ++++++-- .../prog/en/modules/admin/preferences/staff_interface.pref | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/audio_alerts.tt @@ -75,8 +75,12 @@

Audio alerts

[%IF !( Koha.Preference('AudioAlerts') ) %]
-

Note:

-

Please enable system preference 'AudioAlerts' to activate sounds.

+

Audio alerts are disabled

+ [% IF ( CAN_user_parameters_manage_sysprefs ) %] +

Please enable system preference AudioAlerts to activate sounds.

+ [% ELSE %] +

The system preference AudioAlerts must be enabled to activate sounds.

+ [% END %]
[% END %] --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref @@ -174,7 +174,7 @@ Staff interface: choices: yes: "Enable" no: "Don't enable" - - audio alerts for events defined in the audio alerts section of administration. + - audio alerts for events defined in the audio alerts section of administration. - - pref: IntranetCatalogSearchPulldown choices: --