bee87e4f61
To reproduce: admin-menu 1) Go to a page like admin/categories.pl 2) Click New Category 3) Notice Patron categories in the sidebar menu is no longer bold tools-menu 4) Go to a page like reviews/reviewswaiting.pl 5) Notice bold Comments in sidebar menu 6) Click Approved Comments tab 7) Notice no longer bold in sidebar menu To test: 8) Apply patch and refresh page 9) Follow above steps to reproduce bug, confirm that active links are always bold 10) Test with other links to confirm nothing has broken Special cases 11) Go To admin -> MARC bibliographic frameworks -> Actions for any framework -> MARC structure 12) Confirm sidebar menu link is still bold 13) Go to admin -> Authority types -> Actions for any auth type -> MARC structure 14) Confirm sidebar menu link is still bold 15) Click Actions for any tag -> Subfields 16) Confirm sidebar menu link is still bold 17) Go to admin -> OAI sets config -> Actions for any set -> Define mappings 18) Confirm sidebar menu link is still bold Sponsored-by: Catalyst IT Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
86 lines
3.9 KiB
HTML
86 lines
3.9 KiB
HTML
[% USE Koha %]
|
|
<script type="text/javascript">//<![CDATA[
|
|
$(document).ready(function() {
|
|
var path = location.pathname.substring(1);
|
|
if (path == "cgi-bin/koha/admin/marctagstructure.pl" || path == "cgi-bin/koha/admin/marc_subfields_structure.pl") {
|
|
$('#navmenulist a[href$="/cgi-bin/koha/admin/biblio_framework.pl"]').css('font-weight','bold');
|
|
} else if (path == "cgi-bin/koha/admin/auth_tag_structure.pl" || path == "cgi-bin/koha/admin/auth_subfields_structure.pl") {
|
|
$('#navmenulist a[href$="/cgi-bin/koha/admin/authtypes.pl"]').css('font-weight','bold');
|
|
} else if (path == "cgi-bin/koha/admin/oai_set_mappings.pl") {
|
|
$('#navmenulist a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').css('font-weight','bold');
|
|
} else {
|
|
$('#navmenulist a[href$="/' + path + '"]').css('font-weight','bold');
|
|
}
|
|
});
|
|
//]]>
|
|
</script>
|
|
<div id="navmenu">
|
|
<div id="navmenulist">
|
|
<h5>System preferences</h5>
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
|
|
</ul>
|
|
|
|
<h5>Basic parameters</h5>
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/branches.pl">Libraries and groups</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
|
|
</ul>
|
|
|
|
<h5>Patrons and circulation</h5>
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fines rules</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
|
|
</ul>
|
|
|
|
<h5>Catalog</h5>
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/fieldmapping.pl">Keywords to MARC mapping</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/classsources.pl">Classification sources</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></li>
|
|
</ul>
|
|
|
|
<h5>Acquisition parameters</h5>
|
|
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
|
|
<li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
|
|
</ul>
|
|
|
|
[% IF CAN_user_plugins %]
|
|
<h5>Plugins</h5>
|
|
|
|
<ul>
|
|
<li><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></li>
|
|
</ul>
|
|
[% END %]
|
|
|
|
<h5>Additional parameters</h5>
|
|
|
|
<ul>
|
|
<!-- <li><a href="/cgi-bin/koha/admin/printers.pl">Network Printers</a></li> -->
|
|
<li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
|
|
<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>
|