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

(-)a/koha-tmpl/intranet-tmpl/prog/css/print.css (-1 / +1 lines)
Lines 318-324 td.debit { Link Here
318
#menu,
318
#menu,
319
#limitselect,
319
#limitselect,
320
#batchModify,
320
#batchModify,
321
#navmenu,
321
.sidebar_menu,
322
.gradient,
322
.gradient,
323
.noprint,
323
.noprint,
324
form#sortbyform,
324
form#sortbyform,
(-)a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss (-13 / +3 lines)
Lines 402-410 aside { Link Here
402
    }
402
    }
403
}
403
}
404
404
405
#menu,
405
.sidebar_menu {
406
#navmenulist,
407
#serialmenu {
408
    background-color: #E6E6E6;
406
    background-color: #E6E6E6;
409
    display: block;
407
    display: block;
410
    padding: 1em 0 1em 0;
408
    padding: 1em 0 1em 0;
Lines 422-428 aside { Link Here
422
        padding-left: 0;
420
        padding-left: 0;
423
421
424
        ul {
422
        ul {
425
            font-size: 75%;
423
            background-color: #F3F4F4;
424
            font-size: 85%;
426
        }
425
        }
427
426
428
        li {
427
        li {
Lines 459-473 aside { Link Here
459
    }
458
    }
460
}
459
}
461
460
462
#admin_preferences #menu {
463
    ul {
464
        ul {
465
            background-color: #F3F4F4;
466
            font-size: 85%;
467
        }
468
    }
469
}
470
471
div {
461
div {
472
    &.mainmenu {
462
    &.mainmenu {
473
        display: inline;
463
        display: inline;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-menu.inc (-54 / +52 lines)
Lines 1-59 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>
16
        <ul>
17
            [% IF ( CAN_user_reports ) %]
18
                <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions statistics wizard</a></li>
19
                <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
20
            [% END %]
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 ) %]
27
        <h5>Administration</h5>
5
        <ul>
28
        <ul>
6
            <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions home</a></li>
29
            [% IF ( CAN_user_acquisition_period_manage ) %]
7
            <li><a href="/cgi-bin/koha/acqui/histsearch.pl">Advanced search</a></li>
30
                <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
8
            [% IF ( CAN_user_acquisition_order_receive ) %]<li><a href="/cgi-bin/koha/acqui/lateorders.pl">Late orders</a></li>[% END %]
31
            [% END %]
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 %]
32
            [% IF ( CAN_user_acquisition_budget_manage ) %]
10
            <li><a href="/cgi-bin/koha/acqui/invoices.pl">Invoices</a></li>
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 CAN_user_acquisition_edit_invoices && CAN_user_parameters_manage_additional_fields %]
43
                <li>
44
                    <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqinvoices">Manage invoice fields</a>
45
                </li>
46
            [% END %]
47
            [% IF CAN_user_acquisition_order_manage && CAN_user_parameters_manage_additional_fields %]
48
                <li>
49
                    <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqbasket">Manage order basket fields</a>
50
                </li>
51
                <li>
52
                    <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqorders">Manage order line fields</a>
53
                </li>
13
            [% END %]
54
            [% END %]
14
        </ul>
55
        </ul>
15
        [% IF ( CAN_user_reports || CAN_user_circulate_circulate_remaining_permissions ) %]
56
    [% END %]
16
            <h5>Reports</h5>
57
</div> <!-- /.sidebar_menu -->
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 ) %]
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 CAN_user_acquisition_edit_invoices && CAN_user_parameters_manage_additional_fields %]
44
                    <li>
45
                        <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqinvoices">Manage invoice fields</a>
46
                    </li>
47
                [% END %]
48
                [% IF CAN_user_acquisition_order_manage && CAN_user_parameters_manage_additional_fields %]
49
                    <li>
50
                        <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqbasket">Manage order basket fields</a>
51
                    </li>
52
                    <li>
53
                        <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=aqorders">Manage order line fields</a>
54
                    </li>
55
                [% END %]
56
            </ul>
57
        [% END %]
58
    </div>
59
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-menu.inc (-4 / +3 lines)
Lines 1-7 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">
5
4
6
    [% IF ( CAN_user_parameters_manage_sysprefs ) %]
5
    [% IF ( CAN_user_parameters_manage_sysprefs ) %]
7
        <h5>System preferences</h5>
6
        <h5>System preferences</h5>
Lines 185-189 Link Here
185
            [% END %]
184
            [% END %]
186
        </ul>
185
        </ul>
187
    [% END %]
186
    [% END %]
188
</div>
187
189
</div>
188
</div> <!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc (-65 / +65 lines)
Lines 2-22 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
        [%- IF ( detailview ) -%]
7
        [%- IF ( detailview ) -%]
8
        <li class="active">
8
            <li class="active">
9
        [%- ELSE -%]
9
        [%- ELSE -%]
10
        <li>
10
            <li>
11
        [%- END -%]
11
        [%- END -%]
12
            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]">Normal</a>
12
            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]">Normal</a>
13
        </li>
13
        </li>
14
14
15
        [%- IF Koha.Preference('viewMARC') -%]
15
        [%- IF Koha.Preference('viewMARC') -%]
16
        [%- IF ( marcview ) -%]
16
        [%- IF ( marcview ) -%]
17
        <li class="active">
17
            <li class="active">
18
        [%- ELSE -%]
18
        [%- ELSE -%]
19
        <li>
19
            <li>
20
        [%- END -%]
20
        [%- END -%]
21
            <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblio_object_id | url  %]">MARC</a>
21
            <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% biblio_object_id | url  %]">MARC</a>
22
        </li>
22
        </li>
Lines 24-32 Link Here
24
24
25
        [%- IF Koha.Preference('viewLabeledMARC') -%]
25
        [%- IF Koha.Preference('viewLabeledMARC') -%]
26
        [%- IF ( labeledmarcview ) -%]
26
        [%- IF ( labeledmarcview ) -%]
27
        <li class="active">
27
            <li class="active">
28
        [%- ELSE -%]
28
        [%- ELSE -%]
29
        <li>
29
            <li>
30
        [%- END -%]
30
        [%- END -%]
31
            <a href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblio_object_id | url  %]">Labeled MARC</a>
31
            <a href="/cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber=[% biblio_object_id | url  %]">Labeled MARC</a>
32
        </li>
32
        </li>
Lines 34-137 Link Here
34
34
35
        [%- IF Koha.Preference('viewISBD') -%]
35
        [%- IF Koha.Preference('viewISBD') -%]
36
        [%- IF ( isbdview ) -%]
36
        [%- IF ( isbdview ) -%]
37
        <li class="active">
37
            <li class="active">
38
        [%- ELSE -%]
38
        [%- ELSE -%]
39
        <li>
39
            <li>
40
        [%- END -%]
40
        [%- END -%]
41
            <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblio_object_id | url  %]">ISBD</a>
41
            <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=[% biblio_object_id | url  %]">ISBD</a>
42
        </li>
42
        </li>
43
        [%- END -%]
43
        [%- END -%]
44
44
45
        [%- IF ( moredetailview ) -%]
45
        [%- IF ( moredetailview ) -%]
46
        <li class="active">
46
            <li class="active">
47
        [%- ELSE -%]
47
        [%- ELSE -%]
48
        <li>
48
            <li>
49
        [%- END -%]
49
        [%- END -%]
50
            <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id | url  %]">Items</a>
50
            <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblio_object_id | url  %]">Items</a>
51
        </li>
51
        </li>
52
52
53
        [% IF ( CAN_user_circulate_manage_bookings && biblio.items.filter_by_bookable.count ) %]
53
        [% IF ( CAN_user_circulate_manage_bookings && biblio.items.filter_by_bookable.count ) %]
54
        [%- IF ( bookingsview ) -%]
54
            [%- IF ( bookingsview ) -%]
55
        <li class="active">
55
                <li class="active">
56
        [%- ELSE -%]
56
            [%- ELSE -%]
57
        <li>
57
                <li>
58
        [%- END -%]
58
            [%- END -%]
59
            <a href="/cgi-bin/koha/bookings/list.pl?biblionumber=[% biblio_object_id | url  %]">Bookings (<span class="bookings_count">[% biblio.bookings.filter_by_active.count | html %]</span>)</a>
59
                <a href="/cgi-bin/koha/bookings/list.pl?biblionumber=[% biblio_object_id | url  %]">Bookings (<span     class="bookings_count">[% biblio.bookings.filter_by_active.count | html %]</span>)</a>
60
        </li>
60
            </li>
61
        [% END %]
61
        [% END %]
62
62
63
        [%- IF ( CAN_user_reserveforothers ) -%]
63
        [%- IF ( CAN_user_reserveforothers ) -%]
64
        [%- IF ( holdsview ) -%]
64
            [%- IF ( holdsview ) -%]
65
        <li class="active">
65
                <li class="active">
66
        [%- ELSE -%]
66
            [%- ELSE -%]
67
        <li>
67
                <li>
68
        [%- END -%]
68
            [%- END -%]
69
            <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio_object_id | url  %]">Holds ([% biblio.holds.count | html %])</a>
69
                <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% biblio_object_id | url %]">Holds ([% biblio.holds.count | html %])</a>
70
        </li>
70
            </li>
71
        [%- END -%]
71
        [%- END -%]
72
72
73
        [%- IF ( EasyAnalyticalRecords ) -%]
73
        [%- IF ( EasyAnalyticalRecords ) -%]
74
        [%- IF ( analyze ) -%]
74
            [%- IF ( analyze ) -%]
75
        <li class="active">
75
                <li class="active">
76
        [%- ELSE -%]
76
            [%- ELSE -%]
77
        <li>
77
                <li>
78
        [%- END -%]
78
            [%- END -%]
79
            <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]&amp;analyze=1">Analytics</a>
79
                <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url  %]&amp;analyze=1">Analytics</a>
80
        </li>
80
            </li>
81
        [%- END -%]
81
        [%- END -%]
82
82
83
        [%- IF Koha.Preference('ArticleRequests') -%]
83
        [%- IF Koha.Preference('ArticleRequests') -%]
84
        [%- IF ( article_requests_view ) -%]
84
            [%- IF ( article_requests_view ) -%]
85
        <li class="active">
85
                <li class="active">
86
        [%- ELSE -%]
86
            [%- ELSE -%]
87
        <li>
87
                <li>
88
        [%- END -%]
88
            [%- END -%]
89
            <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% IF ( object ) %][% object | uri %][% ELSE %][% biblionumber | uri %][% END %]">Article requests ([% biblio.article_requests.filter_by_current.count | html %])</a>
89
                <a href="/cgi-bin/koha/circ/request-article.pl?biblionumber=[% IF ( object ) %][% object | uri %][% ELSE %][%   biblionumber | uri %][% END %]">Article requests ([% biblio.article_requests.filter_by_current.count | html %])</a>
90
        </li>
90
            </li>
91
        [%- END -%]
91
        [%- END -%]
92
92
93
        [%- IF ( subscriptionsnumber ) -%]
93
        [%- IF ( subscriptionsnumber ) -%]
94
        <li>
94
            <li>
95
            <a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&amp;biblionumber=[% biblio_object_id | url  %]">Subscriptions ([% subscriptionsnumber | html %])</a>
95
                <a href="/cgi-bin/koha/serials/serials-search.pl?searched=1&amp;biblionumber=[% biblio_object_id | url  %]">Subscriptions ([% subscriptionsnumber | html %])</a>
96
        </li>
96
            </li>
97
        [%- END -%]
97
        [%- END -%]
98
98
99
        [%- IF ( issuehistoryview ) -%]
99
        [%- IF ( issuehistoryview ) -%]
100
        <li class="active">
100
            <li class="active">
101
        [%- ELSE -%]
101
        [%- ELSE -%]
102
        <li>
102
            <li>
103
        [%- END -%]
103
        [%- END -%]
104
            <a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio_object_id | url  %]" >Checkout history</a>
104
            <a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=[% biblio_object_id | url  %]" >Checkout history</a>
105
        </li>
105
        </li>
106
106
107
        [%- IF ( CAN_user_tools_view_system_logs ) -%]
107
        [%- IF ( CAN_user_tools_view_system_logs ) -%]
108
        [%- IF ( logview ) -%]
108
            [%- IF ( logview ) -%]
109
        <li class="active">
109
                <li class="active">
110
        [%- ELSE -%]
110
            [%- ELSE -%]
111
        <li>
111
                <li>
112
        [%- END -%]
112
            [%- END -%]
113
            <a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=CATALOGUING&amp;action=MODIFY&amp;object=[% biblio_object_id | url  %]&amp;object_type=biblio">Modification log</a>
113
                <a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;modules=CATALOGUING&amp;action=MODIFY&amp;object=[%     biblio_object_id | url  %]&amp;object_type=biblio">Modification log</a>
114
        </li>
114
            </li>
115
        [%- END -%]
115
        [%- END -%]
116
116
117
        [%- IF ( CAN_user_stockrotation_manage_rota_items && Koha.Preference('StockRotation') ) -%]
117
        [%- IF ( CAN_user_stockrotation_manage_rota_items && Koha.Preference('StockRotation') ) -%]
118
        [%- IF ( stockrotationview ) -%]
118
            [%- IF ( stockrotationview ) -%]
119
        <li class="active">
119
                <li class="active">
120
        [%- ELSE -%]
120
            [%- ELSE -%]
121
        <li>
121
                <li>
122
        [%- END -%]
122
            [%- END -%]
123
            <a href="/cgi-bin/koha/catalogue/stockrotation.pl?biblionumber=[% biblio_object_id | uri %]">Rota</a>
123
                <a href="/cgi-bin/koha/catalogue/stockrotation.pl?biblionumber=[% biblio_object_id | uri %]">Rota</a>
124
        </li>
124
            </li>
125
        [%- END -%]
125
        [%- END -%]
126
126
127
        [%- IF ( Koha.Preference('UseRecalls') && CAN_user_recalls ) -%]
127
        [%- IF ( Koha.Preference('UseRecalls') && CAN_user_recalls ) -%]
128
        [%- IF ( recallsview ) -%]
128
            [%- IF ( recallsview ) -%]
129
        <li class="active">
129
                <li class="active">
130
        [%- ELSE -%]
130
            [%- ELSE -%]
131
        <li>
131
                <li>
132
        [%- END -%]
132
            [%- END -%]
133
            <a href="/cgi-bin/koha/recalls/request.pl?biblionumber=[% biblio_object_id | url %]">Recalls ([% biblio.recalls.search( completed => 0 ).count | html %])</a>
133
            <a href="/cgi-bin/koha/recalls/request.pl?biblionumber=[% biblio_object_id | url %]">Recalls ([% biblio.recalls.search( completed => 0 ).count | html %])</a>
134
        </li>
134
            </li>
135
        [%- END -%]
135
        [%- END -%]
136
    </ul>
136
    </ul>
137
</div>
137
</div> <!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc (-71 / +67 lines)
Lines 1-133 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
5
        [% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %]
6
        <h5>Import</h5>
4
        <h5>Import</h5>
7
        <ul>
5
        <ul>
8
            [% IF ( CAN_user_tools_stage_marc_import ) %]
6
            [% IF ( CAN_user_tools_stage_marc_import ) %]
9
            <li>
7
                <li>
10
                <a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage records for import</a>
8
                    <a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage records for import</a>
11
            </li>
9
                </li>
12
            [% END %]
10
            [% END %]
13
            [% IF ( CAN_user_tools_manage_staged_marc ) %]
11
            [% IF ( CAN_user_tools_manage_staged_marc ) %]
14
            <li>
12
                <li>
15
                <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged records</a>
13
                    <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged records</a>
16
            </li>
14
                </li>
17
            [% END %]
15
            [% END %]
18
        </ul>
16
        </ul>
19
        [% END %]
17
    [% END %]
20
18
21
        [% IF ( CAN_user_tools_export_catalog ) %]
19
    [% IF ( CAN_user_tools_export_catalog ) %]
22
        <h5>Export</h5>
20
        <h5>Export</h5>
23
        <ul>
21
        <ul>
24
            [% IF ( CAN_user_tools_export_catalog ) %]
22
            [% IF ( CAN_user_tools_export_catalog ) %]
25
            <li>
23
                <li>
26
                <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>
27
            </li>
25
                </li>
28
            [% END %]
26
            [% END %]
29
        </ul>
27
        </ul>
30
        [% END %]
28
    [% END %]
31
29
32
        [% 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 ) ) %]
33
        <h5>Reports</h5>
31
        <h5>Reports</h5>
34
        <ul>
32
        <ul>
35
            [% IF ( CAN_user_tools_inventory ) %]
33
            [% IF ( CAN_user_tools_inventory ) %]
36
            <li>
34
                <li>
37
                <a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a>
35
                    <a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a>
38
            </li>
36
                </li>
39
            [% END %]
37
            [% END %]
40
            [% 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 %]
41
            <li>
39
                <li>
42
                <a href="/cgi-bin/koha/cataloguing/concerns.pl">Catalog concerns</a>
40
                    <a href="/cgi-bin/koha/cataloguing/concerns.pl">Catalog concerns</a>
43
            </li>
41
                </li>
44
            [% END %]
42
            [% END %]
45
        </ul>
43
        </ul>
46
        [% END %]
44
    [% END %]
47
45
48
        [% 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 ) %]
49
        <h5>Batch editing</h5>
47
        <h5>Batch editing</h5>
50
        <ul>
48
        <ul>
51
            [% IF ( CAN_user_tools_items_batchmod ) %]
49
            [% IF ( CAN_user_tools_items_batchmod ) %]
52
            <li>
50
                <li>
53
                <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>
54
            </li>
52
                </li>
55
            [% END %]
53
            [% END %]
56
            [% IF ( CAN_user_tools_items_batchdel ) %]
54
            [% IF ( CAN_user_tools_items_batchdel ) %]
57
            <li>
55
                <li>
58
                <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>
59
            </li>
57
                </li>
60
            [% END %]
58
            [% END %]
61
            [% IF CAN_user_tools_records_batchmod %]
59
            [% IF CAN_user_tools_records_batchmod %]
62
            <li>
60
                <li>
63
                <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>
64
            </li>
62
                </li>
65
            [% END %]
63
            [% END %]
66
            [% IF CAN_user_tools_records_batchdel %]
64
            [% IF CAN_user_tools_records_batchdel %]
67
            <li>
65
                <li>
68
                <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>
69
            </li>
67
                </li>
70
            [% END %]
68
            [% END %]
71
            [% IF ( CAN_user_tools_marc_modification_templates ) %]
69
            [% IF ( CAN_user_tools_marc_modification_templates ) %]
72
            <li>
70
                <li>
73
                <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>
74
            </li>
72
                </li>
75
            [% END %]
73
            [% END %]
76
        </ul>
74
        </ul>
77
        [% END %]
75
    [% END %]
78
76
79
        [% 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') ) ) %]
80
        <h5>Automation</h5>
78
        <h5>Automation</h5>
81
        <ul>
79
        <ul>
82
            [% IF ( CAN_user_tools_items_batchmod ) %]
80
            [% IF ( CAN_user_tools_items_batchmod ) %]
83
            <li>
81
                <li>
84
                <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>
85
            </li>
83
                </li>
86
            [% END %]
84
            [% END %]
87
            [% IF ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) %]
85
            [% IF ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) %]
88
            <li>
86
                <li>
89
                <a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a>
87
                    <a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a>
90
            </li>
88
                </li>
91
            [% END %]
89
            [% END %]
92
        </ul>
90
        </ul>
93
        [% END %]
91
    [% END %]
94
92
95
        [% 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 ) %]
96
        <h5>Tools</h5>
94
        <h5>Tools</h5>
97
        <ul>
95
        <ul>
98
            [% IF ( CAN_user_tools_label_creator ) %]
96
            [% IF ( CAN_user_tools_label_creator ) %]
99
            <li>
97
                <li>
100
                <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>
101
            </li>
99
                </li>
102
            <li>
100
                <li>
103
                <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>
104
            </li>
102
                </li>
105
            <li>
103
                <li>
106
                <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>
107
            </li>
105
                </li>
108
            [% END %]
106
            [% END %]
109
107
110
            [% IF ( CAN_user_tools_upload_local_cover_images ) %]
108
            [% IF ( CAN_user_tools_upload_local_cover_images ) %]
111
            <li>
109
                <li>
112
                <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>
113
            </li>
111
                </li>
114
            [% END %]
112
            [% END %]
115
        </ul>
113
        </ul>
116
        [% END %]
114
    [% END %]
117
115
118
        [% IF ( CAN_user_parameters ) %]
116
    [% IF ( CAN_user_parameters ) %]
119
        <h5>Administration</h5>
117
        <h5>Administration</h5>
120
        <ul>
118
        <ul>
121
            [% IF ( CAN_user_parameters_manage_sysprefs ) %]
119
            [% IF ( CAN_user_parameters_manage_sysprefs ) %]
122
            <li>
120
                <li>
123
                <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>
124
            </li>
122
                </li>
125
            [% END %]
123
            [% END %]
126
            <li>
124
            <li>
127
                <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>
128
            </li>
126
            </li>
129
        </ul>
127
        </ul>
130
        [% END %]
128
    [% END %]
131
129
</div> <!-- /.sidebar_menu -->
132
    </div>
133
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc (-2 / +2 lines)
Lines 157-163 Link Here
157
        </div>
157
        </div>
158
    </div> <!-- /.patronifo -->
158
    </div> <!-- /.patronifo -->
159
159
160
    <div id="menu">
160
    <div id="circ-menu" class="sidebar_menu">
161
        <ul>
161
        <ul>
162
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
162
            [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
163
                [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]
163
                [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]
Lines 254-260 Link Here
254
                </li>
254
                </li>
255
            [% END %]
255
            [% END %]
256
        </ul>
256
        </ul>
257
    </div>
257
    </div> <!-- /.sidebar_menu -->
258
258
259
    [% IF patronimages && CAN_user_tools_batch_upload_patron_images %]
259
    [% IF patronimages && CAN_user_tools_batch_upload_patron_images %]
260
        <!-- Modal -->
260
        <!-- Modal -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-nav.inc (-66 / +56 lines)
Lines 1-76 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>
18
            </li>
19
            [% IF ( CAN_user_superlibrarian || CAN_user_loggedinlibrary ) %]
20
            <li>
17
            <li>
21
                [% IF Koha.Preference('UseCirculationDesks') %]
18
                [% IF Koha.Preference('UseCirculationDesks') %]
22
                <a href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a>
19
                    <a href="/cgi-bin/koha/circ/set-library.pl">Set library and desk</a>
23
                [% ELSE %]
20
                [% ELSE %]
24
                <a href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
21
                    <a href="/cgi-bin/koha/circ/set-library.pl">Set library</a>
25
                [% END %]
22
                [% END %]
26
            </li>
23
            </li>
27
            [% ELSIF Koha.Preference('UseCirculationDesks') %]
24
        [% ELSIF Koha.Preference('UseCirculationDesks') %]
28
            <li>
25
            <li>
29
                <a href="/cgi-bin/koha/circ/set-library.pl">Set desk</a>
26
                <a href="/cgi-bin/koha/circ/set-library.pl">Set desk</a>
30
            </li>
27
            </li>
31
            [% END %]
28
        [% END %]
32
            [% IF ( fast_cataloging && CAN_user_editcatalogue_fast_cataloging ) %]
29
        [% IF ( fast_cataloging && CAN_user_editcatalogue_fast_cataloging ) %]
33
            <li>
30
            <li>
34
                <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"> Fast cataloging</a>
31
                <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=FA"> Fast cataloging</a>
35
            </li>
32
            </li>
36
            [% END %]
33
        [% END %]
37
            [% IF ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes ) %]
34
        [% IF ( Koha.Preference('AllowCheckoutNotes') && CAN_user_circulate_manage_checkout_notes ) %]
38
            <li>
35
            <li>
39
                <a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a>
36
                <a href="/cgi-bin/koha/circ/checkout-notes.pl">Checkout notes</a>
40
            </li>
37
            </li>
41
            [% END %]
38
        [% END %]
42
            [% IF Koha.Preference('OnSiteCheckouts') %]
39
        [% IF Koha.Preference('OnSiteCheckouts') %]
43
            <li>
40
            <li>
44
                <a href="/cgi-bin/koha/circ/on-site_checkouts.pl">Pending on-site checkouts</a>
41
                <a href="/cgi-bin/koha/circ/on-site_checkouts.pl">Pending on-site checkouts</a>
45
            </li>
42
            </li>
46
            [% END %]
43
        [% END %]
47
        </ul>
44
    </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
71
66
72
        <div class="col-sm-6 col-md-12">
67
    [% IF Koha.Preference('UseRecalls') and CAN_user_recalls %]
73
        [% IF Koha.Preference('UseRecalls') and CAN_user_recalls %]
74
        <h5>Recalls</h5>
68
        <h5>Recalls</h5>
75
        <ul>
69
        <ul>
76
            <li>
70
            <li>
Lines 89-123 Link Here
89
                <a href="/cgi-bin/koha/recalls/recalls_old_queue.pl" title="Inactive recalls">Old recalls</a>
83
                <a href="/cgi-bin/koha/recalls/recalls_old_queue.pl" title="Inactive recalls">Old recalls</a>
90
            </li>
84
            </li>
91
        </ul>
85
        </ul>
92
        [% END %]
86
    [% END %]
93
87
94
        [% IF Koha.Preference('ArticleRequests') %]
88
    [% IF Koha.Preference('ArticleRequests') %]
95
        <h5>Patron request</h5>
89
        <h5>Patron request</h5>
96
        <ul>
90
        <ul>
97
            <li>
91
            <li>
98
                <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>
99
            </li>
93
            </li>
100
        </ul>
94
        </ul>
101
        [% END %]
95
    [% END %]
102
96
103
        <h5>Transfers</h5>
97
    <h5>Transfers</h5>
104
        <ul>
98
    <ul>
105
        [% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
99
        [% IF !Koha.Preference('IndependentBranchesTransfers') || CAN_user_superlibrarian %]
106
            <li>
100
            <li>
107
                <a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a>
101
                <a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a>
108
            </li>
102
            </li>
109
        [% END %]
103
        [% END %]
110
        [% IF Koha.Preference('StockRotation') %]
104
        [% IF Koha.Preference('StockRotation') %]
111
             <li>
105
            <li>
112
                <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>
113
            </li>
107
            </li>
114
        [% END %]
108
        [% END %]
115
            <li>
109
        <li>
116
                <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>
117
            </li>
111
        </li>
118
        </ul>
112
    </ul>
119
113
120
        [% IF ( CAN_user_circulate_overdues_report ) %]
114
    [% IF ( CAN_user_circulate_overdues_report ) %]
121
        <h5>Overdues</h5>
115
        <h5>Overdues</h5>
122
        <ul>
116
        <ul>
123
            <li>
117
            <li>
Lines 125-135 Link Here
125
            </li>
119
            </li>
126
            <li>
120
            <li>
127
                <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>
128
             </li>
122
                </li>
129
        </ul>
123
        </ul>
130
        [% END %]
124
    [% END %]
131
        </div>
125
</div> <!-- /.sidebar_menu -->
132
    </div>
133
    </div>
134
</div>
135
<!-- /circ-nav.inc -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc (-23 / +20 lines)
Lines 1-24 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
4
    <ul>
5
<h5>Run reports</h5>
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
<ul>
6
    </ul>
7
	[% IF ( CAN_user_reports_execute_reports ) %]<li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Saved reports</a></li>[% END %]
7
    <h5>Reports dictionary</h5>
8
</ul>
8
    <ul>
9
<h5>Reports dictionary</h5>
9
        <li><a href="/cgi-bin/koha/reports/dictionary.pl">View dictionary</a></li>
10
<ul>
10
    </ul>
11
<li><a href="/cgi-bin/koha/reports/dictionary.pl">View dictionary</a></li>
11
    <h5>Useful resources</h5>
12
</ul>
12
    <ul>
13
<h5>Useful resources</h5>
13
        <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li>
14
<ul>
14
        [% SET koha_version = Koha.Version %]
15
<li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li>
15
        [% IF koha_version.development %]
16
[% SET koha_version = Koha.Version %]
16
            <li><a href="http://schema.koha-community.org/main" target="blank">Koha database schema</a></li>
17
[% IF koha_version.development %]
17
        [% ELSE %]
18
    <li><a href="http://schema.koha-community.org/main" target="blank">Koha database schema</a></li>
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
[% ELSE %]
19
        [% END %]
20
    <li><a href="http://schema.koha-community.org/[% koha_version.major | uri %]_[% koha_version.minor | uri %]" target="blank">Koha database schema</a></li>
20
    </ul>
21
[% END %]
21
</div> <!-- /.sidebar_menu -->
22
</ul>
23
</div>
24
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/pos-menu.inc (-8 / +6 lines)
Lines 1-8 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 ) %]
6
        <h5>Cash management</h5>
5
        <h5>Cash management</h5>
7
        <ul>
6
        <ul>
8
            <li><a href="/cgi-bin/koha/pos/pay.pl">Point of sale</a></li>
7
            <li><a href="/cgi-bin/koha/pos/pay.pl">Point of sale</a></li>
Lines 11-18 Link Here
11
            [% END %]
10
            [% END %]
12
            <li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
11
            <li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
13
        </ul>
12
        </ul>
14
        [% END %]
13
    [% END %]
15
        [% IF ( CAN_user_parameters_manage_cash_registers || CAN_user_parameters_manage_accounts) %]
14
    [% IF ( CAN_user_parameters_manage_cash_registers || CAN_user_parameters_manage_accounts) %]
16
        <h5>Administration</h5>
15
        <h5>Administration</h5>
17
        <ul>
16
        <ul>
18
            [% IF ( CAN_user_parameters_manage_cash_registers ) %]
17
            [% IF ( CAN_user_parameters_manage_cash_registers ) %]
Lines 23-28 Link Here
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>
26
</div> <!-- /.sidebar_menu -->
28
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-menu.inc (-2 / +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 199-205 Link Here
199
        [% END %]
199
        [% END %]
200
        </li>
200
        </li>
201
    </ul>
201
    </ul>
202
</div>
202
</div> <!-- /.sidebar_menu -->
203
203
204
[% BLOCK subtabs %]
204
[% BLOCK subtabs %]
205
    [% UNLESS ( searchfield ) %]
205
    [% UNLESS ( searchfield ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/preservation-menu.inc (-10 / +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>
9
</div> <!-- /.sidebar_menu -->
10
    </div>
11
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-menu.inc (-55 / +51 lines)
Lines 1-59 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
2
<div id="reports-menu" class="sidebar_menu">
3
<div id="navmenu">
3
    <h5>Guided reports</h5>
4
    <div id="navmenulist">
4
    <ul>
5
5
        <li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports</a></li>
6
        <h5>Guided reports</h5>
6
        [% IF ( CAN_user_reports_create_reports ) %]
7
            <ul>
7
            <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form">Build new</a></li>
8
                <li><a href="/cgi-bin/koha/reports/guided_reports.pl">Guided reports</a></li>
9
                [% IF ( CAN_user_reports_create_reports ) %]
10
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form">Build new</a></li>
11
                [% END %]
12
                [% IF ( CAN_user_reports_execute_reports ) %]
13
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Use saved</a></li>
14
                [% END %]
15
                [% IF ( CAN_user_reports_create_reports ) %]
16
                    <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form_sql">Create from SQL</a></li>
17
                [% END %]
18
            </ul>
19
20
        <h5>Statistics wizards</h5>
21
            <ul>
22
                <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
23
                <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
24
                <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
25
                <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
26
                <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
27
                <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
28
                <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
29
            </ul>
30
31
        [% IF plugins_enabled %]
32
            <h5>Report plugins</h5>
33
            <ul>
34
                <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
35
            </ul>
36
        [% END %]
8
        [% END %]
37
9
        [% IF ( CAN_user_reports_execute_reports ) %]
38
        <h5>Top lists</h5>
10
            <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=list">Use saved</a></li>
39
        <ul>
11
        [% END %]
40
            <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
12
        [% IF ( CAN_user_reports_create_reports ) %]
41
            <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li>
13
            <li><a href="/cgi-bin/koha/reports/guided_reports.pl?op=add_form_sql">Create from SQL</a></li>
42
        </ul>
14
        [% END %]
43
15
    </ul>
44
        <h5>Inactive</h5>
16
45
        <ul>
17
    <h5>Statistics wizards</h5>
46
            <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li>
18
    <ul>
47
            <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li>
19
        <li><a href="/cgi-bin/koha/reports/acquisitions_stats.pl">Acquisitions</a></li>
48
        </ul>
20
        <li><a href="/cgi-bin/koha/reports/borrowers_stats.pl">Patrons</a></li>
49
21
        <li><a href="/cgi-bin/koha/reports/catalogue_stats.pl">Catalog</a></li>
50
22
        <li><a href="/cgi-bin/koha/reports/issues_stats.pl">Circulation</a></li>
51
        <h5>Other</h5>
23
        <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials</a></li>
24
        <li><a href="/cgi-bin/koha/reports/cash_register_stats.pl">Cash register</a></li>
25
        <li><a href="/cgi-bin/koha/reports/reserves_stats.pl">Holds</a></li>
26
    </ul>
27
28
    [% IF plugins_enabled %]
29
        <h5>Report plugins</h5>
52
        <ul>
30
        <ul>
53
            <li><a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a></li>
31
            <li><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=report">Report plugins</a></li>
54
            <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
55
            <li><a href="/cgi-bin/koha/reports/catalog_by_itemtype.pl">Catalog by item type</a></li>
56
            <li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li>
57
        </ul>
32
        </ul>
58
    </div>
33
    [% END %]
59
</div>
34
35
    <h5>Top lists</h5>
36
    <ul>
37
        <li><a href="/cgi-bin/koha/reports/bor_issues_top.pl">Patrons with the most checkouts</a></li>
38
        <li><a href="/cgi-bin/koha/reports/cat_issues_top.pl">Most-circulated items</a></li>
39
    </ul>
40
41
    <h5>Inactive</h5>
42
    <ul>
43
        <li><a href="/cgi-bin/koha/reports/borrowers_out.pl">Patrons who haven't checked out</a></li>
44
        <li><a href="/cgi-bin/koha/reports/catalogue_out.pl">Items with no checkouts</a></li>
45
    </ul>
46
47
48
    <h5>Other</h5>
49
    <ul>
50
        <li><a href="/cgi-bin/koha/reports/itemslost.pl">Lost items</a></li>
51
        <li><a href="/cgi-bin/koha/reports/orders_by_fund.pl">Orders by fund</a></li>
52
        <li><a href="/cgi-bin/koha/reports/catalog_by_itemtype.pl">Catalog by item type</a></li>
53
        <li><a href="/cgi-bin/koha/reports/issues_avg_stats.pl">Average loan time</a></li>
54
    </ul>
55
</div> <!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-menu.inc (-35 / +33 lines)
Lines 1-7 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>
5
        [% IF ( subscriptionid ) %]
4
        [% IF ( subscriptionid ) %]
6
                <li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscriptionid | uri %]">Serial collection</a></li>
5
                <li><a href="/cgi-bin/koha/serials/serials-collection.pl?subscriptionid=[% subscriptionid | uri %]">Serial collection</a></li>
7
                [% UNLESS closed %]
6
                [% UNLESS closed %]
Lines 15-52 Link Here
15
                [% END %]
14
                [% END %]
16
        [% 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">
24
            <a href="/cgi-bin/koha/serials/subscription-frequencies.pl">
26
                    Manage frequencies
25
                Manage frequencies
27
                </a>
26
            </a>
28
            </li>
27
        </li>
28
        <li>
29
            <a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl">
30
                Manage numbering patterns
31
            </a>
32
        </li>
33
        [% IF Koha.Preference('Mana') == 1 %]
34
            <li><a href="/cgi-bin/koha/serials/serials-search.pl?mana=1">Search on Mana</a></li>
35
        [% END %]
36
        [% IF CAN_user_serials_edit_subscription && CAN_user_parameters_manage_additional_fields %]
29
            <li>
37
            <li>
30
                <a href="/cgi-bin/koha/serials/subscription-numberpatterns.pl">
38
                <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=subscription">Manage subscription fields</a>
31
                    Manage numbering patterns
32
                </a>
33
            </li>
39
            </li>
34
            [% IF Koha.Preference('Mana') == 1 %]
35
                <li><a href="/cgi-bin/koha/serials/serials-search.pl?mana=1">Search on Mana</a></li>
36
            [% END %]
37
            [% IF CAN_user_serials_edit_subscription && CAN_user_parameters_manage_additional_fields %]
38
                <li>
39
                    <a href="/cgi-bin/koha/admin/additional-fields.pl?tablename=subscription">Manage subscription fields</a>
40
                </li>
41
            [% END %]
42
        </ul>
43
44
        [% IF ( CAN_user_reports ) %]
45
            <h5>Reports</h5>
46
            <ul>
47
                <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials statistics wizard</a></li>
48
            </ul>
49
        [% END %]
40
        [% END %]
41
    </ul>
42
43
    [% IF ( CAN_user_reports ) %]
44
        <h5>Reports</h5>
45
        <ul>
46
            <li><a href="/cgi-bin/koha/reports/serials_stats.pl">Serials statistics wizard</a></li>
47
        </ul>
48
    [% END %]
50
49
51
    </div>
50
</div> <!-- /.sidebar_menu -->
52
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc (-93 / +92 lines)
Lines 2-100 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> <!-- /#navmenulist -->
98
100
</div> <!-- /#navmenu -->
99
</div> <!-- /.sidebar_menu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/vendor-menu.inc (-14 / +14 lines)
Lines 1-16 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 %]
6
        [% IF ( CAN_user_acquisition_contracts_manage ) %]<li><a href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid | uri %]">Contracts</a></li>[% END %]
6
            [% IF ( CAN_user_acquisition_contracts_manage ) %]<li><a href="/cgi-bin/koha/admin/aqcontract.pl?booksellerid=[% booksellerid | uri %]">Contracts</a></li>[% END %]
7
        [% IF ( CAN_user_acquisition_issue_manage ) %]<li><a href="/cgi-bin/koha/acqui/vendor_issues.pl?booksellerid=[% booksellerid | uri %]">Vendor issues</a></li>[% END %]
7
            [% IF ( CAN_user_acquisition_issue_manage ) %]<li><a href="/cgi-bin/koha/acqui/vendor_issues.pl?booksellerid=[% booksellerid | uri %]">Vendor issues</a></li>[% END %]
8
        <li><a href="/cgi-bin/koha/acqui/invoices.pl?supplierid=[% booksellerid | uri %]&amp;op=do_search">Invoices</a></li>
8
            <li><a href="/cgi-bin/koha/acqui/invoices.pl?supplierid=[% booksellerid | uri %]&amp;op=do_search">Invoices</a></li>
9
        [% IF ( CAN_user_acquisition_order_manage ) %][% IF ( basketno ) %]
9
            [% IF ( CAN_user_acquisition_order_manage ) %][% IF ( basketno ) %]
10
        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;owner=1">Uncertain prices</a></li>
10
            <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;basketno=[% basketno | uri %]&amp;owner=1">Uncertain prices</a></li>
11
        [% ELSE %]
11
            [% ELSE %]
12
        <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;owner=1">Uncertain prices</a></li>
12
            <li><a href="/cgi-bin/koha/acqui/uncertainprice.pl?booksellerid=[% booksellerid | uri %]&amp;owner=1">Uncertain prices</a></li>
13
        [% END %] [% END %]
13
            [% END %] [% END %]
14
    </ul>
14
        </ul>
15
</div>
15
    </div> <!-- /.sidebar_menu -->
16
[% END %]
16
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-1 / +1 lines)
Lines 323-329 Link Here
323
        }
323
        }
324
324
325
        $(document).ready(function() {
325
        $(document).ready(function() {
326
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
326
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
327
            [% IF table_loop %]
327
            [% IF table_loop %]
328
                $("#description").show();
328
                $("#description").show();
329
            [% ELSE %]
329
            [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt (-1 / +1 lines)
Lines 233-239 Link Here
233
[% MACRO jsinclude BLOCK %]
233
[% MACRO jsinclude BLOCK %]
234
    <script>
234
    <script>
235
        $(document).ready(function() {
235
        $(document).ready(function() {
236
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
236
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
237
            $("input[name='layout_choice']").change( function() { layout_method() } );
237
            $("input[name='layout_choice']").change( function() { layout_method() } );
238
            layout_method();
238
            layout_method();
239
            $("#font").on("change",function(){
239
            $("#font").on("change",function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt (-1 / +1 lines)
Lines 153-159 Link Here
153
[% MACRO jsinclude BLOCK %]
153
[% MACRO jsinclude BLOCK %]
154
    <script>
154
    <script>
155
        $(document).ready(function(){
155
        $(document).ready(function(){
156
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
156
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
157
            var selectedUnit = $("#units option:selected").val();
157
            var selectedUnit = $("#units option:selected").val();
158
            var unitfields = $("#offset_horz,#offset_vert,#creep_horz,#creep_vert");
158
            var unitfields = $("#offset_horz,#offset_vert,#creep_horz,#creep_vert");
159
            $(unitfields).after("<span class=\"unit\">"+getUnit(selectedUnit)+"</span>");
159
            $(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 105-111 Link Here
105
            }
105
            }
106
106
107
        $(document).ready(function () {
107
        $(document).ready(function () {
108
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
108
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
109
            $.validator.addMethod("gt", function(value, element, params) {
109
            $.validator.addMethod("gt", function(value, element, params) {
110
                return parseInt(value) >= parseInt($(params).val());
110
                return parseInt(value) >= parseInt($(params).val());
111
            }, _("Must be greater or equal to the from value."));
111
            }, _("Must be greater or equal to the from value."));
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt (-1 / +1 lines)
Lines 199-205 Link Here
199
[% MACRO jsinclude BLOCK %]
199
[% MACRO jsinclude BLOCK %]
200
    <script>
200
    <script>
201
        $(document).ready(function(){
201
        $(document).ready(function(){
202
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
202
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
203
            var selectedUnit = $("#units option:selected").val();
203
            var selectedUnit = $("#units option:selected").val();
204
            var unitfields = $("#page_height,#page_width,#label_width,#label_height,#top_margin,#left_margin,#top_text_margin,#left_text_margin,#col_gap,#row_gap");
204
            var unitfields = $("#page_height,#page_width,#label_width,#label_height,#top_margin,#left_margin,#top_text_margin,#left_text_margin,#col_gap,#row_gap");
205
            $(unitfields).after("<span class=\"unit\">"+getUnit(selectedUnit)+"</span>");
205
            $(unitfields).after("<span class=\"unit\">"+getUnit(selectedUnit)+"</span>");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt (-1 / +1 lines)
Lines 185-191 Link Here
185
            return (-1);
185
            return (-1);
186
        }
186
        }
187
        $(document).ready(function(){
187
        $(document).ready(function(){
188
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
188
            $('.sidebar_menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
189
            $("#print").click(function(e){
189
            $("#print").click(function(e){
190
                e.preventDefault();
190
                e.preventDefault();
191
                Xport();
191
                Xport();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-batch.tt (+1 lines)
Lines 176-181 Link Here
176
[% MACRO jsinclude BLOCK %]
176
[% MACRO jsinclude BLOCK %]
177
    [% INCLUDE 'greybox.inc' %]
177
    [% INCLUDE 'greybox.inc' %]
178
    [% INCLUDE 'datatables.inc' %]
178
    [% INCLUDE 'datatables.inc' %]
179
    [% Asset.js("js/tools-menu.js") | $raw %]
179
    <script>
180
    <script>
180
        function DeleteConfirm() {
181
        function DeleteConfirm() {
181
            var msg = _("Are you sure you want to delete batch %s?").format("[% batch_id | html %]");
182
            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 506-511 Link Here
506
     </div> <!-- /.row -->
506
     </div> <!-- /.row -->
507
507
508
[% MACRO jsinclude BLOCK %]
508
[% MACRO jsinclude BLOCK %]
509
    [% Asset.js("js/tools-menu.js") | $raw %]
509
    <script>
510
    <script>
510
        $(document).ready(function() {
511
        $(document).ready(function() {
511
            var selectedUnit = $("#units option:selected").val();
512
            var selectedUnit = $("#units option:selected").val();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/edit-profile.tt (+1 lines)
Lines 141-146 Link Here
141
     </div> <!-- /.row -->
141
     </div> <!-- /.row -->
142
142
143
[% MACRO jsinclude BLOCK %]
143
[% MACRO jsinclude BLOCK %]
144
    [% Asset.js("js/tools-menu.js") | $raw %]
144
    <script>
145
    <script>
145
        $(document).ready(function(){
146
        $(document).ready(function(){
146
            var selectedUnit = $("#units option:selected").val();
147
            var selectedUnit = $("#units option:selected").val();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt (+1 lines)
Lines 163-168 Link Here
163
     </div> <!-- /.row -->
163
     </div> <!-- /.row -->
164
164
165
[% MACRO jsinclude BLOCK %]
165
[% MACRO jsinclude BLOCK %]
166
    [% Asset.js("js/tools-menu.js") | $raw %]
166
    <script>
167
    <script>
167
        function DeleteConfirm() {
168
        function DeleteConfirm() {
168
            var results = selected_images("delete");
169
            var results = selected_images("delete");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt (+1 lines)
Lines 166-171 Link Here
166
166
167
[% MACRO jsinclude BLOCK %]
167
[% MACRO jsinclude BLOCK %]
168
    [% INCLUDE 'greybox.inc' %]
168
    [% INCLUDE 'greybox.inc' %]
169
    [% Asset.js("js/tools-menu.js") | $raw %]
169
    <script>
170
    <script>
170
        function DeleteConfirm() {
171
        function DeleteConfirm() {
171
            var element_ids = selected_layouts("delete");
172
            var element_ids = selected_layouts("delete");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt (-1 / +1 lines)
Lines 506-512 $(document).ready(function() { Link Here
506
        <div class="col-md-2 order-sm-2 order-md-1">
506
        <div class="col-md-2 order-sm-2 order-md-1">
507
            <aside>
507
            <aside>
508
                [% INCLUDE 'serials-menu.inc' %]
508
                [% INCLUDE 'serials-menu.inc' %]
509
                <div id="serialmenu">
509
                <div id="serialmenu" class="sidebar_menu">
510
                    <h5>Serial links</h5>
510
                    <h5>Serial links</h5>
511
                    <ul>
511
                    <ul>
512
                        [% FOREACH subscription IN subscriptions %]
512
                        [% FOREACH subscription IN subscriptions %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt (-2 / +3 lines)
Lines 103-116 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
103
103
104
        <div class="col-md-2 order-sm-2 order-md-1">
104
        <div class="col-md-2 order-sm-2 order-md-1">
105
            <aside>
105
            <aside>
106
                <div id="menu">
106
                <div id="list-menu" class="sidebar_menu">
107
                    <ul>
107
                    <ul>
108
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a></li>
108
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=1">Approved tags</a></li>
109
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a></li>
109
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=-1">Rejected tags</a></li>
110
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=0">Pending tags</a></li>
110
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=0">Pending tags</a></li>
111
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a></li>
111
                        <li><a href="/cgi-bin/koha/tags/review.pl?approved=all">All tags</a></li>
112
                    </ul>
112
                    </ul>
113
                </div>
113
                </div> <!-- /.sidebar_menu -->
114
                [% INCLUDE 'tools-menu.inc' %]
114
                [% INCLUDE 'tools-menu.inc' %]
115
            </aside>
115
            </aside>
116
        </div> <!-- /.col-md-2.order-md-1 -->
116
        </div> <!-- /.col-md-2.order-md-1 -->
Lines 118-123 tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : Link Here
118
118
119
[% MACRO jsinclude BLOCK %]
119
[% MACRO jsinclude BLOCK %]
120
    [% INCLUDE 'datatables.inc' %]
120
    [% INCLUDE 'datatables.inc' %]
121
    [% Asset.js("js/tools-menu.js") | $raw %]
121
    <script>
122
    <script>
122
        $(document).ready(function() {
123
        $(document).ready(function() {
123
            $(".delete").click(function (event) {
124
            $(".delete").click(function (event) {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt (+1 lines)
Lines 317-322 Link Here
317
[% MACRO jsinclude BLOCK %]
317
[% MACRO jsinclude BLOCK %]
318
    [% INCLUDE 'datatables.inc' %]
318
    [% INCLUDE 'datatables.inc' %]
319
    [% INCLUDE 'calendar.inc' %]
319
    [% INCLUDE 'calendar.inc' %]
320
    [% Asset.js("js/tools-menu.js") | $raw %]
320
    [% Asset.js("js/pages/tags-review.js") | $raw %]
321
    [% Asset.js("js/pages/tags-review.js") | $raw %]
321
[% END %]
322
[% END %]
322
323
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-5 / +5 lines)
Lines 668-691 Link Here
668
        <div class="col-md-2 order-sm-2 order-md-1">
668
        <div class="col-md-2 order-sm-2 order-md-1">
669
            <aside>
669
            <aside>
670
                [% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
670
                [% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
671
                    <div id="menu">
671
                    <div id="stockrotation-menu" class="sidebar_menu">
672
                        <ul>
672
                        <ul>
673
                            [% IF op == 'manage_stages' %]
673
                            [% IF op == 'manage_stages' %]
674
                                <li class="active">
674
                                <li class="active">
675
                            [% ELSE %]
675
                            [% ELSE %]
676
                                <li>
676
                                <li>
677
                            [% END %]
677
                            [% END %]
678
                                    <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_stages&amp;rota_id=[% rota_id | uri %]">Manage stages</a>
678
                                <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_stages&amp;rota_id=[% rota_id | uri %]">Manage stages</a>
679
                                </li>
679
                            </li>
680
                            [% IF op == 'manage_items' %]
680
                            [% IF op == 'manage_items' %]
681
                                <li class="active">
681
                                <li class="active">
682
                            [% ELSE %]
682
                            [% ELSE %]
683
                                <li>
683
                                <li>
684
                            [% END %]
684
                            [% END %]
685
                                    <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_items&amp;rota_id=[% rota_id | uri %]">Manage items</a>
685
                                <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_items&amp;rota_id=[% rota_id | uri %]">Manage items</a>
686
                            </li>
686
                            </li>
687
                        </ul>
687
                        </ul>
688
                    </div>
688
                    </div> <!-- /.sidebar_menu -->
689
                [% END %]
689
                [% END %]
690
                [% INCLUDE 'cat-menu.inc' %]
690
                [% INCLUDE 'cat-menu.inc' %]
691
            </aside>
691
            </aside>
(-)a/koha-tmpl/intranet-tmpl/prog/js/acquisitions-menu.js (-1 / +1 lines)
Lines 9-15 function searchToOrder( basketno, vendorid ){ Link Here
9
$(document).ready(function() {
9
$(document).ready(function() {
10
    var path = location.pathname.substring(1);
10
    var path = location.pathname.substring(1);
11
    if (path.indexOf("invoice") >= 0) {
11
    if (path.indexOf("invoice") >= 0) {
12
        $('#navmenulist a[href$="/cgi-bin/koha/acqui/invoices.pl"]').addClass("current");
12
        $('.sidebar_menu a[href$="/cgi-bin/koha/acqui/invoices.pl"]').addClass("current");
13
    }
13
    }
14
14
15
    $("body").on("click", "#searchtoorder", function(){
15
    $("body").on("click", "#searchtoorder", function(){
(-)a/koha-tmpl/intranet-tmpl/prog/js/admin-menu.js (-5 / +5 lines)
Lines 1-14 Link Here
1
$(document).ready(function() {
1
$(document).ready(function() {
2
    var path = location.pathname.substring(1);
2
    var path = location.pathname.substring(1);
3
    if (path == "cgi-bin/koha/admin/marctagstructure.pl" || path == "cgi-bin/koha/admin/marc_subfields_structure.pl") {
3
    if (path == "cgi-bin/koha/admin/marctagstructure.pl" || path == "cgi-bin/koha/admin/marc_subfields_structure.pl") {
4
        $('#navmenulist a[href$="/cgi-bin/koha/admin/biblio_framework.pl"]').addClass("current");
4
        $('.sidebar_menu a[href$="/cgi-bin/koha/admin/biblio_framework.pl"]').addClass("current");
5
    } else if (path == "cgi-bin/koha/admin/auth_tag_structure.pl" || path == "cgi-bin/koha/admin/auth_subfields_structure.pl") {
5
    } else if (path == "cgi-bin/koha/admin/auth_tag_structure.pl" || path == "cgi-bin/koha/admin/auth_subfields_structure.pl") {
6
        $('#navmenulist a[href$="/cgi-bin/koha/admin/authtypes.pl"]').addClass("current");
6
        $('.sidebar_menu a[href$="/cgi-bin/koha/admin/authtypes.pl"]').addClass("current");
7
    } else if (path == "cgi-bin/koha/admin/oai_set_mappings.pl") {
7
    } else if (path == "cgi-bin/koha/admin/oai_set_mappings.pl") {
8
        $('#navmenulist a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').addClass("current");
8
        $('.sidebar_menu a[href$="/cgi-bin/koha/admin/oai_sets.pl"]').addClass("current");
9
    } else if (path == "cgi-bin/koha/admin/items_search_field.pl") {
9
    } else if (path == "cgi-bin/koha/admin/items_search_field.pl") {
10
        $('#navmenulist a[href$="/cgi-bin/koha/admin/items_search_fields.pl"]').addClass("current");
10
        $('.sidebar_menu a[href$="/cgi-bin/koha/admin/items_search_fields.pl"]').addClass("current");
11
    } else if (path == "cgi-bin/koha/admin/clone-rules.pl") {
11
    } else if (path == "cgi-bin/koha/admin/clone-rules.pl") {
12
        $('#navmenulist a[href$="/cgi-bin/koha/admin/smart-rules.pl"]').addClass("current");
12
        $('.sidebar_menu a[href$="/cgi-bin/koha/admin/smart-rules.pl"]').addClass("current");
13
    }
13
    }
14
});
14
});
(-)a/koha-tmpl/intranet-tmpl/prog/js/staff-global.js (-5 / +5 lines)
Lines 164-181 $(document).ready(function () { Link Here
164
        }
164
        }
165
    });
165
    });
166
166
167
    var navmenulist = $("#navmenulist");
167
    var sidebar_menu = $(".sidebar_menu");
168
    if (navmenulist.length > 0) {
168
    if (sidebar_menu.length > 0) {
169
        var path = location.pathname.substring(1);
169
        var path = location.pathname.substring(1);
170
        var url = window.location.toString();
170
        var url = window.location.toString();
171
        var params = "";
171
        var params = "";
172
        if (url.match(/\?(.+)$/)) {
172
        if (url.match(/\?(.+)$/)) {
173
            params = "?" + RegExp.$1;
173
            params = "?" + RegExp.$1;
174
        }
174
        }
175
        if ($('a[href$="/' + path + params + '"]', navmenulist).length == 0) {
175
        if ($('a[href$="/' + path + params + '"]', sidebar_menu).length == 0) {
176
            $('a[href$="/' + path + '"]', navmenulist).addClass("current");
176
            $('a[href$="/' + path + '"]', sidebar_menu).addClass("current");
177
        } else {
177
        } else {
178
            $('a[href$="/' + path + params + '"]', navmenulist).addClass(
178
            $('a[href$="/' + path + params + '"]', sidebar_menu).addClass(
179
                "current"
179
                "current"
180
            );
180
            );
181
        }
181
        }
(-)a/koha-tmpl/intranet-tmpl/prog/js/tools-menu.js (-10 / +12 lines)
Lines 1-24 Link Here
1
  $(document).ready(function() {
1
  $(document).ready(function() {
2
      var path = location.pathname.substring(1);
2
      var path = location.pathname.substring(1);
3
      if (path.indexOf("labels") >= 0 && path.indexOf("spine") < 0 && path.indexOf("barcode") < 0 ) {
3
      if (path.indexOf("labels") >= 0 && path.indexOf("spine") < 0 && path.indexOf("barcode") < 0 ) {
4
        $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
4
        $('#tools-menu a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
5
      } else if (path.indexOf("patroncards") >= 0 ) {
5
      } else if (path.indexOf("patroncards") >= 0 ) {
6
        $('#navmenulist a[href$="/cgi-bin/koha/patroncards/home.pl"]').addClass("current");
6
        $('#tools-menu a[href$="/cgi-bin/koha/patroncards/home.pl"]').addClass("current");
7
      } else if (path.indexOf("clubs") >= 0 ) {
7
      } else if (path.indexOf("clubs") >= 0 ) {
8
          $('#navmenulist a[href$="/cgi-bin/koha/clubs/clubs.pl"]').addClass("current");
8
          $('#tools-menu a[href$="/cgi-bin/koha/clubs/clubs.pl"]').addClass("current");
9
      } else if (path.indexOf("patron_lists") >= 0 ) {
9
      } else if (path.indexOf("patron_lists") >= 0 ) {
10
        $('#navmenulist a[href$="/cgi-bin/koha/patron_lists/lists.pl"]').addClass("current");
10
        $('#tools-menu a[href$="/cgi-bin/koha/patron_lists/lists.pl"]').addClass("current");
11
      } else if (path.indexOf("rotating_collections") >= 0 ){
11
      } else if (path.indexOf("rotating_collections") >= 0 ){
12
        $('#navmenulist a[href$="/cgi-bin/koha/rotating_collections/rotatingCollections.pl"]').addClass("current");
12
        $('#tools-menu a[href$="/cgi-bin/koha/rotating_collections/rotatingCollections.pl"]').addClass("current");
13
      } else if ((path+location.search).indexOf("batchMod.pl?del=1") >= 0 ) {
13
      } else if ((path+location.search).indexOf("batchMod.pl?del=1") >= 0 ) {
14
        $('#navmenulist a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]').addClass("current");
14
        $('#tools-menu a[href$="/cgi-bin/koha/tools/batchMod.pl?del=1"]').addClass("current");
15
      } else if (path.indexOf("quotes-upload.pl") >= 0 ){
15
      } else if (path.indexOf("quotes-upload.pl") >= 0 ){
16
        $('#navmenulist a[href$="/cgi-bin/koha/tools/quotes.pl"]').addClass("current");
16
        $('#tools-menu a[href$="/cgi-bin/koha/tools/quotes.pl"]').addClass("current");
17
      } else if (path.indexOf("stockrotation") >= 0 ) {
17
      } else if (path.indexOf("stockrotation") >= 0 ) {
18
          $('#navmenulist a[href$="/cgi-bin/koha/tools/stockrotation.pl"]').addClass("current");
18
          $('#tools-menu a[href$="/cgi-bin/koha/tools/stockrotation.pl"]').addClass("current");
19
      } else if (path.indexOf("plugins") >= 0 ) {
19
      } else if (path.indexOf("plugins") >= 0 ) {
20
          $('#navmenulist a[href$="/cgi-bin/koha/plugins/plugins-home.pl?method=tool"]').addClass("current");
20
          $('#tools-menu a[href$="/cgi-bin/koha/plugins/plugins-home.pl?method=tool"]').addClass("current");
21
      } else if (path.indexOf("page.pl") >= 0 ) {
21
      } else if (path.indexOf("page.pl") >= 0 ) {
22
          $('#navmenulist a[href$="/cgi-bin/koha/tools/additional-contents.pl?category=pages"]').addClass("current");
22
          $('#tools-menu a[href$="/cgi-bin/koha/tools/additional-contents.pl?category=pages"]').addClass("current");
23
      } else if (path.indexOf("/tags/") >= 0 ) {
24
          $('#tools-menu a[href$="/cgi-bin/koha/tags/review.pl"]').addClass("current");
23
      }
25
      }
24
  });
26
  });
(-)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 194-205 textarea { Link Here
194
.flatpickr-input {
194
.flatpickr-input {
195
    width: 30%;
195
    width: 30%;
196
}
196
}
197
#navmenulist ul li a.current.disabled {
197
.sidebar_menu ul li a.current.disabled {
198
    background-color: inherit;
198
    background-color: inherit;
199
    border-left: 5px solid #e6e6e6;
199
    border-left: 5px solid #e6e6e6;
200
    color: #000;
200
    color: #000;
201
}
201
}
202
#navmenulist ul li a.disabled {
202
.sidebar_menu ul li a.disabled {
203
    color: #666;
203
    color: #666;
204
    pointer-events: none;
204
    pointer-events: none;
205
    font-weight: 700;
205
    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 131-142 textarea { Link Here
131
    width: 30%;
131
    width: 30%;
132
}
132
}
133
133
134
#navmenulist ul li a.current.disabled {
134
.sidebar_menu ul li a.current.disabled {
135
    background-color: inherit;
135
    background-color: inherit;
136
    border-left: 5px solid #e6e6e6;
136
    border-left: 5px solid #e6e6e6;
137
    color: #000;
137
    color: #000;
138
}
138
}
139
#navmenulist ul li a.disabled {
139
.sidebar_menu ul li a.disabled {
140
    color: #666;
140
    color: #666;
141
    pointer-events: none;
141
    pointer-events: none;
142
    font-weight: 700;
142
    font-weight: 700;
(-)a/members/accountline-details.pl (+1 lines)
Lines 60-65 if ($accountline) { Link Here
60
    $template->param(
60
    $template->param(
61
        accountline     => $accountline,
61
        accountline     => $accountline,
62
        account_offsets => $account_offsets,
62
        account_offsets => $account_offsets,
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 292-297 if ( $input->param('error_over') ) { Link Here
292
}
292
}
293
293
294
$template->param(
294
$template->param(
295
    finesview                   => 1,
295
    payment_id                  => $payment_id,
296
    payment_id                  => $payment_id,
296
    type                        => $type,
297
    type                        => $type,
297
    borrowernumber              => $borrowernumber,    # some templates require global
298
    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 51-57 describe("License CRUD operations", () => { Link Here
51
            statusCode: 500,
51
            statusCode: 500,
52
        });
52
        });
53
        cy.visit("/cgi-bin/koha/erm/erm.pl");
53
        cy.visit("/cgi-bin/koha/erm/erm.pl");
54
        cy.get("#navmenulist").contains("Licenses").click();
54
        cy.get(".sidebar_menu").contains("Licenses").click();
55
        cy.get("main div[class='alert alert-warning']").contains(
55
        cy.get("main div[class='alert alert-warning']").contains(
56
            "Something went wrong: Error: Internal Server Error"
56
            "Something went wrong: Error: Internal Server Error"
57
        );
57
        );
(-)a/t/cypress/integration/ERM/Packages_spec.ts (-1 / +1 lines)
Lines 40-46 describe("Package CRUD operations", () => { Link Here
40
            statusCode: 500,
40
            statusCode: 500,
41
        });
41
        });
42
        cy.visit("/cgi-bin/koha/erm/erm.pl");
42
        cy.visit("/cgi-bin/koha/erm/erm.pl");
43
        cy.get("#navmenulist").contains("Packages").click();
43
        cy.get(".sidebar_menu").contains("Packages").click();
44
        cy.get("main div[class='alert alert-warning']").contains(
44
        cy.get("main div[class='alert alert-warning']").contains(
45
            "Something went wrong: Error: Internal Server Error"
45
            "Something went wrong: Error: Internal Server Error"
46
        );
46
        );
(-)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 41-47 Cypress.Commands.add('login', (username, password) => { Link Here
41
})
41
})
42
42
43
Cypress.Commands.add('left_menu_active_item_is', (label) => {
43
Cypress.Commands.add('left_menu_active_item_is', (label) => {
44
    cy.get("#navmenulist a.current:not(.disabled)").should('have.length',1).contains(label);
44
    cy.get(".sidebar_menu a.current:not(.disabled)").should('have.length',1).contains(label);
45
})
45
})
46
const dayjs = require("dayjs") /* Cannot use our calendar JS code, it's in an include file (!)
46
const dayjs = require("dayjs") /* Cannot use our calendar JS code, it's in an include file (!)
47
                                   Also note that moment.js is deprecated */
47
                                   Also note that moment.js is deprecated */
48
- 

Return to bug 37222