Bug 15864 - SMS cellular providers link missing from administration sidebar menu

When the SMSSendDriver system preference is set to "Email" a link to the
SMS cellular providers management page should appear in the left-hand
sidebar menu on Administration pages. This patch adds the link to
admin-menu.inc.

To test, apply the patch set your SMSSendDriver system preference to
"Email." View various Administration pages which show the left-hand
sidebar menu and confirm that "SMS cellular providers" is in the list.

Empty the SMSSendDriver preference and confirm that the link no longer
appears.

Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2016-02-29 11:04:37 -05:00 committed by Brendan A Gallagher
parent 3bbc861330
commit 4eb0a1ad19

View file

@ -1,3 +1,4 @@
[% USE Koha %]
<script type="text/javascript">//<![CDATA[
$(document).ready(function() {
var path = location.pathname.substring(1);
@ -72,6 +73,9 @@
<li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
<li><a href="/cgi-bin/koha/admin/columns_settings.pl">Columns settings</a></li>
<li><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></li>
[% IF Koha.Preference('SMSSendDriver') == 'Email' %]
<li><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></li>
[% END %]
</ul>
</div>
</div>