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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-menu.inc (-3 / +128 lines)
Lines 1-3 Link Here
1
<ul>
1
[% USE Koha %]
2
	<li><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></li>
2
<div id="navmenu">
3
</ul>
3
    <div id="navmenulist">
4
5
        [% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %]
6
        <h5>Import</h5>
7
        <ul>
8
            [% IF ( CAN_user_tools_stage_marc_import ) %]
9
            <li>
10
                <a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage records for import</a>
11
            </li>
12
            [% END %]
13
            [% IF ( CAN_user_tools_manage_staged_marc ) %]
14
            <li>
15
                <a href="/cgi-bin/koha/tools/manage-marc-import.pl">Manage staged records</a>
16
            </li>
17
            [% END %]
18
        </ul>
19
        [% END %]
20
21
        [% IF ( CAN_user_tools_export_catalog ) %]
22
        <h5>Export</h5>
23
        <ul>
24
            [% IF ( CAN_user_tools_export_catalog ) %]
25
            <li>
26
                <a href="/cgi-bin/koha/tools/export.pl">Export catalog data</a>
27
            </li>
28
            [% END %]
29
        </ul>
30
        [% END %]
31
32
        [% IF ( CAN_user_tools_inventory ) %]
33
        <h5>Reports</h5>
34
        <ul>
35
            [% IF ( CAN_user_tools_inventory ) %]
36
            <li>
37
                <a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a>
38
            </li>
39
            [% END %]
40
        </ul>
41
        [% END %]
42
43
        [% 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 ) %]
44
        <h5>Batch editing</h5>
45
        <ul>
46
            [% IF ( CAN_user_tools_items_batchmod ) %]
47
            <li>
48
                <a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a>
49
            </li>
50
            [% END %]
51
            [% IF ( CAN_user_tools_items_batchdel ) %]
52
            <li>
53
                <a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a>
54
            </li>
55
            [% END %]
56
            [% IF CAN_user_tools_records_batchmod %]
57
            <li>
58
                <a href="/cgi-bin/koha/tools/batch_record_modification.pl">Batch record modification</a>
59
            </li>
60
            [% END %]
61
            [% IF CAN_user_tools_records_batchdel %]
62
            <li>
63
                <a href="/cgi-bin/koha/tools/batch_delete_records.pl">Batch record deletion</a>
64
            </li>
65
            [% END %]
66
            [% IF ( CAN_user_tools_marc_modification_templates ) %]
67
            <li>
68
                <a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a>
69
            </li>
70
            [% END %]
71
        </ul>
72
        [% END %]
73
74
        [% IF ( CAN_user_tools_items_batchmod || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) ) %]
75
        <h5>Automation</h5>
76
        <ul>
77
            [% IF ( CAN_user_tools_items_batchmod ) %]
78
            <li>
79
                <a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">Item modifications by age</a>
80
            </li>
81
            [% END %]
82
            [% IF ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) %]
83
            <li>
84
                <a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a>
85
            </li>
86
            [% END %]
87
        </ul>
88
        [% END %]
89
90
        [% IF ( CAN_user_tools_label_creator || CAN_user_tools_upload_local_cover_images ) %]
91
        <h5>Tools</h5>
92
        <ul>
93
            [% IF ( CAN_user_tools_label_creator ) %]
94
            <li>
95
                <a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a>
96
            </li>
97
            <li>
98
                <a href="/cgi-bin/koha/labels/barcode-print.pl">Barcode image generator</a>
99
            </li>
100
            <li>
101
                <a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a>
102
            </li>
103
            [% END %]
104
105
            [% IF ( CAN_user_tools_upload_local_cover_images ) %]
106
            <li>
107
                <a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a>
108
            </li>
109
            [% END %]
110
        </ul>
111
        [% END %]
112
113
        [% IF ( CAN_user_parameters ) %]
114
        <h5>Administration</h5>
115
        <ul>
116
            [% IF ( CAN_user_parameters_manage_sysprefs ) %]
117
            <li>
118
                <a class="circ-button" href="/cgi-bin/koha/admin/preferences.pl?tab=cataloguing">Preferences</a>
119
            </li>
120
            [% END %]
121
            <li>
122
                <a class="circ-button" href="/cgi-bin/koha/admin/admin-home.pl">Configuration</a>
123
            </li>
124
        </ul>
125
        [% END %]
126
127
    </div>
128
</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc (-53 / +7 lines)
Lines 1-11 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% USE Branches %]
3
[% USE Registers %]
2
4
3
<div id="navmenu">
5
<div id="navmenu">
4
    <div id="navmenulist">
6
    <div id="navmenulist">
5
        <ul>
7
        <ul>
6
            <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
8
            <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
7
        </ul>
9
        </ul>
8
        [% 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') ) ) %]
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 ) %]
9
            <h5>Patrons and circulation</h5>
11
            <h5>Patrons and circulation</h5>
10
            <ul>
12
            <ul>
11
                [% IF ( CAN_user_tools_manage_patron_lists ) %]
13
                [% IF ( CAN_user_tools_manage_patron_lists ) %]
Lines 44-103 Link Here
44
                [% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %]
46
                [% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %]
45
                    <li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
47
                    <li><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></li>
46
                [% END %]
48
                [% END %]
47
            </ul>
48
        [% END # /IF ( CAN_user_tools_manage_patron_lists... %]
49
50
        [% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel  || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory  || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
51
            <h5>Catalog</h5>
52
            <ul>
53
                [% IF ( CAN_user_tools_items_batchdel ) %]
54
                    <li><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></li>
55
                [% END %]
56
                [% IF ( CAN_user_tools_items_batchmod ) %]
57
                    <li><a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a></li>
58
                [% END %]
59
                [% IF CAN_user_tools_records_batchdel %]
60
                    <li><a href="/cgi-bin/koha/tools/batch_delete_records.pl">Batch record deletion</a></li>
61
                [% END %]
62
                [% IF CAN_user_tools_records_batchmod %]
63
                    <li><a href="/cgi-bin/koha/tools/batch_record_modification.pl">Batch record modification</a></li>
64
                [% END %]
65
                [% IF CAN_user_tools_items_batchmod %]
66
                    <li><a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">Automatic item modifications by age</a></li>
67
                [% END %]
68
                [% IF ( CAN_user_tools_export_catalog ) %]
69
                    <li><a href="/cgi-bin/koha/tools/export.pl">Export data</a></li>
70
                [% END %]
71
                [% IF ( CAN_user_tools_inventory ) %]
72
                    <li><a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a></li>
73
                [% END %]
74
                [% IF ( CAN_user_tools_label_creator ) %]
75
                    <li><a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a></li>
76
                    <li><a href="/cgi-bin/koha/labels/barcode-print.pl">Barcode image generator</a></li>
77
                    <li><a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a></li>
78
                [% END %]
79
                [% IF ( CAN_user_tools_rotating_collections ) %]
49
                [% IF ( CAN_user_tools_rotating_collections ) %]
80
                    <li><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></li>
50
                    <li><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></li>
81
                [% END %]
51
                [% END %]
82
                [% IF ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) %]
83
                    <li><a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a></li>
84
                [% END %]
85
                [% IF ( CAN_user_tools_marc_modification_templates ) %]
86
                    <li><a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a></li>
87
                [% END %]
88
                [% IF ( CAN_user_tools_stage_marc_import ) %]
89
                    <li><a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC for import</a></li>
90
                [% END %]
91
                [% IF ( CAN_user_tools_manage_staged_marc ) %]
92
                    <li><a href="/cgi-bin/koha/tools/manage-marc-import.pl">Staged MARC management</a></li>
93
                [% END %]
94
                [% IF ( CAN_user_tools_upload_local_cover_images ) %]
95
                    <li><a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a></li>
96
                [% END %]
97
            </ul>
52
            </ul>
98
        [% END # /IF ( CAN_user_tools_items_batchdel... %]
53
        [% END # /IF ( CAN_user_tools_items_batchdel... %]
99
54
100
        [% 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 || ( plugins_enabled && CAN_user_plugins_tool )  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
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 ) %]
101
            <h5>Additional tools</h5>
56
            <h5>Additional tools</h5>
102
            <ul>
57
            <ul>
103
                [% IF ( CAN_user_tools_edit_calendar ) %]
58
                [% IF ( CAN_user_tools_edit_calendar ) %]
Lines 134-146 Link Here
134
                [% END %]
89
                [% END %]
135
            </ul>
90
            </ul>
136
        [% END # /IF ( CAN_user_tools_edit_calendar... %]
91
        [% END # /IF ( CAN_user_tools_edit_calendar... %]
137
138
        [% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
92
        [% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
139
            <h5>Cash management</h5>
93
            <h5>Cash management</h5>
140
            <ul>
94
            <ul>
141
                <li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary</a></li>
95
                <li><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></li>
142
                <li><a href="/cgi-bin/koha/pos/register.pl">Transaction history</a></li>
96
                <li><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></li>
143
            </ul>
97
            </ul>
144
        [% END # /IF ( Koha.Preference('UseCashRegisters')... %]
98
        [% END %]
145
    </div> <!-- /#navmenulist -->
99
    </div> <!-- /#navmenulist -->
146
</div> <!-- /#navmenu -->
100
</div> <!-- /#navmenu -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/barcode-print.tt (-2 / +1 lines)
Lines 129-141 Link Here
129
129
130
        <div class="col-sm-2 col-sm-pull-10">
130
        <div class="col-sm-2 col-sm-pull-10">
131
            <aside>
131
            <aside>
132
                [% INCLUDE 'tools-menu.inc' %]
132
                [% INCLUDE 'cat-menu.inc' %]
133
            </aside>
133
            </aside>
134
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
134
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
135
     </div> <!-- /.row -->
135
     </div> <!-- /.row -->
136
136
137
[% MACRO jsinclude BLOCK %]
137
[% MACRO jsinclude BLOCK %]
138
    [% Asset.js("js/tools-menu.js") | $raw %]
139
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
138
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
140
    <script>
139
    <script>
141
        var base_url = "[% Koha.Preference('staffClientBaseURL') | html %]";
140
        var base_url = "[% Koha.Preference('staffClientBaseURL') | html %]";
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-batch.tt (-3 / +3 lines)
Lines 200-212 Link Here
200
200
201
        <div class="col-sm-2 col-sm-pull-10">
201
        <div class="col-sm-2 col-sm-pull-10">
202
            <aside>
202
            <aside>
203
                [% INCLUDE 'tools-menu.inc' %]
203
                [% INCLUDE 'cat-menu.inc' %]
204
            </aside>
204
            </aside>
205
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
205
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
206
     </div> <!-- /.row -->
206
     </div> <!-- /.row -->
207
207
208
[% MACRO jsinclude BLOCK %]
208
[% MACRO jsinclude BLOCK %]
209
    [% Asset.js("js/tools-menu.js") | $raw %]
210
    [% INCLUDE 'greybox.inc' %]
209
    [% INCLUDE 'greybox.inc' %]
211
    [% INCLUDE 'datatables.inc' %]
210
    [% INCLUDE 'datatables.inc' %]
212
    <script>
211
    <script>
Lines 322-328 Link Here
322
            return (-1);
321
            return (-1);
323
        }
322
        }
324
323
325
         $(document).ready(function() {
324
        $(document).ready(function() {
325
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
326
            [% IF table_loop %]
326
            [% IF table_loop %]
327
                $("#description").show();
327
                $("#description").show();
328
            [% ELSE %]
328
            [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-layout.tt (-2 / +2 lines)
Lines 216-230 Link Here
216
216
217
        <div class="col-sm-2 col-sm-pull-10">
217
        <div class="col-sm-2 col-sm-pull-10">
218
            <aside>
218
            <aside>
219
                [% INCLUDE 'tools-menu.inc' %]
219
                [% INCLUDE 'cat-menu.inc' %]
220
            </aside>
220
            </aside>
221
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
221
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
222
     </div> <!-- /.row -->
222
     </div> <!-- /.row -->
223
223
224
[% MACRO jsinclude BLOCK %]
224
[% MACRO jsinclude BLOCK %]
225
    [% Asset.js("js/tools-menu.js") | $raw %]
226
    <script>
225
    <script>
227
        $(document).ready(function() {
226
        $(document).ready(function() {
227
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
228
            $("input[name='layout_choice']").change( function() { layout_method() } );
228
            $("input[name='layout_choice']").change( function() { layout_method() } );
229
            layout_method();
229
            layout_method();
230
            $("#font").on("change",function(){
230
            $("#font").on("change",function(){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-profile.tt (-2 / +2 lines)
Lines 140-154 Link Here
140
140
141
        <div class="col-sm-2 col-sm-pull-10">
141
        <div class="col-sm-2 col-sm-pull-10">
142
            <aside>
142
            <aside>
143
                [% INCLUDE 'tools-menu.inc' %]
143
                [% INCLUDE 'cat-menu.inc' %]
144
            </aside>
144
            </aside>
145
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
145
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
146
     </div> <!-- /.row -->
146
     </div> <!-- /.row -->
147
147
148
[% MACRO jsinclude BLOCK %]
148
[% MACRO jsinclude BLOCK %]
149
    [% Asset.js("js/tools-menu.js") | $raw %]
150
    <script>
149
    <script>
151
        $(document).ready(function(){
150
        $(document).ready(function(){
151
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
152
            var selectedUnit = $("#units option:selected").attr("value");
152
            var selectedUnit = $("#units option:selected").attr("value");
153
            var unitfields = $("#offset_horz,#offset_vert,#creep_horz,#creep_vert");
153
            var unitfields = $("#offset_horz,#offset_vert,#creep_horz,#creep_vert");
154
            $(unitfields).after("<span class=\"unit\">"+getUnit(selectedUnit)+"</span>");
154
            $(unitfields).after("<span class=\"unit\">"+getUnit(selectedUnit)+"</span>");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-range.tt (-2 / +2 lines)
Lines 59-72 Link Here
59
59
60
            <div class="col-sm-2 col-sm-pull-10">
60
            <div class="col-sm-2 col-sm-pull-10">
61
                <aside>
61
                <aside>
62
                    [% INCLUDE 'tools-menu.inc' %]
62
                    [% INCLUDE 'cat-menu.inc' %]
63
                </aside>
63
                </aside>
64
            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
64
            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
65
        </div> <!-- /.row -->
65
        </div> <!-- /.row -->
66
    </div> <!-- /.main.container-fluid -->
66
    </div> <!-- /.main.container-fluid -->
67
67
68
[% MACRO jsinclude BLOCK %]
68
[% MACRO jsinclude BLOCK %]
69
    [% Asset.js("js/tools-menu.js") | $raw %]
70
    <script>
69
    <script>
71
        function Xport() {
70
        function Xport() {
72
            var str = "";
71
            var str = "";
Lines 104-109 Link Here
104
            }
103
            }
105
104
106
        $(document).ready(function () {
105
        $(document).ready(function () {
106
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
107
            $.validator.addMethod("gt", function(value, element, params) {
107
            $.validator.addMethod("gt", function(value, element, params) {
108
                return parseInt(value) >= parseInt($(params).val());
108
                return parseInt(value) >= parseInt($(params).val());
109
            }, _("Must be greater or equal to the from value."));
109
            }, _("Must be greater or equal to the from value."));
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-edit-template.tt (-2 / +2 lines)
Lines 185-199 Link Here
185
185
186
        <div class="col-sm-2 col-sm-pull-10">
186
        <div class="col-sm-2 col-sm-pull-10">
187
            <aside>
187
            <aside>
188
                [% INCLUDE 'tools-menu.inc' %]
188
                [% INCLUDE 'cat-menu.inc' %]
189
            </aside>
189
            </aside>
190
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
190
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
191
     </div> <!-- /.row -->
191
     </div> <!-- /.row -->
192
192
193
[% MACRO jsinclude BLOCK %]
193
[% MACRO jsinclude BLOCK %]
194
    [% Asset.js("js/tools-menu.js") | $raw %]
195
    <script>
194
    <script>
196
        $(document).ready(function(){
195
        $(document).ready(function(){
196
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
197
            var selectedUnit = $("#units option:selected").attr("value");
197
            var selectedUnit = $("#units option:selected").attr("value");
198
            var unitfields = $("#page_height,#page_width,#label_width,#label_height,#top_margin,#left_margin,#top_text_margin,#left_text_margin,#col_gap,#row_gap");
198
            var unitfields = $("#page_height,#page_width,#label_width,#label_height,#top_margin,#left_margin,#top_text_margin,#left_text_margin,#col_gap,#row_gap");
199
            $(unitfields).after("<span class=\"unit\">"+getUnit(selectedUnit)+"</span>");
199
            $(unitfields).after("<span class=\"unit\">"+getUnit(selectedUnit)+"</span>");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-home.tt (-5 / +1 lines)
Lines 39-51 Link Here
39
39
40
        <div class="col-sm-2 col-sm-pull-10">
40
        <div class="col-sm-2 col-sm-pull-10">
41
            <aside>
41
            <aside>
42
                [% INCLUDE 'tools-menu.inc' %]
42
                [% INCLUDE 'cat-menu.inc' %]
43
            </aside>
43
            </aside>
44
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
44
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
45
     </div> <!-- /.row -->
45
     </div> <!-- /.row -->
46
46
47
[% MACRO jsinclude BLOCK %]
48
    [% Asset.js("js/tools-menu.js") | $raw %]
49
[% END %]
50
51
[% INCLUDE 'intranet-bottom.inc' %]
47
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-manage.tt (-2 / +2 lines)
Lines 133-145 Link Here
133
133
134
        <div class="col-sm-2 col-sm-pull-10">
134
        <div class="col-sm-2 col-sm-pull-10">
135
            <aside>
135
            <aside>
136
                [% INCLUDE 'tools-menu.inc' %]
136
                [% INCLUDE 'cat-menu.inc' %]
137
            </aside>
137
            </aside>
138
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
138
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
139
     </div> <!-- /.row -->
139
     </div> <!-- /.row -->
140
140
141
[% MACRO jsinclude BLOCK %]
141
[% MACRO jsinclude BLOCK %]
142
    [% Asset.js("js/tools-menu.js") | $raw %]
143
    [% INCLUDE 'greybox.inc' %]
142
    [% INCLUDE 'greybox.inc' %]
144
    [% INCLUDE 'datatables.inc' %]
143
    [% INCLUDE 'datatables.inc' %]
145
    <script>
144
    <script>
Lines 191-196 Link Here
191
            return (-1);
190
            return (-1);
192
        }
191
        }
193
        $(document).ready(function(){
192
        $(document).ready(function(){
193
            $('#navmenulist a[href$="/cgi-bin/koha/labels/label-home.pl"]').addClass("current");
194
            $("#print").click(function(e){
194
            $("#print").click(function(e){
195
                e.preventDefault();
195
                e.preventDefault();
196
                Xport();
196
                Xport();
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/spinelabel-home.tt (-2 / +1 lines)
Lines 50-62 Link Here
50
50
51
        <div class="col-sm-2 col-sm-pull-10">
51
        <div class="col-sm-2 col-sm-pull-10">
52
            <aside>
52
            <aside>
53
                [% INCLUDE 'tools-menu.inc' %]
53
                [% INCLUDE 'cat-menu.inc' %]
54
            </aside>
54
            </aside>
55
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
55
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
56
     </div> <!-- /.row -->
56
     </div> <!-- /.row -->
57
57
58
[% MACRO jsinclude BLOCK %]
58
[% MACRO jsinclude BLOCK %]
59
    [% Asset.js("js/tools-menu.js") | $raw %]
60
    <script>
59
    <script>
61
        $(document).ready(function(){
60
        $(document).ready(function(){
62
            $("#spinelabelprint").on("submit", function(e){
61
            $("#spinelabelprint").on("submit", function(e){
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt (-2 / +1 lines)
Lines 277-289 Link Here
277
277
278
        <div class="col-sm-2 col-sm-pull-10">
278
        <div class="col-sm-2 col-sm-pull-10">
279
            <aside>
279
            <aside>
280
                [% INCLUDE 'tools-menu.inc' %]
280
                [% INCLUDE 'cat-menu.inc' %]
281
            </aside>
281
            </aside>
282
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
282
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
283
     </div> <!-- /.row -->
283
     </div> <!-- /.row -->
284
284
285
[% MACRO jsinclude BLOCK %]
285
[% MACRO jsinclude BLOCK %]
286
    [% Asset.js("js/tools-menu.js") | $raw %]
287
    [% Asset.js("lib/hc-sticky.js") | $raw %]
286
    [% Asset.js("lib/hc-sticky.js") | $raw %]
288
    [% Asset.js("js/automatic_item_modification_by_age.js") | $raw %]
287
    [% Asset.js("js/automatic_item_modification_by_age.js") | $raw %]
289
    [% IF op == 'edit_form' %]
288
    [% IF op == 'edit_form' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt (-5 / +1 lines)
Lines 93-105 Link Here
93
93
94
        <div class="col-sm-2 col-sm-pull-10">
94
        <div class="col-sm-2 col-sm-pull-10">
95
            <aside>
95
            <aside>
96
                [% INCLUDE 'tools-menu.inc' %]
96
                [% INCLUDE 'cat-menu.inc' %]
97
            </aside>
97
            </aside>
98
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
98
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
99
     </div> <!-- /.row -->
99
     </div> <!-- /.row -->
100
100
101
[% MACRO jsinclude BLOCK %]
102
    [% Asset.js("js/tools-menu.js") | $raw %]
103
[% END %]
104
105
[% INCLUDE 'intranet-bottom.inc' %]
101
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt (-2 / +1 lines)
Lines 227-239 Link Here
227
227
228
        <div class="col-sm-2 col-sm-pull-10">
228
        <div class="col-sm-2 col-sm-pull-10">
229
            <aside>
229
            <aside>
230
                [% INCLUDE 'tools-menu.inc' %]
230
                [% INCLUDE 'cat-menu.inc' %]
231
            </aside>
231
            </aside>
232
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
232
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
233
     </div> <!-- /.row -->
233
     </div> <!-- /.row -->
234
234
235
[% MACRO jsinclude BLOCK %]
235
[% MACRO jsinclude BLOCK %]
236
    [% Asset.js("js/tools-menu.js") | $raw %]
237
    [% INCLUDE 'datatables.inc' %]
236
    [% INCLUDE 'datatables.inc' %]
238
    <script>
237
    <script>
239
        var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently checked out.");
238
        var MSG_CANNOT_BE_DELETED = _("This record cannot be deleted, at least one item is currently checked out.");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-2 / +1 lines)
Lines 276-288 Link Here
276
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
276
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
277
            <div class="col-sm-2 col-sm-pull-10">
277
            <div class="col-sm-2 col-sm-pull-10">
278
                <aside>
278
                <aside>
279
                    [% INCLUDE 'tools-menu.inc' %]
279
                    [% INCLUDE 'cat-menu.inc' %]
280
                </aside>
280
                </aside>
281
            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
281
            </div> <!-- /.col-sm-2.col-sm-pull-10 -->
282
        </div> <!-- /.row -->
282
        </div> <!-- /.row -->
283
283
284
[% MACRO jsinclude BLOCK %]
284
[% MACRO jsinclude BLOCK %]
285
    [% Asset.js("js/tools-menu.js") | $raw %]
286
    [% INCLUDE 'datatables.inc' %]
285
    [% INCLUDE 'datatables.inc' %]
287
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
286
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
288
    [% Asset.js("js/background-job-progressbar.js") | $raw %]
287
    [% Asset.js("js/background-job-progressbar.js") | $raw %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt (-2 / +1 lines)
Lines 314-326 Link Here
314
314
315
        <div class="col-sm-2 col-sm-pull-10">
315
        <div class="col-sm-2 col-sm-pull-10">
316
            <aside>
316
            <aside>
317
                [% INCLUDE 'tools-menu.inc' %]
317
                [% INCLUDE 'cat-menu.inc' %]
318
            </aside>
318
            </aside>
319
        </div> <!-- .col-sm-2.col-sm-pull-10 -->
319
        </div> <!-- .col-sm-2.col-sm-pull-10 -->
320
     </div> <!-- /.row -->
320
     </div> <!-- /.row -->
321
321
322
[% MACRO jsinclude BLOCK %]
322
[% MACRO jsinclude BLOCK %]
323
    [% Asset.js("js/tools-menu.js") | $raw %]
324
    [% INCLUDE 'calendar.inc' %]
323
    [% INCLUDE 'calendar.inc' %]
325
    <script>
324
    <script>
326
        $(document).ready(function() {
325
        $(document).ready(function() {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-2 / +1 lines)
Lines 352-364 Link Here
352
352
353
        <div class="col-sm-2 col-sm-pull-10">
353
        <div class="col-sm-2 col-sm-pull-10">
354
            <aside>
354
            <aside>
355
                [% INCLUDE 'tools-menu.inc' %]
355
                [% INCLUDE 'cat-menu.inc' %]
356
            </aside>
356
            </aside>
357
        </div> <!-- .col-sm-2.col-sm-pull-10 -->
357
        </div> <!-- .col-sm-2.col-sm-pull-10 -->
358
     </div> <!-- /.row -->
358
     </div> <!-- /.row -->
359
359
360
[% MACRO jsinclude BLOCK %]
360
[% MACRO jsinclude BLOCK %]
361
    [% Asset.js("js/tools-menu.js") | $raw %]
362
    [% INCLUDE 'datatables.inc' %]
361
    [% INCLUDE 'datatables.inc' %]
363
    [% INCLUDE 'calendar.inc' %]
362
    [% INCLUDE 'calendar.inc' %]
364
    <script>
363
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-2 / +1 lines)
Lines 415-427 Link Here
415
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
415
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
416
            <div class="col-sm-2 col-sm-pull-10">
416
            <div class="col-sm-2 col-sm-pull-10">
417
                <aside>
417
                <aside>
418
                    [% INCLUDE 'tools-menu.inc' %]
418
                    [% INCLUDE 'cat-menu.inc' %]
419
                </aside>
419
                </aside>
420
            </div> <!-- .col-sm-2.col-sm-pull-10 -->
420
            </div> <!-- .col-sm-2.col-sm-pull-10 -->
421
        </div> <!-- /.row -->
421
        </div> <!-- /.row -->
422
422
423
[% MACRO jsinclude BLOCK %]
423
[% MACRO jsinclude BLOCK %]
424
    [% Asset.js("js/tools-menu.js") | $raw %]
425
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
424
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
426
    [% INCLUDE 'datatables.inc' %]
425
    [% INCLUDE 'datatables.inc' %]
427
    <script>
426
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt (-2 / +1 lines)
Lines 352-364 Link Here
352
352
353
        <div class="col-sm-2 col-sm-pull-10">
353
        <div class="col-sm-2 col-sm-pull-10">
354
            <aside>
354
            <aside>
355
                [% INCLUDE 'tools-menu.inc' %]
355
                [% INCLUDE 'cat-menu.inc' %]
356
            </aside>
356
            </aside>
357
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
357
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
358
     </div> <!-- /.row -->
358
     </div> <!-- /.row -->
359
359
360
[% MACRO jsinclude BLOCK %]
360
[% MACRO jsinclude BLOCK %]
361
    [% Asset.js("js/tools-menu.js") | $raw %]
362
    [% INCLUDE 'datatables.inc' %]
361
    [% INCLUDE 'datatables.inc' %]
363
    [% INCLUDE 'columns_settings.inc' %]
362
    [% INCLUDE 'columns_settings.inc' %]
364
    <script>
363
    <script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt (-2 / +1 lines)
Lines 253-265 Link Here
253
253
254
        <div class="col-sm-2 col-sm-pull-10">
254
        <div class="col-sm-2 col-sm-pull-10">
255
            <aside>
255
            <aside>
256
                [% INCLUDE 'tools-menu.inc' %]
256
                [% INCLUDE 'cat-menu.inc' %]
257
            </aside>
257
            </aside>
258
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
258
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
259
     </div> <!-- /.row -->
259
     </div> <!-- /.row -->
260
260
261
[% MACRO jsinclude BLOCK %]
261
[% MACRO jsinclude BLOCK %]
262
    [% Asset.js("js/tools-menu.js") | $raw %]
263
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
262
    [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %]
264
    [% Asset.js("js/file-upload.js") | $raw %]
263
    [% Asset.js("js/file-upload.js") | $raw %]
265
264
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-2 / +1 lines)
Lines 607-619 Link Here
607
                        </ul>
607
                        </ul>
608
                    </div>
608
                    </div>
609
                [% END %]
609
                [% END %]
610
                [% INCLUDE 'tools-menu.inc' %]
610
                [% INCLUDE 'cat-menu.inc' %]
611
            </aside>
611
            </aside>
612
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
612
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
613
    </div> <!-- /.row -->
613
    </div> <!-- /.row -->
614
614
615
[% MACRO jsinclude BLOCK %]
615
[% MACRO jsinclude BLOCK %]
616
    [% Asset.js("js/tools-menu.js") | $raw %]
617
    [% INCLUDE 'datatables.inc' %]
616
    [% INCLUDE 'datatables.inc' %]
618
    [% INCLUDE 'columns_settings.inc' %]
617
    [% INCLUDE 'columns_settings.inc' %]
619
    [% Asset.js("js/pages/stockrotation.js") | $raw %]
618
    [% Asset.js("js/pages/stockrotation.js") | $raw %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt (-3 / +1 lines)
Lines 301-313 Link Here
301
301
302
        <div class="col-sm-2 col-sm-pull-10">
302
        <div class="col-sm-2 col-sm-pull-10">
303
            <aside>
303
            <aside>
304
                [% INCLUDE 'tools-menu.inc' %]
304
                [% INCLUDE 'cat-menu.inc' %]
305
            </aside>
305
            </aside>
306
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
306
        </div> <!-- /.col-sm-2.col-sm-pull-10 -->
307
     </div> <!-- /.row -->
307
     </div> <!-- /.row -->
308
308
309
[% MACRO jsinclude BLOCK %]
309
[% MACRO jsinclude BLOCK %]
310
    [% Asset.js("js/tools-menu.js") | $raw %]
311
    <script>
310
    <script>
312
        var interface = "[% interface | html %]";
311
        var interface = "[% interface | html %]";
313
        var theme = "[% theme | html %]";
312
        var theme = "[% theme | html %]";
314
- 

Return to bug 12446