View | Details | Raw Unified | Return to bug 37222
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/css/print.css (-2 / +2 lines)
Lines 317-323 td.debit { Link Here
317
#menu,
317
#menu,
318
#limitselect,
318
#limitselect,
319
#batchModify,
319
#batchModify,
320
#navmenu,
320
.sidebar_menu,
321
.gradient,
321
.gradient,
322
.noprint,
322
.noprint,
323
form#sortbyform,
323
form#sortbyform,
Lines 379-382 p#upload_image { Link Here
379
379
380
#catalog_detail .col-sm-push-2 {
380
#catalog_detail .col-sm-push-2 {
381
    left: 0;
381
    left: 0;
382
}
382
}
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-14 / +4 lines)
Lines 441-449 aside { Link Here
441
    }
441
    }
442
}
442
}
443
443
444
#menu,
444
.sidebar_menu {
445
#navmenulist,
446
#serialmenu {
447
    background-color: #E6E6E6;
445
    background-color: #E6E6E6;
448
    display: block;
446
    display: block;
449
    padding: 1em 0 1em 0;
447
    padding: 1em 0 1em 0;
Lines 461-467 aside { Link Here
461
        padding-left: 0;
459
        padding-left: 0;
462
460
463
        ul {
461
        ul {
464
            font-size: 75%;
462
            background-color: #F3F4F4;
463
            font-size: 85%;
465
        }
464
        }
466
465
467
        li {
466
        li {
Lines 498-512 aside { Link Here
498
    }
497
    }
499
}
498
}
500
499
501
#admin_preferences #menu {
502
    ul {
503
        ul {
504
            background-color: #F3F4F4;
505
            font-size: 85%;
506
        }
507
    }
508
}
509
510
div {
500
div {
511
    &.mainmenu {
501
    &.mainmenu {
512
        display: inline;
502
        display: inline;
Lines 4895-4898 div .suggestion_note { Link Here
4895
            display: block;
4885
            display: block;
4896
        }
4886
        }
4897
    }
4887
    }
4898
}
4888
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc (-56 / +55 lines)
Lines 1-62 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="navmenu">
2
<div id="acquisitions-menu" class="sidebar_menu">
3
    <div id="navmenulist">
3
    <h5>Acquisitions</h5>
4
        <h5>Acquisitions</h5>
4
    <ul>
5
        <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions home</a></li>
6
        <li><a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a></li>
7
        [% IF ( CAN_user_acquisition_order_receive ) %]<li><a href="/cgi-bin/koha/acqui/lateorders.pl">Late orders</a></li>[% END %]
8
        [% IF CAN_user_suggestions_suggestions_create || CAN_user_suggestions_suggestions_manage || CAN_user_suggestions_suggestions_delete %]<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a></li>[% END %]
9
        <li><a href="/cgi-bin/koha/acqui/invoices.pl">Invoices</a></li>
10
        [% IF Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage %]
11
            <li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">EDIFACT messages</a></li>
12
        [% END %]
13
    </ul>
14
    [% IF ( CAN_user_reports || CAN_user_circulate_circulate_remaining_permissions ) %]
15
        <h5>Reports</h5>
5
        <ul>
16
        <ul>
6
            <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions home</a></li>
17
            [% IF ( CAN_user_reports ) %]
7
            <li><a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a></li>
18
                <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics wizard</a></li>
8
            [% IF ( CAN_user_acquisition_order_receive ) %]<li><a href="/cgi-bin/koha/acqui/lateorders.pl">Late orders</a></li>[% END %]
19
                <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
9
            [% IF CAN_user_suggestions_suggestions_create || CAN_user_suggestions_suggestions_manage || CAN_user_suggestions_suggestions_delete %]<li><a href="/cgi-bin/koha/suggestion/suggestion.pl">Suggestions</a></li>[% END %]
20
            [% END %]
10
            <li><a href="/cgi-bin/koha/acqui/invoices.pl">Invoices</a></li>
21
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
22
                <li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
23
            [% END %]
24
        </ul>
25
    [% END %]
26
    [% IF ( CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_currencies_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) || CAN_user_parameters_manage_additional_fields ) || ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
27
        <h5>Administration</h5>
28
        <ul>
29
            [% IF ( CAN_user_acquisition_period_manage ) %]
30
                <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
31
            [% END %]
32
            [% IF ( CAN_user_acquisition_budget_manage ) %]
33
                <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
34
            [% END %]
35
            [% IF ( CAN_user_acquisition_currencies_manage ) %]
36
                <li><a href="/cgi-bin/koha/admin/currency.pl">Currencies</a></li>
37
            [% END %]
11
            [% IF Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage %]
38
            [% IF Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage %]
12
                <li><a href="/cgi-bin/koha/acqui/edifactmsgs.pl">EDIFACT messages</a></li>
39
                <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
40
                <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
41
            [% END %]
42
            [% IF Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage %]
43
                <li><a href="/cgi-bin/koha/admin/marc_order_accounts.pl">MARC order accounts</a></li>
44
            [% END %]
45
            [% IF CAN_user_acquisition_edit_invoices && CAN_user_parameters_manage_additional_fields %]
46
                <li>
47
                    <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqinvoices">Manage invoice fields</a>
48
                </li>
49
            [% END %]
50
            [% IF CAN_user_acquisition_order_manage && CAN_user_parameters_manage_additional_fields %]
51
                <li>
52
                    <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqbasket">Manage order basket fields</a>
53
                </li>
54
                <li>
55
                    <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqorders">Manage order line fields</a>
56
                </li>
13
            [% END %]
57
            [% END %]
14
        </ul>
58
        </ul>
15
        [% IF ( CAN_user_reports || CAN_user_circulate_circulate_remaining_permissions ) %]
59
    [% END %]
16
            <h5>Reports</h5>
17
            <ul>
18
                [% IF ( CAN_user_reports ) %]
19
                    <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics wizard</a></li>
20
                    <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
21
                [% END %]
22
                [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
23
                    <li><a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a></li>
24
                [% END %]
25
            </ul>
26
        [% END %]
27
        [% IF ( CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_currencies_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) || CAN_user_parameters_manage_additional_fields ) || ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
28
            <h5>Administration</h5>
29
            <ul>
30
                [% IF ( CAN_user_acquisition_period_manage ) %]
31
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
32
                [% END %]
33
                [% IF ( CAN_user_acquisition_budget_manage ) %]
34
                    <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
35
                [% END %]
36
                [% IF ( CAN_user_acquisition_currencies_manage ) %]
37
                    <li><a href="/cgi-bin/koha/admin/currency.pl">Currencies</a></li>
38
                [% END %]
39
                [% IF Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage %]
40
                    <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
41
                    <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
42
                [% END %]
43
                [% IF Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage %]
44
                    <li><a href="/cgi-bin/koha/admin/marc_order_accounts.pl">MARC order accounts</a></li>
45
                [% END %]
46
                [% IF CAN_user_acquisition_edit_invoices && CAN_user_parameters_manage_additional_fields %]
47
                    <li>
48
                        <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqinvoices">Manage invoice fields</a>
49
                    </li>
50
                [% END %]
51
                [% IF CAN_user_acquisition_order_manage && CAN_user_parameters_manage_additional_fields %]
52
                    <li>
53
                        <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqbasket">Manage order basket fields</a>
54
                    </li>
55
                    <li>
56
                        <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqorders">Manage order line fields</a>
57
                    </li>
58
                [% END %]
59
            </ul>
60
        [% END %]
61
    </div>
62
</div>
60
</div>
61
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc (-181 / +180 lines)
Lines 1-192 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
2
3
<div id="navmenu">
3
<div id="admin-menu" class="sidebar_menu">
4
    <div id="navmenulist">
4
    [% IF ( CAN_user_parameters_manage_sysprefs ) %]
5
        [% IF ( CAN_user_parameters_manage_sysprefs ) %]
5
        <h5>System preferences</h5>
6
            <h5>System preferences</h5>
6
        <ul>
7
            <ul>
7
            <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
8
                <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
8
        </ul>
9
            </ul>
9
    [% END %]
10
        [% END %]
11
10
12
        [% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
11
    [% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
13
            <h5>Basic parameters</h5>
12
        <h5>Basic parameters</h5>
14
            <ul>
13
        <ul>
15
                [% IF ( CAN_user_parameters_manage_libraries ) %]
14
            [% IF ( CAN_user_parameters_manage_libraries ) %]
16
                    <li><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></li>
15
                <li><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></li>
17
                    <li><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></li>
16
                <li><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></li>
18
                [% END %]
17
            [% END %]
19
                [% IF ( CAN_user_parameters_manage_itemtypes ) %]
18
            [% IF ( CAN_user_parameters_manage_itemtypes ) %]
20
                    <li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
19
                <li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
21
                [% END %]
20
            [% END %]
22
                [% IF ( CAN_user_parameters_manage_auth_values ) %]
21
            [% IF ( CAN_user_parameters_manage_auth_values ) %]
23
                    <li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
22
                <li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
24
                [% END %]
23
            [% END %]
25
            </ul>
24
        </ul>
26
        [% END %]
25
    [% END %]
27
26
28
        [% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities || CAN_user_parameters_manage_curbside_pickups || CAN_user_parameters_manage_patron_restrictions ) %]
27
    [% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities || CAN_user_parameters_manage_curbside_pickups || CAN_user_parameters_manage_patron_restrictions ) %]
29
            <h5>Patrons and circulation</h5>
28
        <h5>Patrons and circulation</h5>
30
            <ul>
29
        <ul>
31
                [% IF ( CAN_user_parameters_manage_patron_categories ) %]
30
            [% IF ( CAN_user_parameters_manage_patron_categories ) %]
32
                    <li><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></li>
31
                <li><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></li>
33
                [% END %]
32
            [% END %]
34
                [% IF ( CAN_user_parameters_manage_circ_rules ) %]
33
            [% IF ( CAN_user_parameters_manage_circ_rules ) %]
35
                    <li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fine rules</a></li>
34
                <li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fine rules</a></li>
36
                [% END %]
35
            [% END %]
37
                [% IF ( CAN_user_parameters_manage_patron_attributes ) %]
36
            [% IF ( CAN_user_parameters_manage_patron_attributes ) %]
38
                    <li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
37
                <li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
39
                [% END %]
38
            [% END %]
40
                [% IF ( CAN_user_parameters_manage_transfers ) %]
39
            [% IF ( CAN_user_parameters_manage_transfers ) %]
41
                    <li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
40
                <li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
42
                    <li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></li>
41
                <li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></li>
43
                [% END %]
42
            [% END %]
44
                [% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
43
            [% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
45
                    <li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
44
                <li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
46
                [% END %]
45
            [% END %]
47
                [% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %]
46
            [% IF ( Koha.Preference('UseCirculationDesks') && CAN_user_parameters_manage_libraries ) %]
48
                    <li><a href="/cgi-bin/koha/admin/desks.pl">Desks</a></li>
47
                <li><a href="/cgi-bin/koha/admin/desks.pl">Desks</a></li>
49
                [% END %]
48
            [% END %]
50
                [% IF ( CAN_user_parameters_manage_cities ) %]
49
            [% IF ( CAN_user_parameters_manage_cities ) %]
51
                    <li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
50
                <li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
52
                [% END %]
51
            [% END %]
53
                [% IF ( CAN_user_parameters_manage_curbside_pickups ) %]
52
            [% IF ( CAN_user_parameters_manage_curbside_pickups ) %]
54
                    <li><a href="/cgi-bin/koha/admin/curbside_pickup.pl">Curbside pickup</a></li>
53
                <li><a href="/cgi-bin/koha/admin/curbside_pickup.pl">Curbside pickup</a></li>
55
                [% END %]
54
            [% END %]
56
                [% IF ( CAN_user_parameters_manage_patron_restrictions ) %]
55
            [% IF ( CAN_user_parameters_manage_patron_restrictions ) %]
57
                    <li><a href="/cgi-bin/koha/admin/restrictions.pl">Patron restriction types</a></li>
56
                <li><a href="/cgi-bin/koha/admin/restrictions.pl">Patron restriction types</a></li>
58
                [% END %]
57
            [% END %]
59
            </ul>
58
        </ul>
60
        [% END %]
59
    [% END %]
61
60
62
        [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
61
    [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
63
            <h5>Accounting</h5>
62
        <h5>Accounting</h5>
64
            <ul>
63
        <ul>
65
                [% IF ( CAN_user_parameters_manage_accounts ) %]
64
            [% IF ( CAN_user_parameters_manage_accounts ) %]
66
                    <li><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></li>
65
                <li><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></li>
67
                    <li><a href="/cgi-bin/koha/admin/credit_types.pl">Credit types</a></li>
66
                <li><a href="/cgi-bin/koha/admin/credit_types.pl">Credit types</a></li>
68
                [% END %]
67
            [% END %]
69
                [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %]
68
            [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %]
70
                    <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></li>
69
                <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></li>
71
                [% END %]
70
            [% END %]
72
            </ul>
71
        </ul>
73
        [% END %]
72
    [% END %]
74
73
75
        [% IF CAN_user_plugins && plugins_enabled %]
74
    [% IF CAN_user_plugins && plugins_enabled %]
76
            <h5>Plugins</h5>
75
        <h5>Plugins</h5>
77
            <ul>
76
        <ul>
78
                <li><a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a></li>
77
            <li><a href="/cgi-bin/koha/plugins/plugins-home.pl">Plugins</a></li>
79
            </ul>
78
        </ul>
80
        [% END %]
79
    [% END %]
81
80
82
        [% IF CAN_user_parameters_manage_background_jobs %]
81
    [% IF CAN_user_parameters_manage_background_jobs %]
83
            <h5>Jobs</h5>
82
        <h5>Jobs</h5>
84
            <ul>
83
        <ul>
85
                <li><a href="/cgi-bin/koha/admin/background_jobs.pl">Jobs</a></li>
84
            <li><a href="/cgi-bin/koha/admin/background_jobs.pl">Jobs</a></li>
86
            </ul>
85
        </ul>
87
        [% END %]
86
    [% END %]
88
87
89
        [% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config || CAN_user_parameters_manage_marc_overlay_rules || ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) ) %]
88
    [% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config || CAN_user_parameters_manage_marc_overlay_rules || ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) ) %]
90
            <h5>Catalog</h5>
89
        <h5>Catalog</h5>
91
            <ul>
90
        <ul>
92
                [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
91
            [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
93
                    <li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
92
                <li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
94
                    <li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
93
                <li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
95
                [% END %]
94
            [% END %]
96
                [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
95
            [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
97
                    <li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
96
                <li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
98
                    <li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
97
                <li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
99
                [% END %]
98
            [% END %]
100
                [% IF ( CAN_user_parameters_manage_classifications ) %]
99
            [% IF ( CAN_user_parameters_manage_classifications ) %]
101
                    <li><a href="/cgi-bin/koha/admin/classsources.pl">Classification configuration</a></li>
100
                <li><a href="/cgi-bin/koha/admin/classsources.pl">Classification configuration</a></li>
102
                [% END %]
101
            [% END %]
103
                [% IF ( CAN_user_parameters_manage_matching_rules ) %]
102
            [% IF ( CAN_user_parameters_manage_matching_rules ) %]
104
                    <li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
103
                <li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
105
                [% END %]
104
            [% END %]
106
                [% IF ( CAN_user_parameters_manage_record_sources ) %]
105
            [% IF ( CAN_user_parameters_manage_record_sources ) %]
107
                    <li><a href="/cgi-bin/koha/admin/record_sources">Record sources</a></li>
106
                <li><a href="/cgi-bin/koha/admin/record_sources">Record sources</a></li>
108
                [% END %]
107
            [% END %]
109
                [% IF ( CAN_user_parameters_manage_marc_overlay_rules ) %]
108
            [% IF ( CAN_user_parameters_manage_marc_overlay_rules ) %]
110
                    <li><a href="/cgi-bin/koha/admin/marc-overlay-rules.pl">Record overlay rules</a></li>
109
                <li><a href="/cgi-bin/koha/admin/marc-overlay-rules.pl">Record overlay rules</a></li>
111
                [% END %]
110
            [% END %]
112
                [% IF ( CAN_user_parameters_manage_oai_sets ) %]
111
            [% IF ( CAN_user_parameters_manage_oai_sets ) %]
113
                    <li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
112
                <li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
114
                [% END %]
113
            [% END %]
115
                [% IF ( CAN_user_parameters_manage_item_search_fields ) %]
114
            [% IF ( CAN_user_parameters_manage_item_search_fields ) %]
116
                    <li><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></li>
115
                <li><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></li>
117
                [% END %]
116
            [% END %]
118
                [% IF ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) %]
117
            [% IF ( Koha.Preference('SavedSearchFilters') && CAN_user_parameters_manage_search_filters ) %]
119
                    <li><a href="/cgi-bin/koha/admin/search_filters.pl">Search filters</a></li>
118
                <li><a href="/cgi-bin/koha/admin/search_filters.pl">Search filters</a></li>
120
                [% END %]
119
            [% END %]
121
                [% IF ( CAN_user_parameters_manage_search_engine_config ) %]
120
            [% IF ( CAN_user_parameters_manage_search_engine_config ) %]
122
                    <li><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></li>
121
                <li><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></li>
123
                [% END %]
122
            [% END %]
124
            </ul>
123
        </ul>
125
        [% END %]
124
    [% END %]
126
125
127
        [% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) ) || ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
126
    [% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) ) || ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
128
            <h5>Acquisition parameters</h5>
127
        <h5>Acquisition parameters</h5>
129
            <ul>
128
        <ul>
130
                [% IF ( CAN_user_acquisition_currencies_manage ) %]
129
            [% IF ( CAN_user_acquisition_currencies_manage ) %]
131
                    <li><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></li>
130
                <li><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></li>
132
                [% END %]
131
            [% END %]
133
                [% IF ( CAN_user_acquisition_period_manage ) %]
132
            [% IF ( CAN_user_acquisition_period_manage ) %]
134
                    <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
133
                <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
135
                [% END %]
134
            [% END %]
136
                [% IF ( CAN_user_acquisition_budget_manage ) %]
135
            [% IF ( CAN_user_acquisition_budget_manage ) %]
137
                    <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
136
                <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
138
                [% END %]
137
            [% END %]
139
                [% IF ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) %]
138
            [% IF ( Koha.Preference('EDIFACT') && CAN_user_acquisition_edi_manage ) %]
140
                    <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
139
                <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
141
                    <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
140
                <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
142
                [% END %]
141
            [% END %]
143
                [% IF ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
142
            [% IF ( Koha.Preference('MarcOrderingAutomation') && CAN_user_acquisition_marc_order_manage ) %]
144
                    <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">MARC ordering accounts</a></li>
143
                <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">MARC ordering accounts</a></li>
145
                [% END %]
144
            [% END %]
146
            </ul>
145
        </ul>
147
        [% END %]
146
    [% END %]
148
147
149
        [% IF ( CAN_user_parameters_manage_identity_providers || CAN_user_parameters_manage_smtp_servers || CAN_user_parameters_manage_search_targets || CAN_user_parameters_manage_didyoumean || CAN_user_parameters_manage_column_config || CAN_user_parameters_manage_audio_alerts || ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) || CAN_user_parameters_manage_usage_stats || CAN_user_parameters_manage_additional_fields || ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) ) %]
148
    [% IF ( CAN_user_parameters_manage_identity_providers || CAN_user_parameters_manage_smtp_servers || CAN_user_parameters_manage_search_targets || CAN_user_parameters_manage_didyoumean || CAN_user_parameters_manage_column_config || CAN_user_parameters_manage_audio_alerts || ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) || CAN_user_parameters_manage_usage_stats || CAN_user_parameters_manage_additional_fields || ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) ) %]
150
            <h5>Additional parameters</h5>
149
        <h5>Additional parameters</h5>
151
            <ul>
150
        <ul>
152
                [% IF ( CAN_user_parameters_manage_identity_providers) %]
151
            [% IF ( CAN_user_parameters_manage_identity_providers) %]
153
                    <li><a href="/cgi-bin/koha/admin/identity_providers.pl">Identity providers</a></li>
152
                <li><a href="/cgi-bin/koha/admin/identity_providers.pl">Identity providers</a></li>
154
                [% END %]
153
            [% END %]
155
                [% IF ( CAN_user_parameters_manage_search_targets ) %]
154
            [% IF ( CAN_user_parameters_manage_search_targets ) %]
156
                    <li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
155
                <li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
157
                    <li><a href="/cgi-bin/koha/admin/oai_servers.pl">OAI repositories</a></li>
156
                <li><a href="/cgi-bin/koha/admin/oai_servers.pl">OAI repositories</a></li>
158
                [% END %]
157
            [% END %]
159
                [% IF ( CAN_user_parameters_manage_smtp_servers ) %]
158
            [% IF ( CAN_user_parameters_manage_smtp_servers ) %]
160
                    <li><a href="/cgi-bin/koha/admin/smtp_servers.pl">SMTP servers</a></li>
159
                <li><a href="/cgi-bin/koha/admin/smtp_servers.pl">SMTP servers</a></li>
161
                [% END %]
160
            [% END %]
162
                [% IF ( CAN_user_parameters_manage_didyoumean ) %]
161
            [% IF ( CAN_user_parameters_manage_didyoumean ) %]
163
                    <li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
162
                <li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
164
                [% END %]
163
            [% END %]
165
                [% IF ( CAN_user_parameters_manage_column_config ) %]
164
            [% IF ( CAN_user_parameters_manage_column_config ) %]
166
                    <li><a href="/cgi-bin/koha/admin/columns_settings.pl">Table settings</a></li>
165
                <li><a href="/cgi-bin/koha/admin/columns_settings.pl">Table settings</a></li>
167
                [% END %]
166
            [% END %]
168
                [% IF ( CAN_user_parameters_manage_audio_alerts ) %]
167
            [% IF ( CAN_user_parameters_manage_audio_alerts ) %]
169
                    <li><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></li>
168
                <li><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></li>
170
                [% END %]
169
            [% END %]
171
                [% IF ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) %]
170
            [% IF ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) %]
172
                    <li><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></li>
171
                <li><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></li>
173
                [% END %]
172
            [% END %]
174
                [% IF ( CAN_user_parameters_manage_usage_stats ) %]
173
            [% IF ( CAN_user_parameters_manage_usage_stats ) %]
175
                    <li><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share usage statistics</a></li>
174
                <li><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share usage statistics</a></li>
176
                [% END %]
175
            [% END %]
177
                [% IF ( CAN_user_parameters_manage_mana ) %]
176
            [% IF ( CAN_user_parameters_manage_mana ) %]
178
                    <li><a href="/cgi-bin/koha/admin/share_content.pl">Share content with Mana KB</a></li>
177
                <li><a href="/cgi-bin/koha/admin/share_content.pl">Share content with Mana KB</a></li>
179
                [% END %]
178
            [% END %]
180
                [% IF ( CAN_user_parameters_manage_additional_fields ) %]
179
            [% IF ( CAN_user_parameters_manage_additional_fields ) %]
181
                    <li><a href="/cgi-bin/koha/admin/additional-fields.pl">Additional fields</a></li>
180
                <li><a href="/cgi-bin/koha/admin/additional-fields.pl">Additional fields</a></li>
182
                [% END %]
181
            [% END %]
183
                [% IF ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) %]
182
            [% IF ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) %]
184
                    <li><a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Keyboard shortcuts</a></li>
183
                <li><a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Keyboard shortcuts</a></li>
185
                [% END %]
184
            [% END %]
186
                [% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
185
            [% IF Koha.Preference('ILLModule ') && CAN_user_ill %]
187
                    <li><a href="/cgi-bin/koha/admin/ill_batch_statuses.pl">Interlibrary loan batch statuses</a></li>
186
                <li><a href="/cgi-bin/koha/admin/ill_batch_statuses.pl">Interlibrary loan batch statuses</a></li>
188
                [% END %]
187
            [% END %]
189
            </ul>
188
        </ul>
190
        [% END %]
189
    [% END %]
191
    </div>
192
</div>
190
</div>
191
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc (-1 / +2 lines)
Lines 2-8 Link Here
2
[% USE Biblio %]
2
[% USE Biblio %]
3
[% SET biblio_object_id = biblio.biblionumber %]
3
[% SET biblio_object_id = biblio.biblionumber %]
4
4
5
<div id="menu">
5
<div id="biblio-view-menu" class="sidebar_menu">
6
    <ul>
6
    <ul>
7
        <li [% IF detailview %]class="active"[% END %]>
7
        <li [% IF detailview %]class="active"[% END %]>
8
            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url %]">Normal</a>
8
            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url %]">Normal</a>
Lines 85-87 Link Here
85
        [%- END -%]
85
        [%- END -%]
86
    </ul>
86
    </ul>
87
</div>
87
</div>
88
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc (-122 / +121 lines)
Lines 1-131 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="navmenu">
2
<div id="cat-menu" class="sidebar_menu">
3
    <div id="navmenulist">
3
    [% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %]
4
        [% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %]
4
        <h5>Import</h5>
5
            <h5>Import</h5>
5
        <ul>
6
            <ul>
6
            [% IF ( CAN_user_tools_stage_marc_import ) %]
7
                [% IF ( CAN_user_tools_stage_marc_import ) %]
7
                <li>
8
                    <li>
8
                    <a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage records for import</a>
9
                        <a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage records for import</a>
9
                </li>
10
                    </li>
10
            [% END %]
11
                [% END %]
11
            [% IF ( CAN_user_tools_manage_staged_marc ) %]
12
                [% IF ( CAN_user_tools_manage_staged_marc ) %]
12
                <li>
13
                    <li>
13
                    <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged records</a>
14
                        <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged records</a>
14
                </li>
15
                    </li>
15
            [% END %]
16
                [% END %]
16
        </ul>
17
            </ul>
17
    [% END %]
18
        [% END %]
19
18
20
        [% IF ( CAN_user_tools_export_catalog ) %]
19
    [% IF ( CAN_user_tools_export_catalog ) %]
21
            <h5>Export</h5>
20
        <h5>Export</h5>
22
            <ul>
21
        <ul>
23
                [% IF ( CAN_user_tools_export_catalog ) %]
22
            [% IF ( CAN_user_tools_export_catalog ) %]
24
                    <li>
23
                <li>
25
                        <a href="/cgi-bin/koha/tools/export.pl">Export catalog data</a>
24
                    <a href="/cgi-bin/koha/tools/export.pl">Export catalog data</a>
26
                    </li>
25
                </li>
27
                [% END %]
26
            [% END %]
28
            </ul>
27
        </ul>
29
        [% END %]
28
    [% END %]
30
29
31
        [% IF ( CAN_user_tools_inventory || ( ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue ) ) %]
30
    [% IF ( CAN_user_tools_inventory || ( ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue ) ) %]
32
            <h5>Reports</h5>
31
        <h5>Reports</h5>
33
            <ul>
32
        <ul>
34
                [% IF ( CAN_user_tools_inventory ) %]
33
            [% IF ( CAN_user_tools_inventory ) %]
35
                    <li>
34
                <li>
36
                        <a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a>
35
                    <a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a>
37
                    </li>
36
                </li>
38
                [% END %]
37
            [% END %]
39
                [% IF ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue %]
38
            [% IF ( Koha.Preference('OpacCatalogConcerns') || Koha.Preference('CatalogConcerns') ) && CAN_user_editcatalogue_edit_catalogue %]
40
                    <li>
39
                <li>
41
                        <a href="/cgi-bin/koha/cataloguing/concerns.pl">Catalog concerns</a>
40
                    <a href="/cgi-bin/koha/cataloguing/concerns.pl">Catalog concerns</a>
42
                    </li>
41
                </li>
43
                [% END %]
42
            [% END %]
44
            </ul>
43
        </ul>
45
        [% END %]
44
    [% END %]
46
45
47
        [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_marc_modification_templates ) %]
46
    [% IF ( CAN_user_tools_items_batchmod || CAN_user_tools_items_batchdel || CAN_user_tools_records_batchmod || CAN_user_tools_records_batchdel || CAN_user_tools_marc_modification_templates ) %]
48
            <h5>Batch editing</h5>
47
        <h5>Batch editing</h5>
49
            <ul>
48
        <ul>
50
                [% IF ( CAN_user_tools_items_batchmod ) %]
49
            [% IF ( CAN_user_tools_items_batchmod ) %]
51
                    <li>
50
                <li>
52
                        <a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a>
51
                    <a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a>
53
                    </li>
52
                </li>
54
                [% END %]
53
            [% END %]
55
                [% IF ( CAN_user_tools_items_batchdel ) %]
54
            [% IF ( CAN_user_tools_items_batchdel ) %]
56
                    <li>
55
                <li>
57
                        <a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a>
56
                    <a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a>
58
                    </li>
57
                </li>
59
                [% END %]
58
            [% END %]
60
                [% IF CAN_user_tools_records_batchmod %]
59
            [% IF CAN_user_tools_records_batchmod %]
61
                    <li>
60
                <li>
62
                        <a href="/cgi-bin/koha/tools/batch_record_modification.pl">Batch record modification</a>
61
                    <a href="/cgi-bin/koha/tools/batch_record_modification.pl">Batch record modification</a>
63
                    </li>
62
                </li>
64
                [% END %]
63
            [% END %]
65
                [% IF CAN_user_tools_records_batchdel %]
64
            [% IF CAN_user_tools_records_batchdel %]
66
                    <li>
65
                <li>
67
                        <a href="/cgi-bin/koha/tools/batch_delete_records.pl">Batch record deletion</a>
66
                    <a href="/cgi-bin/koha/tools/batch_delete_records.pl">Batch record deletion</a>
68
                    </li>
67
                </li>
69
                [% END %]
68
            [% END %]
70
                [% IF ( CAN_user_tools_marc_modification_templates ) %]
69
            [% IF ( CAN_user_tools_marc_modification_templates ) %]
71
                    <li>
70
                <li>
72
                        <a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a>
71
                    <a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a>
73
                    </li>
72
                </li>
74
                [% END %]
73
            [% END %]
75
            </ul>
74
        </ul>
76
        [% END %]
75
    [% END %]
77
76
78
        [% IF ( CAN_user_tools_items_batchmod || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) ) %]
77
    [% IF ( CAN_user_tools_items_batchmod || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) ) %]
79
            <h5>Automation</h5>
78
        <h5>Automation</h5>
80
            <ul>
79
        <ul>
81
                [% IF ( CAN_user_tools_items_batchmod ) %]
80
            [% IF ( CAN_user_tools_items_batchmod ) %]
82
                    <li>
81
                <li>
83
                        <a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">Item modifications by age</a>
82
                    <a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">Item modifications by age</a>
84
                    </li>
83
                </li>
85
                [% END %]
84
            [% END %]
86
                [% IF ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) %]
85
            [% IF ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) %]
87
                    <li>
86
                <li>
88
                        <a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a>
87
                    <a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a>
89
                    </li>
88
                </li>
90
                [% END %]
89
            [% END %]
91
            </ul>
90
        </ul>
92
        [% END %]
91
    [% END %]
93
92
94
        [% IF ( CAN_user_tools_label_creator || CAN_user_tools_upload_local_cover_images ) %]
93
    [% IF ( CAN_user_tools_label_creator || CAN_user_tools_upload_local_cover_images ) %]
95
            <h5>Tools</h5>
94
        <h5>Tools</h5>
96
            <ul>
95
        <ul>
97
                [% IF ( CAN_user_tools_label_creator ) %]
96
            [% IF ( CAN_user_tools_label_creator ) %]
98
                    <li>
97
                <li>
99
                        <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a>
98
                    <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a>
100
                    </li>
99
                </li>
101
                    <li>
100
                <li>
102
                        <a href="/cgi-bin/koha/labels/barcode-print.pl">Barcode image generator</a>
101
                    <a href="/cgi-bin/koha/labels/barcode-print.pl">Barcode image generator</a>
103
                    </li>
102
                </li>
104
                    <li>
103
                <li>
105
                        <a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a>
104
                    <a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a>
106
                    </li>
105
                </li>
107
                [% END %]
106
            [% END %]
108
107
109
                [% IF ( CAN_user_tools_upload_local_cover_images ) %]
108
            [% IF ( CAN_user_tools_upload_local_cover_images ) %]
110
                    <li>
109
                <li>
111
                        <a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a>
110
                    <a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a>
112
                    </li>
111
                </li>
113
                [% END %]
112
            [% END %]
114
            </ul>
113
        </ul>
115
        [% END %]
114
    [% END %]
116
115
117
        [% IF ( CAN_user_parameters ) %]
116
    [% IF ( CAN_user_parameters ) %]
118
            <h5>Administration</h5>
117
        <h5>Administration</h5>
119
            <ul>
118
        <ul>
120
                [% IF ( CAN_user_parameters_manage_sysprefs ) %]
119
            [% IF ( CAN_user_parameters_manage_sysprefs ) %]
121
                    <li>
120
                <li>
122
                        <a class="circ-button" href="/cgi-bin/koha/admin/preferences.pl?tab=cataloguing">Preferences</a>
121
                    <a class="circ-button" href="/cgi-bin/koha/admin/preferences.pl?tab=cataloguing">Preferences</a>
123
                    </li>
122
                </li>
124
                [% END %]
123
            [% END %]
125
                <li>
124
            <li>
126
                    <a class="circ-button" href="/cgi-bin/koha/admin/admin-home.pl">Configuration</a>
125
                <a class="circ-button" href="/cgi-bin/koha/admin/admin-home.pl">Configuration</a>
127
                </li>
126
            </li>
128
            </ul>
127
        </ul>
129
        [% END %]
128
    [% END %]
130
    </div>
131
</div>
129
</div>
130
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-3 / +3 lines)
Lines 159-165 Link Here
159
    </div>
159
    </div>
160
    <!-- /.patronifo -->
160
    <!-- /.patronifo -->
161
161
162
    <div id="menu">
162
    <div id="circ-menu" class="sidebar_menu">
163
        <ul>
163
        <ul>
164
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
164
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
165
                <li [% IF circview %]class="active"[% END %]>
165
                <li [% IF circview %]class="active"[% END %]>
Lines 257-262 Link Here
257
            [% END %]
257
            [% END %]
258
        </ul>
258
        </ul>
259
    </div>
259
    </div>
260
    <!-- /.sidebar_menu -->
260
261
261
    [% IF patronimages && CAN_user_tools_batch_upload_patron_images %]
262
    [% IF patronimages && CAN_user_tools_batch_upload_patron_images %]
262
        <!-- Modal -->
263
        <!-- Modal -->
Lines 282-289 Link Here
282
                                        <div class="hint">
283
                                        <div class="hint">
283
                                            [% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title | html %]
284
                                            [% patron.title | html %] [% patron.firstname | html %] [% patron.surname | html %] does not currently have an image available. To import an image for [% patron.title | html %]
284
                                            [% patron.firstname | html %]
285
                                            [% patron.firstname | html %]
285
                                            [% patron.surname | html %],
286
                                            [% patron.surname | html %], enter the name of an image file to upload.
286
                                            enter the name of an image file to upload.
287
                                        </div>
287
                                        </div>
288
                                    [% END # /IF patron.image %]
288
                                    [% END # /IF patron.image %]
289
                                    <p>Only PNG, GIF, JPEG, XPM formats are supported.</p>
289
                                    <p>Only PNG, GIF, JPEG, XPM formats are supported.</p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-nav.inc (-125 / +117 lines)
Lines 1-134 Link Here
1
<!-- circ-nav.inc -->
1
<!-- circ-nav.inc -->
2
[% USE Koha %]
2
[% USE Koha %]
3
[% USE Branches %]
3
[% USE Branches %]
4
<div id="navmenu">
4
<div class="circ-nav-menu sidebar_menu">
5
    <div id="navmenulist">
5
    <h5>Circulation</h5>
6
        <div class="row">
6
    <ul>
7
            <div class="col-sm-6 col-md-12">
7
        <li>
8
                <h5>Circulation</h5>
8
            <a href="/cgi-bin/koha/circ/circulation.pl">Check out</a>
9
                <ul>
9
        </li>
10
                    <li>
10
        <li>
11
                        <a href="/cgi-bin/koha/circ/circulation.pl">Check out</a>
11
            <a href="/cgi-bin/koha/circ/returns.pl">Check in</a>
12
                    </li>
12
        </li>
13
                    <li>
13
        <li>
14
                        <a href="/cgi-bin/koha/circ/returns.pl">Check in</a>
14
            <a href="/cgi-bin/koha/circ/renew.pl">Renew</a>
15
                    </li>
15
        </li>
16
                    <li>
16
        [% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary ) %]
17
                        <a href="/cgi-bin/koha/circ/renew.pl">Renew</a>
17
            <li>
18
                    </li>
18
                [% IF Koha.Preference('UseCirculationDesks') %]
19
                    [% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary ) %]
19
                    <a href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a>
20
                        <li>
20
                [% ELSE %]
21
                            [% IF Koha.Preference('UseCirculationDesks') %]
21
                    <a href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
22
                                <a href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a>
22
                [% END %]
23
                            [% ELSE %]
23
            </li>
24
                                <a href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
24
        [% ELSIF Koha.Preference('UseCirculationDesks') %]
25
                            [% END %]
25
            <li>
26
                        </li>
26
                <a href="/cgi-bin/koha/circ/set-library.pl">Set desk</a>
27
                    [% ELSIF Koha.Preference('UseCirculationDesks') %]
27
            </li>
28
                        <li>
28
        [% END %]
29
                            <a href="/cgi-bin/koha/circ/set-library.pl">Set desk</a>
29
        [% IF ( fast_cataloging && CAN_user_editcatalogue_fast_cataloging ) %]
30
                        </li>
30
            <li>
31
                    [% END %]
31
                <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"> Fast cataloging</a>
32
                    [% IF ( fast_cataloging && CAN_user_editcatalogue_fast_cataloging ) %]
32
            </li>
33
                        <li>
33
        [% END %]
34
                            <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"> Fast cataloging</a>
34
        [% IF ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes ) %]
35
                        </li>
35
            <li>
36
                    [% END %]
36
                <a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a>
37
                    [% IF ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes ) %]
37
            </li>
38
                        <li>
38
        [% END %]
39
                            <a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a>
39
        [% IF Koha.Preference('OnSiteCheckouts') %]
40
                        </li>
40
            <li>
41
                    [% END %]
41
                <a href="/cgi-bin/koha/circ/on-site_checkouts.pl">Pending on-site checkouts</a>
42
                    [% IF Koha.Preference('OnSiteCheckouts') %]
42
            </li>
43
                        <li>
43
        [% END %]
44
                            <a href="/cgi-bin/koha/circ/on-site_checkouts.pl">Pending on-site checkouts</a>
44
    </ul>
45
                        </li>
46
                    [% END %]
47
                </ul>
48
45
49
                <h5>Holds</h5>
46
    <h5>Holds</h5>
50
                <ul>
47
    <ul>
51
                    <li>
48
        <li>
52
                        <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a>
49
            <a href="/cgi-bin/koha/circ/view_holdsqueue.pl">Holds queue</a>
53
                    </li>
50
        </li>
54
                    <li>
51
        <li>
55
                        <a href="/cgi-bin/koha/circ/pendingreserves.pl">Holds to pull</a>
52
            <a href="/cgi-bin/koha/circ/pendingreserves.pl">Holds to pull</a>
56
                    </li>
53
        </li>
57
                    <li>
54
        <li>
58
                        <a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a>
55
            <a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a>
59
                    </li>
56
        </li>
60
                    [% IF ( Koha.Preference('CurbsidePickup') && CAN_user_circulate_manage_curbside_pickups ) %]
57
        [% IF ( Koha.Preference('CurbsidePickup') && CAN_user_circulate_manage_curbside_pickups ) %]
61
                        <li>
58
            <li>
62
                            <a href="/cgi-bin/koha/circ/curbside_pickups.pl">Curbside pickups</a>
59
                <a href="/cgi-bin/koha/circ/curbside_pickups.pl">Curbside pickups</a>
63
                        </li>
60
            </li>
64
                    [% END %]
61
        [% END %]
65
                    <li>
62
        <li>
66
                        <a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a>
63
            <a href="/cgi-bin/koha/circ/reserveratios.pl">Hold ratios</a>
67
                    </li>
64
        </li>
68
                </ul>
65
    </ul>
69
            </div>
70
66
71
            <div class="col-sm-6 col-md-12">
67
    [% IF Koha.Preference('UseRecalls') and CAN_user_recalls %]
72
                [% IF Koha.Preference('UseRecalls') and CAN_user_recalls %]
68
        <h5>Recalls</h5>
73
                    <h5>Recalls</h5>
69
        <ul>
74
                    <ul>
70
            <li>
75
                        <li>
71
                <a href="/cgi-bin/koha/recalls/recalls_queue.pl" title="All active recalls">Recalls queue</a>
76
                            <a href="/cgi-bin/koha/recalls/recalls_queue.pl" title="All active recalls">Recalls queue</a>
72
            </li>
77
                        </li>
73
            <li>
78
                        <li>
74
                <a href="/cgi-bin/koha/recalls/recalls_to_pull.pl" title="Recalls that could be filled but have not been set waiting">Recalls to pull</a>
79
                            <a href="/cgi-bin/koha/recalls/recalls_to_pull.pl" title="Recalls that could be filled but have not been set waiting">Recalls to pull</a>
75
            </li>
80
                        </li>
76
            <li>
81
                        <li>
77
                <a href="/cgi-bin/koha/recalls/recalls_overdue.pl" title="Recalled items that are overdue to be returned">Overdue recalls</a>
82
                            <a href="/cgi-bin/koha/recalls/recalls_overdue.pl" title="Recalled items that are overdue to be returned">Overdue recalls</a>
78
            </li>
83
                        </li>
79
            <li>
84
                        <li>
80
                <a href="/cgi-bin/koha/recalls/recalls_waiting.pl" title="Recalled items awaiting pickup">Recalls awaiting pickup</a>
85
                            <a href="/cgi-bin/koha/recalls/recalls_waiting.pl" title="Recalled items awaiting pickup">Recalls awaiting pickup</a>
81
            </li>
86
                        </li>
82
            <li>
87
                        <li>
83
                <a href="/cgi-bin/koha/recalls/recalls_old_queue.pl" title="Inactive recalls">Old recalls</a>
88
                            <a href="/cgi-bin/koha/recalls/recalls_old_queue.pl" title="Inactive recalls">Old recalls</a>
84
            </li>
89
                        </li>
85
        </ul>
90
                    </ul>
86
    [% END %]
91
                [% END %]
92
87
93
                [% IF Koha.Preference('ArticleRequests') %]
88
    [% IF Koha.Preference('ArticleRequests') %]
94
                    <h5>Patron request</h5>
89
        <h5>Patron request</h5>
95
                    <ul>
90
        <ul>
96
                        <li>
91
            <li>
97
                            <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>
92
                <a href="/cgi-bin/koha/circ/article-requests.pl">Article requests</a>
98
                        </li>
93
            </li>
99
                    </ul>
94
        </ul>
100
                [% END %]
95
    [% END %]
101
96
102
                <h5>Transfers</h5>
97
    <h5>Transfers</h5>
103
                <ul>
98
    <ul>
104
                    [% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
99
        [% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
105
                        <li>
100
            <li>
106
                            <a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a>
101
                <a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a>
107
                        </li>
102
            </li>
108
                    [% END %]
103
        [% END %]
109
                    [% IF Koha.Preference('StockRotation') %]
104
        [% IF Koha.Preference('StockRotation') %]
110
                        <li>
105
            <li>
111
                            <a href="/cgi-bin/koha/circ/transfers_to_send.pl">Transfers to send</a>
106
                <a href="/cgi-bin/koha/circ/transfers_to_send.pl">Transfers to send</a>
112
                        </li>
107
            </li>
113
                    [% END %]
108
        [% END %]
114
                    <li>
109
        <li>
115
                        <a href="/cgi-bin/koha/circ/transferstoreceive.pl">Transfers to receive</a>
110
            <a href="/cgi-bin/koha/circ/transferstoreceive.pl">Transfers to receive</a>
116
                    </li>
111
        </li>
117
                </ul>
112
    </ul>
118
113
119
                [% IF ( CAN_user_circulate_overdues_report ) %]
114
    [% IF ( CAN_user_circulate_overdues_report ) %]
120
                    <h5>Overdues</h5>
115
        <h5>Overdues</h5>
121
                    <ul>
116
        <ul>
122
                        <li>
117
            <li>
123
                            <a href="/cgi-bin/koha/circ/overdue.pl" title="Warning: This report is very resource intensive on systems with large numbers of overdue items.">Overdues</a>
118
                <a href="/cgi-bin/koha/circ/overdue.pl" title="Warning: This report is very resource intensive on systems with large numbers of overdue items.">Overdues</a>
124
                        </li>
119
            </li>
125
                        <li>
120
            <li>
126
                            <a href="/cgi-bin/koha/circ/branchoverdues.pl" title="Limited to your library. See report help for other details.">Overdues with fines</a>
121
                <a href="/cgi-bin/koha/circ/branchoverdues.pl" title="Limited to your library. See report help for other details.">Overdues with fines</a>
127
                        </li>
122
            </li>
128
                    </ul>
123
        </ul>
129
                [% END %]
124
    [% END %]
130
            </div>
131
        </div>
132
    </div>
133
</div>
125
</div>
134
<!-- /circ-nav.inc -->
126
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc (-21 / +20 lines)
Lines 1-23 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="navmenu">
2
<div id="guided-reports-view-menu" class="sidebar_menu">
3
    <div id="navmenulist">
3
    <h5>Run reports</h5>
4
        <h5>Run reports</h5>
4
    <ul>
5
        <ul>
5
        [% IF ( CAN_user_reports_execute_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Saved reports</a></li>[% END %]
6
            [% IF ( CAN_user_reports_execute_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Saved reports</a></li>[% END %]
6
    </ul>
7
        </ul>
7
    <h5>Reports dictionary</h5>
8
        <h5>Reports dictionary</h5>
8
    <ul>
9
        <ul>
9
        <li><a href="/cgi-bin/koha/reports/dictionary.pl">View dictionary</a></li>
10
            <li><a href="/cgi-bin/koha/reports/dictionary.pl">View dictionary</a></li>
10
    </ul>
11
        </ul>
11
    <h5>Useful resources</h5>
12
        <h5>Useful resources</h5>
12
    <ul>
13
        <ul>
13
        <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li>
14
            <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li>
14
        [% SET koha_version = Koha.Version %]
15
            [% SET koha_version = Koha.Version %]
15
        [% IF koha_version.development %]
16
            [% IF koha_version.development %]
16
            <li><a href="http://schema.koha-community.org/main" target="blank">Koha database schema</a></li>
17
                <li><a href="http://schema.koha-community.org/main" target="blank">Koha database schema</a></li>
17
        [% ELSE %]
18
            [% ELSE %]
18
            <li><a href="http://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li>
19
                <li><a href="http://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li>
19
        [% END %]
20
            [% END %]
20
    </ul>
21
        </ul>
22
    </div>
23
</div>
21
</div>
22
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/pos-menu.inc (-24 / +23 lines)
Lines 1-28 Link Here
1
[% USE Branches %]
1
[% USE Branches %]
2
[% USE Registers %]
2
[% USE Registers %]
3
<div id="navmenu">
3
<div id="pos-menu" class="sidebar_menu">
4
    <div id="navmenulist">
4
    [% IF ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) %]
5
        [% IF ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) %]
5
        <h5>Cash management</h5>
6
            <h5>Cash management</h5>
6
        <ul>
7
            <ul>
7
            <li><a href="/cgi-bin/koha/pos/pay.pl">Point of sale</a></li>
8
                <li><a href="/cgi-bin/koha/pos/pay.pl">Point of sale</a></li>
8
            [% IF !(Registers.session_register_name == '') %]
9
                [% IF !(Registers.session_register_name == '') %]
9
                <li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
10
                    <li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
10
            [% END %]
11
                [% END %]
11
            <li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
12
                <li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
12
        </ul>
13
            </ul>
13
    [% END %]
14
        [% END %]
14
    [% IF ( CAN_user_parameters_manage_cash_registers || CAN_user_parameters_manage_accounts) %]
15
        [% IF ( CAN_user_parameters_manage_cash_registers || CAN_user_parameters_manage_accounts) %]
15
        <h5>Administration</h5>
16
            <h5>Administration</h5>
16
        <ul>
17
            <ul>
17
            [% IF ( CAN_user_parameters_manage_cash_registers ) %]
18
                [% IF ( CAN_user_parameters_manage_cash_registers ) %]
18
                <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Configure cash registers</a></li>
19
                    <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Configure cash registers</a></li>
19
            [% END %]
20
                [% END %]
21
20
22
                [% IF ( CAN_user_parameters_manage_accounts ) %]
21
            [% IF ( CAN_user_parameters_manage_accounts ) %]
23
                    <li><a href="/cgi-bin/koha/admin/debit_types.pl">Configure items for purchase</a></li>
22
                <li><a href="/cgi-bin/koha/admin/debit_types.pl">Configure items for purchase</a></li>
24
                [% END %]
23
            [% END %]
25
            </ul>
24
        </ul>
26
        [% END %]
25
    [% END %]
27
    </div>
28
</div>
26
</div>
27
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc (-1 / +2 lines)
Lines 1-5 Link Here
1
[% USE HtmlId %]
1
[% USE HtmlId %]
2
<div id="menu">
2
<div id="prefs-menu" class="sidebar_menu">
3
    <ul>
3
    <ul>
4
        [% IF ( accounting ) %]
4
        [% IF ( accounting ) %]
5
            <li class="active">
5
            <li class="active">
Lines 221-226 Link Here
221
        [% END %]
221
        [% END %]
222
    </ul>
222
    </ul>
223
</div>
223
</div>
224
<!-- /.sidebar_menu -->
224
225
225
[% BLOCK subtabs %]
226
[% BLOCK subtabs %]
226
    [% UNLESS ( searchfield ) %]
227
    [% UNLESS ( searchfield ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/preservation-menu.inc (-9 / +8 lines)
Lines 1-11 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="navmenu">
2
<div id="preservation-menu" class="sidebar_menu">
3
    <div id="navmenulist">
3
    <h5>Preservation</h5>
4
        <h5>Preservation</h5>
4
    <ul>
5
        <ul>
5
        <li><a href="/cgi-bin/koha/preservation/home.pl">Preservation home</a></li>
6
            <li><a href="/cgi-bin/koha/preservation/home.pl">Preservation home</a></li>
6
        <li><a href="/cgi-bin/koha/preservation/waiting-list.pl">Waiting list</a></li>
7
            <li><a href="/cgi-bin/koha/preservation/waiting-list.pl">Waiting list</a></li>
7
        <li><a href="/cgi-bin/koha/preservation/trains.pl">Trains</a></li>
8
            <li><a href="/cgi-bin/koha/preservation/trains.pl">Trains</a></li>
8
    </ul>
9
        </ul>
10
    </div>
11
</div>
9
</div>
10
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc (-48 / +46 lines)
Lines 1-57 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
<div id="reports-menu" class="sidebar_menu">
3
    <h5>Guided reports</h5>
4
    <ul>
5
        <li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports</a></li>
6
        [% IF ( CAN_user_reports_create_reports ) %]
7
            <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form">Build new</a></li>
8
        [% END %]
9
        [% IF ( CAN_user_reports_execute_reports ) %]
10
            <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Use saved</a></li>
11
        [% END %]
12
        [% IF ( CAN_user_reports_create_reports ) %]
13
            <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form_sql">Create from SQL</a></li>
14
        [% END %]
15
    </ul>
2
16
3
<div id="navmenu">
17
    <h5>Statistics wizards</h5>
4
    <div id="navmenulist">
18
    <ul>
5
        <h5>Guided reports</h5>
19
        <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
6
        <ul>
20
        <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
7
            <li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports</a></li>
21
        <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
8
            [% IF ( CAN_user_reports_create_reports ) %]
22
        <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
9
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form">Build new</a></li>
23
        <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
10
            [% END %]
24
        <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
11
            [% IF ( CAN_user_reports_execute_reports ) %]
25
        <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
12
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Use saved</a></li>
26
    </ul>
13
            [% END %]
14
            [% IF ( CAN_user_reports_create_reports ) %]
15
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form_sql">Create from SQL</a></li>
16
            [% END %]
17
        </ul>
18
27
19
        <h5>Statistics wizards</h5>
28
    [% IF plugins_enabled %]
29
        <h5>Report plugins</h5>
20
        <ul>
30
        <ul>
21
            <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
31
            <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
22
            <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
23
            <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
24
            <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
25
            <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
26
            <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
27
            <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
28
        </ul>
32
        </ul>
33
    [% END %]
29
34
30
        [% IF plugins_enabled %]
35
    <h5>Top lists</h5>
31
            <h5>Report plugins</h5>
36
    <ul>
32
            <ul>
37
        <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
33
                <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
38
        <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li>
34
            </ul>
39
    </ul>
35
        [% END %]
36
40
37
        <h5>Top lists</h5>
41
    <h5>Inactive</h5>
38
        <ul>
42
    <ul>
39
            <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
43
        <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li>
40
            <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li>
44
        <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li>
41
        </ul>
45
    </ul>
42
43
        <h5>Inactive</h5>
44
        <ul>
45
            <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li>
46
            <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li>
47
        </ul>
48
46
49
        <h5>Other</h5>
47
    <h5>Other</h5>
50
        <ul>
48
    <ul>
51
            <li><a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a></li>
49
        <li><a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a></li>
52
            <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
50
        <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
53
            <li><a href="/cgi-bin/koha/reports/catalog_by_itemtype.pl">Catalog by item type</a></li>
51
        <li><a href="/cgi-bin/koha/reports/catalog_by_itemtype.pl">Catalog by item type</a></li>
54
            <li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li>
52
        <li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li>
55
        </ul>
53
    </ul>
56
    </div>
57
</div>
54
</div>
55
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc (-39 / +38 lines)
Lines 1-47 Link Here
1
<div id="navmenu">
1
<div id="serials-menu" class="sidebar_menu">
2
    <div id="navmenulist">
2
    <h5>Serials</h5>
3
        <h5>Serials</h5>
3
    <ul>
4
        <ul>
4
        [% IF ( subscriptionid ) %]
5
            [% IF ( subscriptionid ) %]
5
            <li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscriptionid | uri %]">Serial collection</a></li>
6
                <li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscriptionid | uri %]">Serial collection</a></li>
6
            [% UNLESS closed %]
7
                [% UNLESS closed %]
7
                [% IF ( routing && CAN_user_serials_routing ) %]
8
                    [% IF ( routing && CAN_user_serials_routing ) %]
8
                    [% IF ( hasRouting ) %]
9
                        [% IF ( hasRouting ) %]
9
                        <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]">Edit routing list</a></li>
10
                            <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]">Edit routing list</a></li>
10
                    [% ELSE %]
11
                        [% ELSE %]
11
                        <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]&amp;op=new">Create routing list</a></li>
12
                            <li><a href="/cgi-bin/koha/serials/routing.pl?subscriptionid=[% subscriptionid | uri %]&amp;op=new">Create routing list</a></li>
13
                        [% END %]
14
                    [% END %]
12
                    [% END %]
15
                [% END %]
13
                [% END %]
16
            [% END %]
14
            [% END %]
15
        [% END %]
17
16
18
            [% IF ( CAN_user_serials_claim_serials ) %]
17
        [% IF ( CAN_user_serials_claim_serials ) %]
19
                <li><a href="/cgi-bin/koha/serials/claims.pl">Claims</a></li>
18
            <li><a href="/cgi-bin/koha/serials/claims.pl">Claims</a></li>
20
            [% END %]
19
        [% END %]
21
            [% IF ( CAN_user_serials_check_expiration ) %]
20
        [% IF ( CAN_user_serials_check_expiration ) %]
22
                <li><a href="/cgi-bin/koha/serials/checkexpiration.pl">Check expiration</a></li>
21
            <li><a href="/cgi-bin/koha/serials/checkexpiration.pl">Check expiration</a></li>
23
            [% END %]
22
        [% END %]
24
            <li>
23
        <li>
25
                <a href="/cgi-bin/koha/serials/subscription-frequencies.pl"> Manage frequencies </a>
24
            <a href="/cgi-bin/koha/serials/subscription-frequencies.pl"> Manage frequencies </a>
26
            </li>
25
        </li>
26
        <li>
27
            <a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl"> Manage numbering patterns </a>
28
        </li>
29
        [% IF Koha.Preference('Mana') == 1 %]
30
            <li><a href="/cgi-bin/koha/serials/serials-search.pl?mana=1">Search on Mana</a></li>
31
        [% END %]
32
        [% IF CAN_user_serials_edit_subscription && CAN_user_parameters_manage_additional_fields %]
27
            <li>
33
            <li>
28
                <a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl"> Manage numbering patterns </a>
34
                <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=subscription">Manage subscription fields</a>
29
            </li>
35
            </li>
30
            [% IF Koha.Preference('Mana') == 1 %]
31
                <li><a href="/cgi-bin/koha/serials/serials-search.pl?mana=1">Search on Mana</a></li>
32
            [% END %]
33
            [% IF CAN_user_serials_edit_subscription && CAN_user_parameters_manage_additional_fields %]
34
                <li>
35
                    <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=subscription">Manage subscription fields</a>
36
                </li>
37
            [% END %]
38
        </ul>
39
40
        [% IF ( CAN_user_reports ) %]
41
            <h5>Reports</h5>
42
            <ul>
43
                <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials statistics wizard</a></li>
44
            </ul>
45
        [% END %]
36
        [% END %]
46
    </div>
37
    </ul>
38
39
    [% IF ( CAN_user_reports ) %]
40
        <h5>Reports</h5>
41
        <ul>
42
            <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials statistics wizard</a></li>
43
        </ul>
44
    [% END %]
47
</div>
45
</div>
46
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc (-94 / +91 lines)
Lines 2-102 Link Here
2
[% USE Branches %]
2
[% USE Branches %]
3
[% USE Registers %]
3
[% USE Registers %]
4
4
5
<div id="navmenu">
5
<div id="tools-menu" class="sidebar_menu">
6
    <div id="navmenulist">
6
    <ul>
7
        <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
8
    </ul>
9
    [% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) || CAN_user_tools_rotating_collections ) %]
10
        <h5>Patrons and circulation</h5>
7
        <ul>
11
        <ul>
8
            <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
12
            [% IF ( CAN_user_tools_manage_patron_lists ) %]
13
                <li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
14
            [% END %]
15
            [% IF (CAN_user_clubs) %]
16
                <li><a href="/cgi-bin/koha/clubs/clubs.pl">Patron clubs</a></li>
17
            [% END %]
18
            [% IF ( CAN_user_tools_moderate_comments ) %]
19
                <li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a></li>
20
            [% END %]
21
            [% IF ( CAN_user_tools_import_patrons ) %]
22
                <li><a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a></li>
23
            [% END %]
24
            [% IF ( CAN_user_tools_edit_notices ) %]
25
                <li><a href="/cgi-bin/koha/tools/letter.pl">Notices and slips</a></li>
26
            [% END %]
27
            [% IF ( CAN_user_tools_edit_notice_status_triggers ) %]
28
                <li><a href="/cgi-bin/koha/tools/overduerules.pl">Overdue notice/status triggers</a></li>
29
            [% END %]
30
            [% IF ( CAN_user_tools_label_creator ) %]
31
                <li><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a></li>
32
            [% END %]
33
            [% IF ( CAN_user_tools_delete_anonymize_patrons ) %]
34
                <li><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Batch patron deletion and anonymization</a></li>
35
            [% END %]
36
            [% IF ( CAN_user_tools_edit_patrons ) %]
37
                <li><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></li>
38
            [% END %]
39
            [% IF ( CAN_user_tools_batch_extend_due_dates ) %]
40
                <li><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a></li>
41
            [% END %]
42
            [% IF ( CAN_user_tools_moderate_tags ) %]
43
                <li><a href="/cgi-bin/koha/tags/review.pl">Tags</a></li>
44
            [% END %]
45
            [% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %]
46
                <li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
47
            [% END %]
48
            [% IF ( CAN_user_tools_rotating_collections ) %]
49
                <li><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></li>
50
            [% END %]
9
        </ul>
51
        </ul>
10
        [% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) || CAN_user_tools_rotating_collections ) %]
52
    [% END # /IF ( CAN_user_tools_items_batchdel... %]
11
            <h5>Patrons and circulation</h5>
12
            <ul>
13
                [% IF ( CAN_user_tools_manage_patron_lists ) %]
14
                    <li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
15
                [% END %]
16
                [% IF (CAN_user_clubs) %]
17
                    <li><a href="/cgi-bin/koha/clubs/clubs.pl">Patron clubs</a></li>
18
                [% END %]
19
                [% IF ( CAN_user_tools_moderate_comments ) %]
20
                    <li><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a></li>
21
                [% END %]
22
                [% IF ( CAN_user_tools_import_patrons ) %]
23
                    <li><a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a></li>
24
                [% END %]
25
                [% IF ( CAN_user_tools_edit_notices ) %]
26
                    <li><a href="/cgi-bin/koha/tools/letter.pl">Notices and slips</a></li>
27
                [% END %]
28
                [% IF ( CAN_user_tools_edit_notice_status_triggers ) %]
29
                    <li><a href="/cgi-bin/koha/tools/overduerules.pl">Overdue notice/status triggers</a></li>
30
                [% END %]
31
                [% IF ( CAN_user_tools_label_creator ) %]
32
                    <li><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a></li>
33
                [% END %]
34
                [% IF ( CAN_user_tools_delete_anonymize_patrons ) %]
35
                    <li><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Batch patron deletion and anonymization</a></li>
36
                [% END %]
37
                [% IF ( CAN_user_tools_edit_patrons ) %]
38
                    <li><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></li>
39
                [% END %]
40
                [% IF ( CAN_user_tools_batch_extend_due_dates ) %]
41
                    <li><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a></li>
42
                [% END %]
43
                [% IF ( CAN_user_tools_moderate_tags ) %]
44
                    <li><a href="/cgi-bin/koha/tags/review.pl">Tags</a></li>
45
                [% END %]
46
                [% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %]
47
                    <li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
48
                [% END %]
49
                [% IF ( CAN_user_tools_rotating_collections ) %]
50
                    <li><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></li>
51
                [% END %]
52
            </ul>
53
        [% END # /IF ( CAN_user_tools_items_batchdel... %]
54
53
55
        [% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
54
    [% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
56
            <h5>Additional tools</h5>
55
        <h5>Additional tools</h5>
57
            <ul>
56
        <ul>
58
                [% IF ( CAN_user_tools_edit_calendar ) %]
57
            [% IF ( CAN_user_tools_edit_calendar ) %]
59
                    <li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
58
                <li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
60
                [% END %]
59
            [% END %]
61
                [% IF ( CAN_user_tools_manage_csv_profiles ) %]
60
            [% IF ( CAN_user_tools_manage_csv_profiles ) %]
62
                    <li><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></li>
61
                <li><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></li>
63
                [% END %]
62
            [% END %]
64
                [% IF ( CAN_user_tools_view_system_logs ) %]
63
            [% IF ( CAN_user_tools_view_system_logs ) %]
65
                    <li><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></li>
64
                <li><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></li>
66
                [% END %]
65
            [% END %]
67
                [% IF ( CAN_user_tools_edit_additional_contents ) %]
66
            [% IF ( CAN_user_tools_edit_additional_contents ) %]
68
                    <li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a></li>
67
                <li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a></li>
69
                    <li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a></li>
68
                <li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=html_customizations">HTML customizations</a></li>
70
                    <li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a></li>
69
                <li><a href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a></li>
71
                [% END %]
70
            [% END %]
72
                [% IF ( CAN_user_tools_schedule_tasks ) %]
71
            [% IF ( CAN_user_tools_schedule_tasks ) %]
73
                    <li><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></li>
72
                <li><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></li>
74
                [% END %]
73
            [% END %]
75
                [% IF ( CAN_user_tools_edit_quotes ) %]
74
            [% IF ( CAN_user_tools_edit_quotes ) %]
76
                    <li><a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a></li>
75
                <li><a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a></li>
77
                [% END %]
76
            [% END %]
78
                [% IF ( plugins_enabled && CAN_user_plugins_tool ) %]
77
            [% IF ( plugins_enabled && CAN_user_plugins_tool ) %]
79
                    <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></li>
78
                <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></li>
80
                [% END %]
79
            [% END %]
81
                [% IF ( CAN_user_tools_upload_general_files ) %]
80
            [% IF ( CAN_user_tools_upload_general_files ) %]
82
                    <li><a href="/cgi-bin/koha/tools/upload.pl">Uploads</a></li>
81
                <li><a href="/cgi-bin/koha/tools/upload.pl">Uploads</a></li>
83
                [% END %]
82
            [% END %]
84
                [% IF ( CAN_user_tools_access_files ) %]
83
            [% IF ( CAN_user_tools_access_files ) %]
85
                    <li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li>
84
                <li><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></li>
86
                [% END %]
85
            [% END %]
87
                [% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports ) %]
86
            [% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports ) %]
88
                    <li><a href="/cgi-bin/koha/tools/problem-reports.pl">OPAC problem reports</a></li>
87
                <li><a href="/cgi-bin/koha/tools/problem-reports.pl">OPAC problem reports</a></li>
89
                [% END %]
88
            [% END %]
90
            </ul>
89
        </ul>
91
        [% END # /IF ( CAN_user_tools_edit_calendar... %]
90
    [% END # /IF ( CAN_user_tools_edit_calendar... %]
92
        [% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
91
    [% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
93
            <h5>Cash management</h5>
92
        <h5>Cash management</h5>
94
            <ul>
93
        <ul>
95
                <li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
94
            <li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
96
                <li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
95
            <li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
97
            </ul>
96
        </ul>
98
        [% END %]
97
    [% END %]
99
    </div>
100
    <!-- /#navmenulist -->
101
</div>
98
</div>
102
<!-- /#navmenu -->
99
<!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/vendor-menu.inc (-1 / +2 lines)
Lines 1-5 Link Here
1
[% IF ( booksellerid ) %]
1
[% IF ( booksellerid ) %]
2
    <div id="menu">
2
    <div id="vendor-menu" class="sidebar_menu">
3
        <ul>
3
        <ul>
4
            [% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]">Baskets</a></li>[% END %]
4
            [% IF ( CAN_user_acquisition_order_manage ) %]<li><a href="/cgi-bin/koha/acqui/booksellers.pl?booksellerid=[% booksellerid | uri %]">Baskets</a></li>[% END %]
5
            [% IF ( CAN_user_acquisition_group_manage ) %]<li><a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]">Basket groups</a></li>[% END %]
5
            [% IF ( CAN_user_acquisition_group_manage ) %]<li><a href="/cgi-bin/koha/acqui/basketgroup.pl?booksellerid=[% booksellerid | uri %]">Basket groups</a></li>[% END %]
Lines 13-16 Link Here
13
            [% END %][% END %]
13
            [% END %][% END %]
14
        </ul>
14
        </ul>
15
    </div>
15
    </div>
16
    <!-- /.sidebar_menu -->
16
[% END %]
17
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-1 / +1 lines)
Lines 339-345 Link Here
339
        }
339
        }
340
340
341
        $(document).ready(function() {
341
        $(document).ready(function() {
342
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
342
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
343
            [% IF table_loop %]
343
            [% IF table_loop %]
344
                $("#description").show();
344
                $("#description").show();
345
            [% ELSE %]
345
            [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt (-1 / +1 lines)
Lines 231-237 Link Here
231
[% MACRO jsinclude BLOCK %]
231
[% MACRO jsinclude BLOCK %]
232
    <script>
232
    <script>
233
        $(document).ready(function () {
233
        $(document).ready(function () {
234
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
234
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
235
            $("input[name='layout_choice']").change(function () {
235
            $("input[name='layout_choice']").change(function () {
236
                layout_method();
236
                layout_method();
237
            });
237
            });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt (-1 / +1 lines)
Lines 131-137 Link Here
131
[% MACRO jsinclude BLOCK %]
131
[% MACRO jsinclude BLOCK %]
132
    <script>
132
    <script>
133
        $(document).ready(function () {
133
        $(document).ready(function () {
134
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
134
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
135
            var selectedUnit = $("#units option:selected").val();
135
            var selectedUnit = $("#units option:selected").val();
136
            var unitfields = $("#offset_horz,#offset_vert,#creep_horz,#creep_vert");
136
            var unitfields = $("#offset_horz,#offset_vert,#creep_horz,#creep_vert");
137
            $(unitfields).after('<span class="unit">' + getUnit(selectedUnit) + "</span>");
137
            $(unitfields).after('<span class="unit">' + getUnit(selectedUnit) + "</span>");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt (-1 / +1 lines)
Lines 93-99 Link Here
93
        }
93
        }
94
94
95
        $(document).ready(function () {
95
        $(document).ready(function () {
96
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
96
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
97
            $.validator.addMethod(
97
            $.validator.addMethod(
98
                "gt",
98
                "gt",
99
                function (value, element, params) {
99
                function (value, element, params) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt (-1 / +1 lines)
Lines 173-179 Link Here
173
[% MACRO jsinclude BLOCK %]
173
[% MACRO jsinclude BLOCK %]
174
    <script>
174
    <script>
175
        $(document).ready(function () {
175
        $(document).ready(function () {
176
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
176
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
177
            var selectedUnit = $("#units option:selected").val();
177
            var selectedUnit = $("#units option:selected").val();
178
            var unitfields = $("#page_height,#page_width,#label_width,#label_height,#top_margin,#left_margin,#top_text_margin,#left_text_margin,#col_gap,#row_gap");
178
            var unitfields = $("#page_height,#page_width,#label_width,#label_height,#top_margin,#left_margin,#top_text_margin,#left_text_margin,#col_gap,#row_gap");
179
            $(unitfields).after('<span class="unit">' + getUnit(selectedUnit) + "</span>");
179
            $(unitfields).after('<span class="unit">' + getUnit(selectedUnit) + "</span>");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt (-1 / +1 lines)
Lines 208-214 Link Here
208
            return (-1);
208
            return (-1);
209
        }
209
        }
210
        $(document).ready(function(){
210
        $(document).ready(function(){
211
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
211
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
212
            $("#print").click(function(e){
212
            $("#print").click(function(e){
213
                e.preventDefault();
213
                e.preventDefault();
214
                Xport();
214
                Xport();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt (+1 lines)
Lines 175-180 Link Here
175
[% MACRO jsinclude BLOCK %]
175
[% MACRO jsinclude BLOCK %]
176
    [% INCLUDE 'greybox.inc' %]
176
    [% INCLUDE 'greybox.inc' %]
177
    [% INCLUDE 'datatables.inc' %]
177
    [% INCLUDE 'datatables.inc' %]
178
    [% Asset.js("js/tools-menu.js") | $raw %]
178
    <script>
179
    <script>
179
        function DeleteConfirm() {
180
        function DeleteConfirm() {
180
            var msg = _("Are you sure you want to delete batch %s?").format("[% batch_id | html %]");
181
            var msg = _("Are you sure you want to delete batch %s?").format("[% batch_id | html %]");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-layout.tt (+1 lines)
Lines 481-486 Link Here
481
    </form>
481
    </form>
482
[% END %]
482
[% END %]
483
[% MACRO jsinclude BLOCK %]
483
[% MACRO jsinclude BLOCK %]
484
    [% Asset.js("js/tools-menu.js") | $raw %]
484
    <script>
485
    <script>
485
        $(document).ready(function () {
486
        $(document).ready(function () {
486
            var selectedUnit = $("#units option:selected").val();
487
            var selectedUnit = $("#units option:selected").val();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt (+1 lines)
Lines 117-122 Link Here
117
    </form>
117
    </form>
118
[% END %]
118
[% END %]
119
[% MACRO jsinclude BLOCK %]
119
[% MACRO jsinclude BLOCK %]
120
    [% Asset.js("js/tools-menu.js") | $raw %]
120
    <script>
121
    <script>
121
        $(document).ready(function () {
122
        $(document).ready(function () {
122
            var selectedUnit = $("#units option:selected").val();
123
            var selectedUnit = $("#units option:selected").val();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt (+1 lines)
Lines 148-153 Link Here
148
[% END %]
148
[% END %]
149
149
150
[% MACRO jsinclude BLOCK %]
150
[% MACRO jsinclude BLOCK %]
151
    [% Asset.js("js/tools-menu.js") | $raw %]
151
    <script>
152
    <script>
152
        function DeleteConfirm() {
153
        function DeleteConfirm() {
153
            var results = selected_images();
154
            var results = selected_images();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt (+1 lines)
Lines 188-193 Link Here
188
188
189
[% MACRO jsinclude BLOCK %]
189
[% MACRO jsinclude BLOCK %]
190
    [% INCLUDE 'greybox.inc' %]
190
    [% INCLUDE 'greybox.inc' %]
191
    [% Asset.js("js/tools-menu.js") | $raw %]
191
    <script>
192
    <script>
192
        function DeleteConfirm() {
193
        function DeleteConfirm() {
193
            var element_ids = selected_layouts("delete");
194
            var element_ids = selected_layouts("delete");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-1 / +1 lines)
Lines 621-627 Link Here
621
        <div class="col-md-2 order-sm-2 order-md-1">
621
        <div class="col-md-2 order-sm-2 order-md-1">
622
            <aside>
622
            <aside>
623
                [% INCLUDE 'serials-menu.inc' %]
623
                [% INCLUDE 'serials-menu.inc' %]
624
                <div id="serialmenu">
624
                <div id="serialmenu" class="sidebar_menu">
625
                    <h5>Serial links</h5>
625
                    <h5>Serial links</h5>
626
                    <ul>
626
                    <ul>
627
                        [% FOREACH subscription IN subscriptions %]
627
                        [% FOREACH subscription IN subscriptions %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt (-1 / +3 lines)
Lines 130-136 Link Here
130
130
131
        <div class="col-md-2 order-sm-2 order-md-1">
131
        <div class="col-md-2 order-sm-2 order-md-1">
132
            <aside>
132
            <aside>
133
                <div id="menu">
133
                <div id="list-menu" class="sidebar_menu">
134
                    <ul>
134
                    <ul>
135
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a></li>
135
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a></li>
136
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a></li>
136
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a></li>
Lines 138-143 Link Here
138
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a></li>
138
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a></li>
139
                    </ul>
139
                    </ul>
140
                </div>
140
                </div>
141
                <!-- /.sidebar_menu -->
141
                [% INCLUDE 'tools-menu.inc' %]
142
                [% INCLUDE 'tools-menu.inc' %]
142
            </aside>
143
            </aside>
143
        </div>
144
        </div>
Lines 149-154 Link Here
149
150
150
[% MACRO jsinclude BLOCK %]
151
[% MACRO jsinclude BLOCK %]
151
    [% INCLUDE 'datatables.inc' %]
152
    [% INCLUDE 'datatables.inc' %]
153
    [% Asset.js("js/tools-menu.js") | $raw %]
152
    <script>
154
    <script>
153
        $(document).ready(function () {
155
        $(document).ready(function () {
154
            $(".delete").click(function (event) {
156
            $(".delete").click(function (event) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (+1 lines)
Lines 304-309 Link Here
304
[% MACRO jsinclude BLOCK %]
304
[% MACRO jsinclude BLOCK %]
305
    [% INCLUDE 'datatables.inc' %]
305
    [% INCLUDE 'datatables.inc' %]
306
    [% INCLUDE 'calendar.inc' %]
306
    [% INCLUDE 'calendar.inc' %]
307
    [% Asset.js("js/tools-menu.js") | $raw %]
307
    [% Asset.js("js/pages/tags-review.js") | $raw %]
308
    [% Asset.js("js/pages/tags-review.js") | $raw %]
308
[% END %]
309
[% END %]
309
310
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-1 / +2 lines)
Lines 686-692 Link Here
686
        <div class="col-md-2 order-sm-2 order-md-1">
686
        <div class="col-md-2 order-sm-2 order-md-1">
687
            <aside>
687
            <aside>
688
                [% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
688
                [% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
689
                    <div id="menu">
689
                    <div id="stockrotation-menu" class="sidebar_menu">
690
                        <ul>
690
                        <ul>
691
                            [% SET item_class = "" %]
691
                            [% SET item_class = "" %]
692
                            [% IF op == 'manage_stages' %]
692
                            [% IF op == 'manage_stages' %]
Lines 704-709 Link Here
704
                            </li>
704
                            </li>
705
                        </ul>
705
                        </ul>
706
                    </div>
706
                    </div>
707
                    <!-- /.sidebar_menu -->
707
                [% END %]
708
                [% END %]
708
                [% INCLUDE 'cat-menu.inc' %]
709
                [% INCLUDE 'cat-menu.inc' %]
709
            </aside>
710
            </aside>
(-)a/koha-tmpl/intranet-tmpl/prog/js/acquisitions-menu.js (-1 / +1 lines)
Lines 13-19 function searchToOrder(basketno, vendorid) { Link Here
13
$(document).ready(function () {
13
$(document).ready(function () {
14
    var path = location.pathname.substring(1);
14
    var path = location.pathname.substring(1);
15
    if (path.indexOf("invoice") >= 0) {
15
    if (path.indexOf("invoice") >= 0) {
16
        $('#navmenulist a[href$="/cgi-bin/koha/acqui/invoices.pl"]').addClass(
16
        $('.sidebar_menu a[href$="/cgi-bin/koha/acqui/invoices.pl"]').addClass(
17
            "current"
17
            "current"
18
        );
18
        );
19
    }
19
    }
(-)a/koha-tmpl/intranet-tmpl/prog/js/admin-menu.js (-5 / +5 lines)
Lines 5-30 $(document).ready(function () { Link Here
5
        path == "cgi-bin/koha/admin/marc_subfields_structure.pl"
5
        path == "cgi-bin/koha/admin/marc_subfields_structure.pl"
6
    ) {
6
    ) {
7
        $(
7
        $(
8
            '#navmenulist a[href$="/cgi-bin/koha/admin/biblio_framework.pl"]'
8
            '.sidebar_menu a[href$="/cgi-bin/koha/admin/biblio_framework.pl"]'
9
        ).addClass("current");
9
        ).addClass("current");
10
    } else if (
10
    } else if (
11
        path == "cgi-bin/koha/admin/auth_tag_structure.pl" ||
11
        path == "cgi-bin/koha/admin/auth_tag_structure.pl" ||
12
        path == "cgi-bin/koha/admin/auth_subfields_structure.pl"
12
        path == "cgi-bin/koha/admin/auth_subfields_structure.pl"
13
    ) {
13
    ) {
14
        $('#navmenulist a[href$="/cgi-bin/koha/admin/authtypes.pl"]').addClass(
14
        $('.sidebar_menu a[href$="/cgi-bin/koha/admin/authtypes.pl"]').addClass(
15
            "current"
15
            "current"
16
        );
16
        );
17
    } else if (path == "cgi-bin/koha/admin/oai_set_mappings.pl") {
17
    } else if (path == "cgi-bin/koha/admin/oai_set_mappings.pl") {
18
        $('#navmenulist a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').addClass(
18
        $('.sidebar_menu a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').addClass(
19
            "current"
19
            "current"
20
        );
20
        );
21
    } else if (path == "cgi-bin/koha/admin/items_search_field.pl") {
21
    } else if (path == "cgi-bin/koha/admin/items_search_field.pl") {
22
        $(
22
        $(
23
            '#navmenulist a[href$="/cgi-bin/koha/admin/items_search_fields.pl"]'
23
            '.sidebar_menu a[href$="/cgi-bin/koha/admin/items_search_fields.pl"]'
24
        ).addClass("current");
24
        ).addClass("current");
25
    } else if (path == "cgi-bin/koha/admin/clone-rules.pl") {
25
    } else if (path == "cgi-bin/koha/admin/clone-rules.pl") {
26
        $(
26
        $(
27
            '#navmenulist a[href$="/cgi-bin/koha/admin/smart-rules.pl"]'
27
            '.sidebar_menu a[href$="/cgi-bin/koha/admin/smart-rules.pl"]'
28
        ).addClass("current");
28
        ).addClass("current");
29
    }
29
    }
30
});
30
});
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-5 / +5 lines)
Lines 190-207 $(document).ready(function () { Link Here
190
        $($(this).data("element")).toggle();
190
        $($(this).data("element")).toggle();
191
    });
191
    });
192
192
193
    var navmenulist = $("#navmenulist");
193
    var sidebar_menu = $(".sidebar_menu");
194
    if (navmenulist.length > 0) {
194
    if (sidebar_menu.length > 0) {
195
        var path = location.pathname.substring(1);
195
        var path = location.pathname.substring(1);
196
        var url = window.location.toString();
196
        var url = window.location.toString();
197
        var params = "";
197
        var params = "";
198
        if (url.match(/\?(.+)$/)) {
198
        if (url.match(/\?(.+)$/)) {
199
            params = "?" + RegExp.$1;
199
            params = "?" + RegExp.$1;
200
        }
200
        }
201
        if ($('a[href$="/' + path + params + '"]', navmenulist).length == 0) {
201
        if ($('a[href$="/' + path + params + '"]', sidebar_menu).length == 0) {
202
            $('a[href$="/' + path + '"]', navmenulist).addClass("current");
202
            $('a[href$="/' + path + '"]', sidebar_menu).addClass("current");
203
        } else {
203
        } else {
204
            $('a[href$="/' + path + params + '"]', navmenulist).addClass(
204
            $('a[href$="/' + path + params + '"]', sidebar_menu).addClass(
205
                "current"
205
                "current"
206
            );
206
            );
207
        }
207
        }
(-)a/koha-tmpl/intranet-tmpl/prog/js/tools-menu.js (-12 / +16 lines)
Lines 5-48 $(document).ready(function () { Link Here
5
        path.indexOf("spine") < 0 &&
5
        path.indexOf("spine") < 0 &&
6
        path.indexOf("barcode") < 0
6
        path.indexOf("barcode") < 0
7
    ) {
7
    ) {
8
        $(
8
        $('#tools-menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass(
9
            '#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]'
9
            "current"
10
        ).addClass("current");
10
        );
11
    } else if (path.indexOf("patroncards") >= 0) {
11
    } else if (path.indexOf("patroncards") >= 0) {
12
        $('#navmenulist a[href$="/cgi-bin/koha/patroncards/home.pl"]').addClass(
12
        $('#tools-menu a[href$="/cgi-bin/koha/patroncards/home.pl"]').addClass(
13
            "current"
13
            "current"
14
        );
14
        );
15
    } else if (path.indexOf("clubs") >= 0) {
15
    } else if (path.indexOf("clubs") >= 0) {
16
        $('#navmenulist a[href$="/cgi-bin/koha/clubs/clubs.pl"]').addClass(
16
        $('#tools-menu a[href$="/cgi-bin/koha/clubs/clubs.pl"]').addClass(
17
            "current"
17
            "current"
18
        );
18
        );
19
    } else if (path.indexOf("patron_lists") >= 0) {
19
    } else if (path.indexOf("patron_lists") >= 0) {
20
        $(
20
        $(
21
            '#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]'
21
            '#tools-menu a[href$="/cgi-bin/koha/patron_lists/lists.pl"]'
22
        ).addClass("current");
22
        ).addClass("current");
23
    } else if (path.indexOf("rotating_collections") >= 0) {
23
    } else if (path.indexOf("rotating_collections") >= 0) {
24
        $(
24
        $(
25
            '#navmenulist a[href$="/cgi-bin/koha/rotating_collections/rotatingCollections.pl"]'
25
            '#tools-menu a[href$="/cgi-bin/koha/rotating_collections/rotatingCollections.pl"]'
26
        ).addClass("current");
26
        ).addClass("current");
27
    } else if ((path + location.search).indexOf("batchMod.pl?del=1") >= 0) {
27
    } else if ((path + location.search).indexOf("batchMod.pl?del=1") >= 0) {
28
        $(
28
        $(
29
            '#navmenulist a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]'
29
            '#tools-menu a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]'
30
        ).addClass("current");
30
        ).addClass("current");
31
    } else if (path.indexOf("quotes-upload.pl") >= 0) {
31
    } else if (path.indexOf("quotes-upload.pl") >= 0) {
32
        $('#navmenulist a[href$="/cgi-bin/koha/tools/quotes.pl"]').addClass(
32
        $('#tools-menu a[href$="/cgi-bin/koha/tools/quotes.pl"]').addClass(
33
            "current"
33
            "current"
34
        );
34
        );
35
    } else if (path.indexOf("stockrotation") >= 0) {
35
    } else if (path.indexOf("stockrotation") >= 0) {
36
        $(
36
        $(
37
            '#navmenulist a[href$="/cgi-bin/koha/tools/stockrotation.pl"]'
37
            '#tools-menu a[href$="/cgi-bin/koha/tools/stockrotation.pl"]'
38
        ).addClass("current");
38
        ).addClass("current");
39
    } else if (path.indexOf("plugins") >= 0) {
39
    } else if (path.indexOf("plugins") >= 0) {
40
        $(
40
        $(
41
            '#navmenulist a[href$="/cgi-bin/koha/plugins/plugins-home.pl?method=tool"]'
41
            '#tools-menu a[href$="/cgi-bin/koha/plugins/plugins-home.pl?method=tool"]'
42
        ).addClass("current");
42
        ).addClass("current");
43
    } else if (path.indexOf("page.pl") >= 0) {
43
    } else if (path.indexOf("page.pl") >= 0) {
44
        $(
44
        $(
45
            '#navmenulist a[href$="/cgi-bin/koha/tools/additional-contents.pl?category=pages"]'
45
            '#tools-menu a[href$="/cgi-bin/koha/tools/additional-contents.pl?category=pages"]'
46
        ).addClass("current");
46
        ).addClass("current");
47
    } else if (path.indexOf("/tags/") >= 0) {
48
        $('#tools-menu a[href$="/cgi-bin/koha/tags/review.pl"]').addClass(
49
            "current"
50
        );
47
    }
51
    }
48
});
52
});
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/ERM/Main.vue (-3 / +3 lines)
Lines 172-178 export default { Link Here
172
172
173
<style>
173
<style>
174
#menu ul ul,
174
#menu ul ul,
175
#navmenulist ul ul {
175
.sidebar_menu ul ul {
176
    padding-left: 2em;
176
    padding-left: 2em;
177
    font-size: 100%;
177
    font-size: 100%;
178
}
178
}
Lines 196-207 textarea { Link Here
196
.flatpickr-input {
196
.flatpickr-input {
197
    width: 30%;
197
    width: 30%;
198
}
198
}
199
#navmenulist ul li a.current.disabled {
199
.sidebar_menu ul li a.current.disabled {
200
    background-color: inherit;
200
    background-color: inherit;
201
    border-left: 5px solid #e6e6e6;
201
    border-left: 5px solid #e6e6e6;
202
    color: #000;
202
    color: #000;
203
}
203
}
204
#navmenulist ul li a.disabled {
204
.sidebar_menu ul li a.disabled {
205
    color: #666;
205
    color: #666;
206
    pointer-events: none;
206
    pointer-events: none;
207
    font-weight: 700;
207
    font-weight: 700;
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/LeftMenu.vue (-15 / +14 lines)
Lines 1-17 Link Here
1
<template>
1
<template>
2
    <aside>
2
    <aside>
3
        <div id="navmenu">
3
        <div class="sidebar_menu">
4
            <div id="navmenulist">
4
            <h5>{{ $__(title) }}</h5>
5
                <h5>{{ $__(title) }}</h5>
5
            <ul>
6
                <ul>
6
                <NavigationItem
7
                    <NavigationItem
7
                    v-for="(item, key) in navigationTree"
8
                        v-for="(item, key) in navigationTree"
8
                    v-bind:key="key"
9
                        v-bind:key="key"
9
                    :item="item"
10
                        :item="item"
10
                ></NavigationItem>
11
                    ></NavigationItem>
11
            </ul>
12
                </ul>
13
            </div>
14
        </div>
12
        </div>
13
        <!-- /.sidebar_menu -->
15
    </aside>
14
    </aside>
16
</template>
15
</template>
17
16
Lines 47-67 export default { Link Here
47
</script>
46
</script>
48
47
49
<style scoped>
48
<style scoped>
50
#navmenulist a.router-link-active {
49
.sidebar_menu a.router-link-active {
51
    font-weight: 700;
50
    font-weight: 700;
52
}
51
}
53
#menu ul ul,
52
#menu ul ul,
54
#navmenulist ul ul {
53
.sidebar_menu ul ul {
55
    padding-left: 2em;
54
    padding-left: 2em;
56
    font-size: 100%;
55
    font-size: 100%;
57
}
56
}
58
57
59
#navmenulist ul li a.disabled {
58
.sidebar_menu ul li a.disabled {
60
    color: #666;
59
    color: #666;
61
    pointer-events: none;
60
    pointer-events: none;
62
    font-weight: 700;
61
    font-weight: 700;
63
}
62
}
64
#navmenulist ul li a.disabled.router-link-active {
63
.sidebar_menu ul li a.disabled.router-link-active {
65
    color: #000;
64
    color: #000;
66
}
65
}
67
</style>
66
</style>
(-)a/koha-tmpl/intranet-tmpl/prog/js/vue/components/Preservation/Main.vue (-3 / +3 lines)
Lines 108-114 export default { Link Here
108
108
109
<style>
109
<style>
110
#menu ul ul,
110
#menu ul ul,
111
#navmenulist ul ul {
111
.sidebar_menu ul ul {
112
    padding-left: 2em;
112
    padding-left: 2em;
113
    font-size: 100%;
113
    font-size: 100%;
114
}
114
}
Lines 133-144 textarea { Link Here
133
    width: 30%;
133
    width: 30%;
134
}
134
}
135
135
136
#navmenulist ul li a.current.disabled {
136
.sidebar_menu ul li a.current.disabled {
137
    background-color: inherit;
137
    background-color: inherit;
138
    border-left: 5px solid #e6e6e6;
138
    border-left: 5px solid #e6e6e6;
139
    color: #000;
139
    color: #000;
140
}
140
}
141
#navmenulist ul li a.disabled {
141
.sidebar_menu ul li a.disabled {
142
    color: #666;
142
    color: #666;
143
    pointer-events: none;
143
    pointer-events: none;
144
    font-weight: 700;
144
    font-weight: 700;
(-)a/members/accountline-details.pl (+1 lines)
Lines 60-65 if ($accountline) { Link Here
60
        available_additional_fields => Koha::AdditionalFields->search(
60
        available_additional_fields => Koha::AdditionalFields->search(
61
            { tablename => $accountline->credit_type_code ? 'accountlines:credit' : 'accountlines:debit' }
61
            { tablename => $accountline->credit_type_code ? 'accountlines:credit' : 'accountlines:debit' }
62
        ),
62
        ),
63
        finesview => 1,
63
    );
64
    );
64
65
65
    my $patron = Koha::Patrons->find( $accountline->borrowernumber );
66
    my $patron = Koha::Patrons->find( $accountline->borrowernumber );
(-)a/members/paycollect.pl (+1 lines)
Lines 277-282 if ( $input->param('error_over') ) { Link Here
277
}
277
}
278
278
279
$template->param(
279
$template->param(
280
    finesview                   => 1,
280
    payment_id                  => $payment_id,
281
    payment_id                  => $payment_id,
281
    type                        => $type,
282
    type                        => $type,
282
    borrowernumber              => $borrowernumber,    # some templates require global
283
    borrowernumber              => $borrowernumber,    # some templates require global
(-)a/t/cypress/integration/ERM/Agreements_spec.ts (-1 / +1 lines)
Lines 26-32 describe("Agreement CRUD operations", () => { Link Here
26
            statusCode: 500,
26
            statusCode: 500,
27
        });
27
        });
28
        cy.visit("/cgi-bin/koha/erm/erm.pl");
28
        cy.visit("/cgi-bin/koha/erm/erm.pl");
29
        cy.get("#navmenulist").contains("Agreements").click();
29
        cy.get(".sidebar_menu").contains("Agreements").click();
30
        cy.get("main div[class='alert alert-warning']").contains(
30
        cy.get("main div[class='alert alert-warning']").contains(
31
            "Something went wrong: Error: Internal Server Error"
31
            "Something went wrong: Error: Internal Server Error"
32
        );
32
        );
(-)a/t/cypress/integration/ERM/DataProviders_spec.ts (-1 / +1 lines)
Lines 28-34 describe("Data provider CRUD operations", () => { Link Here
28
            error: "Something went wrong",
28
            error: "Something went wrong",
29
        });
29
        });
30
        cy.visit("/cgi-bin/koha/erm/erm.pl");
30
        cy.visit("/cgi-bin/koha/erm/erm.pl");
31
        cy.get("#navmenulist").contains("Data providers").click();
31
        cy.get(".sidebar_menu").contains("Data providers").click();
32
        cy.get("main div[class='alert alert-warning']").contains(
32
        cy.get("main div[class='alert alert-warning']").contains(
33
            /Something went wrong/
33
            /Something went wrong/
34
        );
34
        );
(-)a/t/cypress/integration/ERM/Dialog_spec.ts (-4 / +4 lines)
Lines 55-61 describe("Dialog operations", () => { Link Here
55
            },
55
            },
56
        });
56
        });
57
        cy.visit("/cgi-bin/koha/erm/erm.pl");
57
        cy.visit("/cgi-bin/koha/erm/erm.pl");
58
        cy.get("#navmenulist").contains("Packages").click();
58
        cy.get(".sidebar_menu").contains("Packages").click();
59
        cy.get("main div[class='alert alert-warning']").contains(
59
        cy.get("main div[class='alert alert-warning']").contains(
60
            "Something went wrong: Error: This is a specific error message"
60
            "Something went wrong: Error: This is a specific error message"
61
        );
61
        );
Lines 64-76 describe("Dialog operations", () => { Link Here
64
            statusCode: 500, // No body, in case of Internal Server Error, we get statusText
64
            statusCode: 500, // No body, in case of Internal Server Error, we get statusText
65
        });
65
        });
66
        cy.visit("/cgi-bin/koha/erm/erm.pl");
66
        cy.visit("/cgi-bin/koha/erm/erm.pl");
67
        cy.get("#navmenulist").contains("Packages").click();
67
        cy.get(".sidebar_menu").contains("Packages").click();
68
        cy.get("main div[class='alert alert-warning']").contains(
68
        cy.get("main div[class='alert alert-warning']").contains(
69
            "Something went wrong: Error: Internal Server Error"
69
            "Something went wrong: Error: Internal Server Error"
70
        );
70
        );
71
71
72
        cy.intercept("GET", "/api/v1/erm/agreements*", []);
72
        cy.intercept("GET", "/api/v1/erm/agreements*", []);
73
        cy.get("#navmenulist").contains("Agreements").click();
73
        cy.get(".sidebar_menu").contains("Agreements").click();
74
        // Info messages should be cleared when view is changed
74
        // Info messages should be cleared when view is changed
75
        cy.get("main div[class='alert alert-info']").contains(
75
        cy.get("main div[class='alert alert-info']").contains(
76
            "There are no agreements defined"
76
            "There are no agreements defined"
Lines 116-122 describe("Dialog operations", () => { Link Here
116
                "X-Total-Count": "1",
116
                "X-Total-Count": "1",
117
            },
117
            },
118
        });
118
        });
119
        cy.get("#navmenulist").contains("Titles").click();
119
        cy.get(".sidebar_menu").contains("Titles").click();
120
        // Info messages should be cleared when view is changed
120
        // Info messages should be cleared when view is changed
121
        cy.get("main div[class='alert alert-info']").should("not.exist");
121
        cy.get("main div[class='alert alert-info']").should("not.exist");
122
    });
122
    });
(-)a/t/cypress/integration/ERM/Licenses_spec.ts (-1 / +1 lines)
Lines 26-32 describe("License CRUD operations", () => { Link Here
26
            statusCode: 500,
26
            statusCode: 500,
27
        });
27
        });
28
        cy.visit("/cgi-bin/koha/erm/erm.pl");
28
        cy.visit("/cgi-bin/koha/erm/erm.pl");
29
        cy.get("#navmenulist").contains("Licenses").click();
29
        cy.get(".sidebar_menu").contains("Licenses").click();
30
        cy.get("main div[class='alert alert-warning']").contains(
30
        cy.get("main div[class='alert alert-warning']").contains(
31
            "Something went wrong: Error: Internal Server Error"
31
            "Something went wrong: Error: Internal Server Error"
32
        );
32
        );
(-)a/t/cypress/integration/ERM/Packages_spec.ts (-1 / +1 lines)
Lines 19-25 describe("Package CRUD operations", () => { Link Here
19
            statusCode: 500,
19
            statusCode: 500,
20
        });
20
        });
21
        cy.visit("/cgi-bin/koha/erm/erm.pl");
21
        cy.visit("/cgi-bin/koha/erm/erm.pl");
22
        cy.get("#navmenulist").contains("Packages").click();
22
        cy.get(".sidebar_menu").contains("Packages").click();
23
        cy.get("main div[class='alert alert-warning']").contains(
23
        cy.get("main div[class='alert alert-warning']").contains(
24
            "Something went wrong: Error: Internal Server Error"
24
            "Something went wrong: Error: Internal Server Error"
25
        );
25
        );
(-)a/t/cypress/integration/ERM/Titles_spec.ts (-1 / +1 lines)
Lines 78-84 describe("Title CRUD operations", () => { Link Here
78
            error: "Something went wrong",
78
            error: "Something went wrong",
79
        });
79
        });
80
        cy.visit("/cgi-bin/koha/erm/erm.pl");
80
        cy.visit("/cgi-bin/koha/erm/erm.pl");
81
        cy.get("#navmenulist").contains("Titles").click();
81
        cy.get(".sidebar_menu").contains("Titles").click();
82
        cy.get("main div[class='alert alert-warning']").contains(
82
        cy.get("main div[class='alert alert-warning']").contains(
83
            /Something went wrong/
83
            /Something went wrong/
84
        );
84
        );
(-)a/t/cypress/integration/Preservation/Settings.ts (-1 / +1 lines)
Lines 82-88 describe("Processings", () => { Link Here
82
82
83
    it("Settings", () => {
83
    it("Settings", () => {
84
        cy.visit("/cgi-bin/koha/preservation/home.pl");
84
        cy.visit("/cgi-bin/koha/preservation/home.pl");
85
        cy.get("#navmenulist").contains("Settings").click();
85
        cy.get(".sidebar_menu").contains("Settings").click();
86
        cy.get("#not_for_loan_waiting_list_in .vs__selected").contains(
86
        cy.get("#not_for_loan_waiting_list_in .vs__selected").contains(
87
            "In preservation"
87
            "In preservation"
88
        );
88
        );
(-)a/t/cypress/integration/Preservation/Trains.ts (-1 / +1 lines)
Lines 262-268 describe("Trains", () => { Link Here
262
            error: "Something went wrong",
262
            error: "Something went wrong",
263
        });
263
        });
264
        cy.visit("/cgi-bin/koha/preservation/home.pl");
264
        cy.visit("/cgi-bin/koha/preservation/home.pl");
265
        cy.get("#navmenulist").contains("Trains").click();
265
        cy.get(".sidebar_menu").contains("Trains").click();
266
        cy.get("main div[class='alert alert-warning']").contains(
266
        cy.get("main div[class='alert alert-warning']").contains(
267
            /Something went wrong/
267
            /Something went wrong/
268
        );
268
        );
(-)a/t/cypress/integration/Preservation/WaitingList.ts (-2 / +2 lines)
Lines 49-55 describe("WaitingList", () => { Link Here
49
        );
49
        );
50
        cy.visit("/cgi-bin/koha/preservation/home.pl");
50
        cy.visit("/cgi-bin/koha/preservation/home.pl");
51
        cy.intercept("GET", "/api/v1/preservation/waiting-list/items*", []);
51
        cy.intercept("GET", "/api/v1/preservation/waiting-list/items*", []);
52
        cy.get("#navmenulist").contains("Waiting list").click();
52
        cy.get(".sidebar_menu").contains("Waiting list").click();
53
        cy.get("#waiting-list").contains(
53
        cy.get("#waiting-list").contains(
54
            "You need to configure this module first."
54
            "You need to configure this module first."
55
        );
55
        );
Lines 62-68 describe("WaitingList", () => { Link Here
62
        );
62
        );
63
        cy.visit("/cgi-bin/koha/preservation/home.pl");
63
        cy.visit("/cgi-bin/koha/preservation/home.pl");
64
        cy.intercept("GET", "/api/v1/preservation/waiting-list/items*", []);
64
        cy.intercept("GET", "/api/v1/preservation/waiting-list/items*", []);
65
        cy.get("#navmenulist").contains("Waiting list").click();
65
        cy.get(".sidebar_menu").contains("Waiting list").click();
66
        cy.get("#waiting-list").contains(
66
        cy.get("#waiting-list").contains(
67
            "There are no items in the waiting list"
67
            "There are no items in the waiting list"
68
        );
68
        );
(-)a/t/cypress/support/e2e.js (-2 / +1 lines)
Lines 48-54 Cypress.Commands.add("login", (username, password) => { Link Here
48
});
48
});
49
49
50
Cypress.Commands.add("left_menu_active_item_is", label => {
50
Cypress.Commands.add("left_menu_active_item_is", label => {
51
    cy.get("#navmenulist a.current:not(.disabled)")
51
    cy.get(".sidebar_menu a.current:not(.disabled)")
52
        .should("have.length", 1)
52
        .should("have.length", 1)
53
        .contains(label);
53
        .contains(label);
54
});
54
});
55
- 

Return to bug 37222