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

(-)a/Koha/Manual.pm (+1 lines)
Lines 122-127 our $mapping = { Link Here
122
    'catalogue/moredetail'                     => '/cataloging.html#item-records',
122
    'catalogue/moredetail'                     => '/cataloging.html#item-records',
123
    'catalogue/search-history'                 => '/plugins.html#search-history',
123
    'catalogue/search-history'                 => '/plugins.html#search-history',
124
    'catalogue/search'                         => '/searching.html',
124
    'catalogue/search'                         => '/searching.html',
125
    'cataloguing/cataloging-home'              => '/cataloging.html',
125
    'cataloguing/addbiblio'                    => '/cataloging.html#bibliographic-records',
126
    'cataloguing/addbiblio'                    => '/cataloging.html#bibliographic-records',
126
    'cataloguing/addbooks'                     => '/cataloging.html',
127
    'cataloguing/addbooks'                     => '/cataloging.html',
127
    'cataloguing/additem'                      => '/cataloging.html#item-records',
128
    'cataloguing/additem'                      => '/cataloging.html#item-records',
(-)a/cataloguing/cataloging-home.pl (+52 lines)
Line 0 Link Here
1
#!/usr/bin/perl
2
3
# This file is part of Koha.
4
#
5
# Koha is free software; you can redistribute it and/or modify it
6
# under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 3 of the License, or
8
# (at your option) any later version.
9
#
10
# Koha is distributed in the hope that it will be useful, but
11
# WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with Koha; if not, see <http://www.gnu.org/licenses>.
17
#
18
19
use Modern::Perl;
20
use CGI qw ( -utf8 );
21
use C4::Auth qw( get_template_and_user );
22
use C4::Output qw( output_html_with_http_headers );
23
use C4::Context;
24
25
use Koha::BiblioFrameworks;
26
use Koha::Z3950Servers;
27
28
my $query = CGI->new;
29
my ($template, $loggedinuser, $cookie, $flags) = get_template_and_user(
30
    {
31
        template_name   => "cataloguing/cataloging-home.tt",
32
        query           => $query,
33
        type            => "intranet",
34
        flagsrequired   => { editcatalogue => '*' },
35
    }
36
);
37
38
my $servers = Koha::Z3950Servers->search(
39
    {
40
        recordtype => 'biblio',
41
        servertype => ['zed','sru'],
42
    }
43
);
44
45
my $frameworks = Koha::BiblioFrameworks->search({}, { order_by => ['frameworktext'] });
46
47
$template->param(
48
    servers           => $servers,
49
    frameworks        => $frameworks
50
);
51
52
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc (-1 / +1 lines)
Lines 31-37 Link Here
31
                <ul class="dropdown-menu dropdown-menu-right">
31
                <ul class="dropdown-menu dropdown-menu-right">
32
                    <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></li>
32
                    <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a></li>
33
                    [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
33
                    [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
34
                        <li><a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a></li>
34
                        <li><a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a></li>
35
                    [% END %]
35
                    [% END %]
36
                    [% IF ( CAN_user_acquisition ) %]
36
                    [% IF ( CAN_user_acquisition ) %]
37
                        <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></li>
37
                        <li><a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +2 lines)
Lines 804-810 function PopupMARCFieldDoc(field) { Link Here
804
                <a href="/cgi-bin/koha/mainpage.pl">Home</a>
804
                <a href="/cgi-bin/koha/mainpage.pl">Home</a>
805
            </li>
805
            </li>
806
            <li>
806
            <li>
807
                <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
807
                <a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a>
808
            </li>
808
            </li>
809
            <li>
809
            <li>
810
                <a href="#" aria-current="page">
810
                <a href="#" aria-current="page">
Lines 953-959 function PopupMARCFieldDoc(field) { Link Here
953
                            </div>
953
                            </div>
954
                        [% ELSE %]
954
                        [% ELSE %]
955
                            <div class="btn-group">
955
                            <div class="btn-group">
956
                                <a class="btn btn-link" id="cancel" href="/cgi-bin/koha/cataloguing/addbooks.pl">Cancel</a>
956
                                <a class="btn btn-link" id="cancel" href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cancel</a>
957
                            </div>
957
                            </div>
958
                        [% END %]
958
                        [% END %]
959
                        <div id="show-errors" class="btn-group"></div>
959
                        <div id="show-errors" class="btn-group"></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbooks.tt (-1 / +1 lines)
Lines 21-27 Link Here
21
        </li>
21
        </li>
22
        [% IF ( total || breeding_loop ) %]
22
        [% IF ( total || breeding_loop ) %]
23
            <li>
23
            <li>
24
                <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
24
                <a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a>
25
            </li>
25
            </li>
26
            <li>
26
            <li>
27
                <a href="#" aria-current="page">Search results</a>
27
                <a href="#" aria-current="page">Search results</a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt (-1 / +1 lines)
Lines 41-47 Link Here
41
          <a href="/cgi-bin/koha/mainpage.pl">Home</a>
41
          <a href="/cgi-bin/koha/mainpage.pl">Home</a>
42
        </li>
42
        </li>
43
        <li>
43
        <li>
44
            <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
44
            <a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a>
45
        </li>
45
        </li>
46
        <li>
46
        <li>
47
            <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblio.biblionumber | uri %]">Edit <em>[% biblio.title | html %] [% IF ( biblio.author ) %] by [% biblio.author | html %][% END %] (Record #[% biblio.biblionumber | html %])</em></a>
47
            <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblio.biblionumber | uri %]">Edit <em>[% biblio.title | html %] [% IF ( biblio.author ) %] by [% biblio.author | html %][% END %] (Record #[% biblio.biblionumber | html %])</em></a>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/cataloging-home.tt (+245 lines)
Line 0 Link Here
1
[% USE raw %]
2
[% USE Koha %]
3
[% USE Branches %]
4
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>Cataloging &rsaquo; Koha</title>
7
[% INCLUDE 'doc-head-close.inc' %]
8
</head>
9
10
<body id="cat_cataloging-home" class="cat">
11
    [% INCLUDE 'header.inc' %]
12
    [% INCLUDE 'cataloging-search.inc' %]
13
14
    <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
15
        <ol>
16
            <li>
17
                <a href="/cgi-bin/koha/mainpage.pl">Home</a>
18
            </li>
19
            <li>
20
                <a href="#" aria-current="page">Cataloging</a>
21
            </li>
22
        </ol>
23
    </nav>
24
25
    <div class="main container-fluid">
26
        <div class="row">
27
            <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
28
                [% IF ( CAN_user_editcatalogue_edit_catalogue ) %]
29
                <div id="toolbar" class="btn-toolbar">
30
                    [% IF Koha.Preference( 'EnableAdvancedCatalogingEditor' ) == 1 && CAN_user_editcatalogue_advanced_editor %]
31
                        <a id="useadvanced" href="/cgi-bin/koha/cataloguing/editor.pl" class="btn btn-default"><i class="fa fa-pencil"></i> Advanced editor</a>
32
                    [% END %]
33
                    <div class="btn-group">
34
                        <button class="btn btn-default" id="newRecord"><i class="fa fa-plus"></i> New record</button>
35
                        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
36
                        <ul class="dropdown-menu">
37
                            <li><a id="newRecordDefault" href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=">Default framework</a></li>
38
                            [% FOREACH framework IN frameworks %]
39
                            <li><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=[% framework.frameworkcode | uri %]">[% framework.frameworktext | html %]</a></li>
40
                            [% END %]
41
                        </ul>
42
                    </div>
43
                    [% IF servers.count > 0 %]
44
                    <div class="btn-group">
45
                        <button class="btn btn-default" id="z3950search"><i class="fa fa-search"></i> New from Z39.50/SRU</button>
46
                        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>
47
                        <ul class="dropdown-menu">
48
                            <li id="Default" class="z3950searchFw"><a href="#">Default framework</a></li>
49
                            [% FOREACH framework IN frameworks %]
50
                            <li id="[% framework.frameworkcode | html %]" class="z3950searchFw"><a href="#">[% framework.frameworktext | html %]</a></li>
51
                            [% END %]
52
                        </ul>
53
                    </div>
54
                    [% END # /IF servers.count %]
55
                </div> <!-- /#toolbar -->
56
                [% END # /IF CAN_user_editcatalogue_edit_catalogue %]
57
58
                <h1>Cataloging</h1>
59
60
                <div class="row">
61
62
                    <div class="col-sm-4 col-md-4">
63
                        [% IF ( CAN_user_tools_stage_marc_import || CAN_user_tools_manage_staged_marc ) %]
64
                        <h3>Import</h3>
65
                        <ul class="buttons-list">
66
                            [% IF ( CAN_user_tools_stage_marc_import ) %]
67
                            <li>
68
                                <a class="circ-button" href="/cgi-bin/koha/tools/stage-marc-import.pl"><i class="fa fa-download"></i> Stage records for import</a>
69
                            </li>
70
                            [% END %]
71
72
                            [% IF ( CAN_user_tools_manage_staged_marc ) %]
73
                            <li>
74
                                <a class="circ-button" href="/cgi-bin/koha/tools/manage-marc-import.pl"><i class="fa fa-tasks"></i> Manage staged records</a>
75
                            </li>
76
                            [% END %]
77
                        </ul>
78
                        [% END %]
79
80
                        [% IF ( CAN_user_tools_export_catalog ) %]
81
                        <h3>Export</h3>
82
                        <ul class="buttons-list">
83
                            [% IF ( CAN_user_tools_export_catalog ) %]
84
                            <li>
85
                                <a class="circ-button" href="/cgi-bin/koha/tools/export.pl"><i class="fa fa-upload"></i> Export catalog data</a>
86
                            </li>
87
                            [% END %]
88
                        </ul>
89
                        [% END %]
90
91
                        [% IF ( CAN_user_tools_inventory ) %]
92
                        <h3>Reports</h3>
93
                        <ul class="buttons-list">
94
                            [% IF ( CAN_user_tools_inventory ) %]
95
                            <li>
96
                                <a class="circ-button" href="/cgi-bin/koha/tools/inventory.pl"><i class="fa fa-line-chart"></i> Inventory</a>
97
                            </li>
98
                            [% END %]
99
                        </ul>
100
                        [% END %]
101
102
                    </div>
103
104
                    <div class="col-sm-4 col-md-4">
105
106
                        [% 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 ) %]
107
                        <h3>Batch editing</h3>
108
                        <ul class="buttons-list">
109
                            [% IF ( CAN_user_tools_items_batchmod ) %]
110
                            <li>
111
                                <a class="circ-button" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-pencil"></i> Batch item modification</a>
112
                            </li>
113
                            [% END %]
114
                            [% IF ( CAN_user_tools_items_batchdel ) %]
115
                            <li>
116
                                <a class="circ-button" href="/cgi-bin/koha/tools/batchMod.pl?del=1"><i class="fa fa-trash"></i> Batch item deletion</a>
117
                            </li>
118
                            [% END %]
119
                            [% IF CAN_user_tools_records_batchmod %]
120
                            <li>
121
                                <a class="circ-button" href="/cgi-bin/koha/tools/batch_record_modification.pl"><i class="fa fa-pencil"></i> Batch record modification</a>
122
                            </li>
123
                            [% END %]
124
                            [% IF CAN_user_tools_records_batchdel %]
125
                            <li>
126
                                <a class="circ-button" href="/cgi-bin/koha/tools/batch_delete_records.pl"><i class="fa fa-trash"></i> Batch record deletion</a>
127
                            </li>
128
                            [% END %]
129
130
                            [% IF ( CAN_user_tools_marc_modification_templates ) %]
131
                            <li>
132
                                <a class="circ-button" href="/cgi-bin/koha/tools/marc_modification_templates.pl"><i class="fa fa-gear"></i> MARC modification templates</a>
133
                            </li>
134
                            [% END %]
135
                        </ul>
136
                        [% END %]
137
138
                        [% IF ( CAN_user_tools_items_batchmod || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) ) %]
139
                        <h3>Automation</h3>
140
                        <ul class="buttons-list">
141
                            [% IF ( CAN_user_tools_items_batchmod ) %]
142
                            <li>
143
                                <a class="circ-button" href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl"><i class="fa fa-calendar"></i> Item modifications by age</a>
144
                            </li>
145
                            [% END %]
146
                            [% IF ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) %]
147
                            <li>
148
                                <a class="circ-button" href="/cgi-bin/koha/tools/stockrotation.pl"><i class="fa fa-refresh"></i> Stock rotation</a>
149
                            </li>
150
                            [% END %]
151
                        </ul>
152
                        [% END %]
153
154
                    </div>
155
156
                    <div class="col-sm-4 col-md-4">
157
158
                        [% IF ( CAN_user_tools_label_creator || CAN_user_tools_upload_local_cover_images ) %]
159
                        <h3>Tools</h3>
160
                        <ul class="buttons-list">
161
                            [% IF ( CAN_user_tools_label_creator ) %]
162
                            <li>
163
                                <a class="circ-button" href="/cgi-bin/koha/labels/label-home.pl"><i class="fa fa-hashtag"></i> Label creator</a>
164
                            </li>
165
166
                            <li>
167
                                <a class="circ-button" href="/cgi-bin/koha/labels/barcode-print.pl"><i class="fa fa-barcode"></i> Barcode image generator</a>
168
                            </li>
169
170
                            <li>
171
                                <a class="circ-button" href="/cgi-bin/koha/labels/spinelabel-home.pl"><i class="fa fa-hashtag"></i> Quick spine label creator</a>
172
                            </li>
173
                            [% END %]
174
175
                            [% IF ( CAN_user_tools_upload_local_cover_images ) %]
176
                            <li>
177
                                <a class="circ-button" href="/cgi-bin/koha/tools/upload-cover-image.pl"><i class="fa fa-upload"></i> Upload local cover image</a>
178
                            </li>
179
                            [% END %]
180
181
                        </ul>
182
                        [% END %]
183
184
                        [% IF ( CAN_user_parameters ) %]
185
                        <h3>Administration</h3>
186
                        <ul class="buttons-list">
187
                            [% IF ( CAN_user_parameters_manage_sysprefs ) %]
188
                            <li>
189
                                <a class="circ-button" href="/cgi-bin/koha/admin/preferences.pl?tab=cataloguing"><i class="fa fa-tasks"></i> Preferences</a>
190
                            </li>
191
                            [% END %]
192
                            <li>
193
                                <a class="circ-button" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-cogs"></i> Configuration</a>
194
                            </li>
195
                        </ul>
196
                        [% END %]
197
198
                    </div>
199
                </div>
200
            </div>
201
        </div>
202
203
[% MACRO jsinclude BLOCK %]
204
<script>
205
    $(document).ready(function() {
206
207
        $("#newRecord").click(function(){
208
            var url = $("a#newRecordDefault").prop("href");
209
            window.location.href = url;
210
            return false;
211
        });
212
213
        $("#z3950search").click(function(){
214
            PopupZ3950("Default");
215
            return false;
216
        });
217
218
        $(".z3950searchFw").click(function(){
219
            PopupZ3950($(this).prop('id'));
220
            return false;
221
        });
222
223
        $("#useadvanced").click(function(){
224
            Cookies.set( "catalogue_editor_[% logged_in_user.borrowernumber | html %]", "advanced", { expires: 365, path: '/', sameSite: 'Lax' } );
225
            return true;
226
        });
227
    });
228
229
    /* this function open a popup to search on z3950 server.  */
230
    function PopupZ3950(fw) {
231
        var strQuery = GetZ3950Terms(fw);
232
        if(strQuery){
233
            window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=[% biblionumber | html %]"+strQuery,"z3950search",'width=800,height=500,location=yes,toolbar=no,scrollbars=yes,resize=yes');
234
        }
235
    }
236
237
    /* provide Z3950 search points */
238
    function GetZ3950Terms(fw){
239
        var strQuery="&frameworkcode=" + fw;
240
        return strQuery;
241
    }
242
</script>
243
244
[% END %]
245
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/editor.tt (-1 / +1 lines)
Lines 27-33 Link Here
27
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
27
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
28
        </li>
28
        </li>
29
        <li>
29
        <li>
30
            <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
30
            <a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a>
31
        </li>
31
        </li>
32
        <li>
32
        <li>
33
            <a href="#" aria-current="page">
33
            <a href="#" aria-current="page">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/linkitem.tt (-1 / +1 lines)
Lines 15-21 Link Here
15
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
15
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16
        </li>
16
        </li>
17
        <li>
17
        <li>
18
            <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
18
            <a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a>
19
        </li>
19
        </li>
20
        <li>
20
        <li>
21
            <a href="#" aria-current="page">
21
            <a href="#" aria-current="page">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-1 / +1 lines)
Lines 26-32 div#result { margin-top: 1em; } Link Here
26
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
26
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
27
        </li>
27
        </li>
28
        <li>
28
        <li>
29
            <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloging</a>
29
            <a href="/cgi-bin/koha/cataloguing/cataloging-home.pl">Cataloging</a>
30
        </li>
30
        </li>
31
        <li>
31
        <li>
32
            <a href="#" aria-current="page">
32
            <a href="#" aria-current="page">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt (-1 / +1 lines)
Lines 124-130 Link Here
124
124
125
                            [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
125
                            [% IF ( CAN_user_editcatalogue_edit_catalogue || CAN_user_editcatalogue_edit_items ) %]
126
                            <li>
126
                            <li>
127
                                <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/addbooks.pl"><i class="fa fa-fw fa-tag"></i>Cataloging</a>
127
                                <a class="icon_general icon_cataloging" href="/cgi-bin/koha/cataloguing/cataloging-home.pl"><i class="fa fa-fw fa-tag"></i>Cataloging</a>
128
                            </li>
128
                            </li>
129
                            [% END %]
129
                            [% END %]
130
130
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt (-188 / +110 lines)
Lines 26-132 Link Here
26
</nav>
26
</nav>
27
[% END %]
27
[% END %]
28
28
29
<div class="container-fluid">
29
<div class="main container-fluid">
30
    <h1>Tools</h1>
31
    <div class="row">
30
    <div class="row">
32
        <div class="col-sm-4">
31
        <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
33
            [% 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_batch_extend_due_dates || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
32
            <h1>Tools</h1>
34
                <h3>Patrons and circulation</h3>
33
            <div class="row">
35
            [% END %]
34
                <div class="col-sm-6">
36
            <dl>
35
                    [% 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_batch_extend_due_dates || CAN_user_tools_moderate_tags || CAN_user_tools_rotating_collections || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
37
                [% IF (CAN_user_tools_manage_patron_lists) %]
36
                        <h3>Patrons and circulation</h3>
38
                    <dt><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></dt>
37
                    [% END %]
39
                    <dd>Manage lists of patrons</dd>
38
                    <dl>
40
                [% END %]
39
                        [% IF (CAN_user_tools_manage_patron_lists) %]
40
                            <dt><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></dt>
41
                            <dd>Manage lists of patrons</dd>
42
                        [% END %]
41
43
42
                [% IF (CAN_user_clubs) %]
44
                        [% IF (CAN_user_clubs) %]
43
                    <dt><a href="/cgi-bin/koha/clubs/clubs.pl">Patron clubs</a></dt>
45
                            <dt><a href="/cgi-bin/koha/clubs/clubs.pl">Patron clubs</a></dt>
44
                    <dd>Manage patron clubs</dd>
46
                            <dd>Manage patron clubs</dd>
45
                [% END %]
47
                        [% END %]
46
48
47
                [% IF ( CAN_user_tools_moderate_comments ) %]
49
                        [% IF ( CAN_user_tools_moderate_comments ) %]
48
                    <dt>
50
                            <dt>
49
                        <a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a>
51
                                <a href="/cgi-bin/koha/reviews/reviewswaiting.pl">Comments</a>
50
                        [% IF ( pendingcomments ) %]
52
                                [% IF ( pendingcomments ) %]
51
                            <span class="number_box"><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% pendingcomments | html %]</a></span>
53
                                    <span class="number_box"><a href="/cgi-bin/koha/reviews/reviewswaiting.pl">[% pendingcomments | html %]</a></span>
54
                                [% END %]
55
                            </dt>
56
                            <dd>Moderate patron comments</dd>
52
                        [% END %]
57
                        [% END %]
53
                    </dt>
54
                    <dd>Moderate patron comments</dd>
55
                [% END %]
56
58
57
                [% IF ( CAN_user_tools_import_patrons ) %]
59
                        [% IF ( CAN_user_tools_import_patrons ) %]
58
                    <dt><a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a></dt>
60
                            <dt><a href="/cgi-bin/koha/tools/import_borrowers.pl">Import patrons</a></dt>
59
                    <dd>Import patron data</dd>
61
                            <dd>Import patron data</dd>
60
                [% END %]
62
                        [% END %]
61
63
62
                [% IF ( CAN_user_tools_edit_notices ) %]
64
                        [% IF ( CAN_user_tools_edit_notices ) %]
63
                    <dt><a href="/cgi-bin/koha/tools/letter.pl">Notices and slips</a></dt>
65
                            <dt><a href="/cgi-bin/koha/tools/letter.pl">Notices and slips</a></dt>
64
                    <dd>Define notices (print and email notification messages for overdues, etc.)</dd>
66
                            <dd>Define notices (print and email notification messages for overdues, etc.)</dd>
65
                [% END %]
67
                        [% END %]
66
68
67
                [% IF ( CAN_user_tools_edit_notice_status_triggers ) %]
69
                        [% IF ( CAN_user_tools_edit_notice_status_triggers ) %]
68
                    <dt><a href="/cgi-bin/koha/tools/overduerules.pl">Overdue notice/status triggers</a></dt>
70
                            <dt><a href="/cgi-bin/koha/tools/overduerules.pl">Overdue notice/status triggers</a></dt>
69
                    <dd>Set notice/status triggers for overdue items</dd>
71
                            <dd>Set notice/status triggers for overdue items</dd>
70
                [% END %]
72
                        [% END %]
71
73
72
                [% IF ( CAN_user_tools_label_creator ) %]
74
                        [% IF ( CAN_user_tools_label_creator ) %]
73
                    <dt><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a></dt>
75
                            <dt><a href="/cgi-bin/koha/patroncards/home.pl">Patron card creator</a></dt>
74
                    <dd>Create printable patron cards</dd>
76
                            <dd>Create printable patron cards</dd>
75
                [% END %]
77
                        [% END %]
76
78
77
                [% IF ( CAN_user_tools_delete_anonymize_patrons ) %]
79
                        [% IF ( CAN_user_tools_delete_anonymize_patrons ) %]
78
                    <dt><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Batch patron deletion and anonymization</a></dt>
80
                            <dt><a href="/cgi-bin/koha/tools/cleanborrowers.pl">Batch patron deletion and anonymization</a></dt>
79
                    <dd>Batch delete patrons and delete patron circulation history</dd>
81
                            <dd>Batch delete patrons and delete patron circulation history</dd>
80
                [% END %]
82
                        [% END %]
81
83
82
                [% IF ( CAN_user_tools_edit_patrons ) %]
84
                        [% IF ( CAN_user_tools_edit_patrons ) %]
83
                    <dt><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></dt>
85
                            <dt><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></dt>
84
                    <dd>Modify patrons in batch</dd>
86
                            <dd>Modify patrons in batch</dd>
85
                [% END %]
87
                        [% END %]
86
88
87
                [% IF ( CAN_user_tools_batch_extend_due_dates ) %]
89
                        [% IF ( CAN_user_tools_batch_extend_due_dates ) %]
88
                    <dt><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a></dt>
90
                            <dt><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a></dt>
89
                    <dd>Modify the due date checkouts in batch</dd>
91
                            <dd>Modify the due date checkouts in batch</dd>
90
                [% END %]
92
                        [% END %]
91
93
92
                [% IF ( CAN_user_tools_moderate_tags ) %]
94
                        [% IF ( CAN_user_tools_moderate_tags ) %]
93
                    <dt>
95
                            <dt>
94
                        <a href="/cgi-bin/koha/tags/review.pl">Tags</a>
96
                                <a href="/cgi-bin/koha/tags/review.pl">Tags</a>
95
                        [% IF ( pendingtags ) %]
97
                                [% IF ( pendingtags ) %]
96
                            <span class="number_box"><a href="/cgi-bin/koha/tags/review.pl">[% pendingtags | html %]</a></span>
98
                                    <span class="number_box"><a href="/cgi-bin/koha/tags/review.pl">[% pendingtags | html %]</a></span>
99
                                [% END %]
100
                            </dt>
101
                            <dd>Moderate patron tags</dd>
97
                        [% END %]
102
                        [% END %]
98
                    </dt>
99
                    <dd>Moderate patron tags</dd>
100
                [% END %]
101
103
102
                [% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %]
104
                        [% IF ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) %]
103
                    <dt><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></dt>
105
                            <dt><a href="/cgi-bin/koha/tools/picture-upload.pl">Upload patron images</a></dt>
104
                    <dd>Upload patron images in a batch or one at a time</dd>
106
                            <dd>Upload patron images in a batch or one at a time</dd>
105
                [% END %]
107
                        [% END %]
106
            </dl>
108
107
        </div> <!-- /.col-sm-4 -->
109
                        [% IF ( CAN_user_tools_rotating_collections ) %]
108
110
                            <dt><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></dt>
109
        <div class="col-sm-4 col-sm-push-4">
111
                            <dd>Manage rotating collections</dd>
110
            [% 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 ) %]
112
                        [% END %]
111
                <h3>Additional tools</h3>
113
                    </dl>
112
            [% END %]
114
                </div> <!-- /.col-sm-6 -->
113
            <dl>
115
114
                [% IF ( CAN_user_tools_edit_calendar ) %]
116
                <div class="col-sm-6">
117
                    [% 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 ) %]
118
                        <h3>Additional tools</h3>
119
                    [% END %]
120
                    <dl>
121
                        [% IF ( CAN_user_tools_edit_calendar ) %]
115
                    <dt><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></dt>
122
                    <dt><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></dt>
116
                    <dd>Define days when the library is closed</dd>
123
                    <dd>Define days when the library is closed</dd>
117
                [% END %]
124
                    [% END %]
118
125
119
                [% IF ( CAN_user_tools_manage_csv_profiles ) %]
126
                    [% IF ( CAN_user_tools_manage_csv_profiles ) %]
120
                    <dt><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></dt>
127
                    <dt><a href="/cgi-bin/koha/tools/csv-profiles.pl">CSV profiles</a></dt>
121
                    <dd>Manage CSV export profiles</dd>
128
                    <dd>Manage CSV export profiles</dd>
122
                [% END %]
129
                    [% END %]
123
130
124
                [% IF ( CAN_user_tools_view_system_logs ) %]
131
                    [% IF ( CAN_user_tools_view_system_logs ) %]
125
                    <dt><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></dt>
132
                    <dt><a href="/cgi-bin/koha/tools/viewlog.pl">Log viewer</a></dt>
126
                    <dd>Browse the system logs</dd>
133
                    <dd>Browse the system logs</dd>
127
                [% END %]
134
                    [% END %]
128
135
129
                [% IF ( CAN_user_tools_edit_additional_contents ) %]
136
                    [% IF ( CAN_user_tools_edit_additional_contents ) %]
130
                    <dt><a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a></dt>
137
                    <dt><a href="/cgi-bin/koha/tools/additional-contents.pl?category=news">News</a></dt>
131
                    <dd>Write news for the OPAC and staff interfaces</dd>
138
                    <dd>Write news for the OPAC and staff interfaces</dd>
132
139
Lines 135-186 Link Here
135
142
136
                    <dt><a href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a></dt>
143
                    <dt><a href="/cgi-bin/koha/tools/additional-contents.pl?category=pages">Pages</a></dt>
137
                    <dd>Write custom pages</dd>
144
                    <dd>Write custom pages</dd>
138
                [% END %]
145
                    [% END %]
139
146
140
                [% IF ( CAN_user_tools_schedule_tasks ) %]
147
                    [% IF ( CAN_user_tools_schedule_tasks ) %]
141
                    <dt><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></dt>
148
                    <dt><a href="/cgi-bin/koha/tools/scheduler.pl">Task scheduler</a></dt>
142
                    <dd>Schedule tasks to run</dd>
149
                    <dd>Schedule tasks to run</dd>
143
                [% END %]
150
                    [% END %]
144
151
145
                [% IF ( CAN_user_tools_edit_quotes ) %]
152
                    [% IF ( CAN_user_tools_edit_quotes ) %]
146
                    <dt><a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a></dt>
153
                    <dt><a href="/cgi-bin/koha/tools/quotes.pl">Quote editor</a></dt>
147
                    <dd>Manage 'Quote of the day' quotes</dd>
154
                    <dd>Manage 'Quote of the day' quotes</dd>
148
                [% END %]
155
                    [% END %]
149
156
150
                [% IF ( plugins_enabled && CAN_user_plugins_tool && tool_plugins ) %]
157
                    [% IF ( plugins_enabled && CAN_user_plugins_tool && tool_plugins ) %]
151
                    <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></dt>
158
                    <dt><a href="/cgi-bin/koha/plugins/plugins-home.pl?method=tool">Tool plugins</a></dt>
152
                    <dd>
159
                    <dd>
153
                        Use tool plugins
160
                        Use tool plugins
154
                        <ul>
161
                        <ul>
155
                            [% FOREACH plugin IN tool_plugins %]
162
                        [% FOREACH plugin IN tool_plugins %]
156
                                <li class="plugin_link">
163
                            <li class="plugin_link">
157
                                    <a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=tool">
164
                                <a href="/cgi-bin/koha/plugins/run.pl?class=[% plugin.class | uri %]&method=tool">
158
                                        <span class="plugin_name">[% plugin.metadata.name | html %]</span>
165
                                    <span class="plugin_name">[% plugin.metadata.name | html %]</span>
159
                                    </a>
166
                                </a>
160
                                </li>
167
                            </li>
161
                            [% END %]
168
                        [% END %]
162
                        </ul>
169
                        </ul>
163
                    </dd>
170
                    </dd>
164
                [% END # /IF ( plugins_enabled... %]
171
                    [% END %]
165
172
166
                [% IF ( CAN_user_tools_upload_general_files ) %]
173
                    [% IF ( CAN_user_tools_upload_general_files ) %]
167
                    <dt><a href="/cgi-bin/koha/tools/upload.pl">Uploads</a></dt>
174
                    <dt><a href="/cgi-bin/koha/tools/upload.pl">Uploads</a></dt>
168
                    <dd>Upload any type of file, manage uploads</dd>
175
                    <dd>Upload any type of file, manage uploads</dd>
169
                [% END %]
176
                    [% END %]
170
177
171
                [% IF CAN_user_tools_access_files %]
178
                    [% IF CAN_user_tools_access_files %]
172
                    <dt><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></dt>
179
                    <dt><a href="/cgi-bin/koha/tools/access_files.pl">Access files</a></dt>
173
                    <dd>Access files stored on the server, like log files or reports</dd>
180
                    <dd>Access files stored on the server, like log files or reports</dd>
174
                [% END %]
181
                    [% END %]
175
182
176
                [% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports ) %]
183
                    [% IF ( Koha.Preference('OPACReportProblem') && CAN_user_problem_reports ) %]
177
                    <dt><a href="/cgi-bin/koha/tools/problem-reports.pl">OPAC problem reports</a></dt>
184
                    <dt><a href="/cgi-bin/koha/tools/problem-reports.pl">OPAC problem reports</a></dt>
178
                    <dd>Manage OPAC problem reports submitted by patrons</dd>
185
                    <dd>Manage OPAC problem reports submitted by patrons</dd>
179
                [% END %]
186
                    [% END %]
180
187
181
            </dl>
188
                </dl>
182
189
183
            [% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
190
                [% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
184
                <h3>Cash management</h3>
191
                <h3>Cash management</h3>
185
                <dl>
192
                <dl>
186
                    <dt><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></dt>
193
                    <dt><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></dt>
Lines 189-283 Link Here
189
                    <dt><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></dt>
196
                    <dt><a href="/cgi-bin/koha/pos/register.pl">Transaction history for [% Registers.session_register_name | html %]</a></dt>
190
                    <dd>View transaction history for the current cash register</dd>
197
                    <dd>View transaction history for the current cash register</dd>
191
                </dl>
198
                </dl>
192
            [% END %]
193
        </div> <!-- /.col-sm-4... -->
194
195
        <div class="col-sm-4 col-sm-pull-4">
196
            [% 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 ) %]
197
                <h3>Catalog</h3>
198
            [% END %]
199
            <dl>
200
                [% IF ( CAN_user_tools_items_batchdel ) %]
201
                    <dt><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></dt>
202
                    <dd>Delete a batch of items</dd>
203
                [% END %]
204
205
                [% IF ( CAN_user_tools_items_batchmod ) %]
206
                    <dt><a href="/cgi-bin/koha/tools/batchMod.pl">Batch item modification</a></dt>
207
                    <dd>Modify items in a batch</dd>
208
                [% END %]
209
210
                [% IF CAN_user_tools_records_batchdel %]
211
                    <dt><a href="/cgi-bin/koha/tools/batch_delete_records.pl">Batch record deletion</a></dt>
212
                    <dd>Delete a batch of bibliographic or authority records</dd>
213
                [% END %]
214
215
                [% IF CAN_user_tools_records_batchmod %]
216
                    <dt><a href="/cgi-bin/koha/tools/batch_record_modification.pl">Batch record modification</a></dt>
217
                    <dd>Modify a batch of bibliographic or authority records</dd>
218
                [% END %]
219
220
                [% IF ( CAN_user_tools_items_batchmod ) %]
221
                    <dt><a href="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">Automatic item modifications by age</a></dt>
222
                    <dd>Define rules to modify items by age</dd>
223
                [% END %]
224
225
                [% IF ( CAN_user_tools_export_catalog ) %]
226
                    <dt><a href="/cgi-bin/koha/tools/export.pl">Export data</a></dt>
227
                    <dd>Export bibliographic, holdings, and authority records</dd>
228
                [% END %]
229
230
                [% IF ( CAN_user_tools_inventory ) %]
231
                    <dt><a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a></dt>
232
                    <dd>Perform inventory of your catalog</dd>
233
                [% END %]
234
235
                [% IF ( CAN_user_tools_label_creator ) %]
236
                    <dt><a href="/cgi-bin/koha/labels/label-home.pl">Label creator</a></dt>
237
                    <dd>Create printable labels and barcodes from catalog data</dd>
238
                [% END %]
239
240
                [% IF ( CAN_user_tools_label_creator ) %]
241
                    <dt><a href="/cgi-bin/koha/labels/barcode-print.pl">Barcode image generator</a></dt>
242
                    <dd>Configure and create barcodes of various types to be output as an image</dd>
243
                [% END %]
244
245
                [% IF ( CAN_user_tools_label_creator ) %]
246
                    <dt><a href="/cgi-bin/koha/labels/spinelabel-home.pl">Quick spine label creator</a></dt>
247
                    <dd>Enter a barcode to generate a printable spine label. For use with dedicated label printers</dd>
248
                [% END %]
249
250
                [% IF ( CAN_user_tools_rotating_collections ) %]
251
                    <dt><a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a></dt>
252
                    <dd>Manage rotating collections</dd>
253
                [% END %]
254
255
                [% IF ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') ) %]
256
                    <dt><a href="/cgi-bin/koha/tools/stockrotation.pl">Stock rotation</a></dt>
257
                    <dd>Manage Stock rotation rotas, rota stages and rota items</dd>
258
                [% END %]
259
260
                [% IF ( CAN_user_tools_marc_modification_templates ) %]
261
                    <dt><a href="/cgi-bin/koha/tools/marc_modification_templates.pl">MARC modification templates</a></dt>
262
                    <dd>Manage templates for modifying MARC records during import</dd>
263
                [% END %]
264
265
                [% IF ( CAN_user_tools_stage_marc_import ) %]
266
                    <dt><a href="/cgi-bin/koha/tools/stage-marc-import.pl">Stage MARC records for import</a></dt>
267
                    <dd>Stage MARC records into the reservoir</dd>
268
                [% END %]
269
270
                [% IF ( CAN_user_tools_manage_staged_marc ) %]
271
                    <dt><a href="/cgi-bin/koha/tools/manage-marc-import.pl">Staged MARC record management</a></dt>
272
                    <dd>Managed staged MARC records, including completing and reversing imports</dd>
273
                [% END %]
199
                [% END %]
274
200
275
                [% IF ( CAN_user_tools_upload_local_cover_images ) %]
201
                </div> <!-- /.col-sm-6 -->
276
                    <dt><a href="/cgi-bin/koha/tools/upload-cover-image.pl">Upload local cover image</a></dt>
202
            </div> <!-- /.row -->
277
                    <dd>Utility to upload scanned cover images for display in OPAC</dd>
203
        </div> <!-- /.col-md-10 -->
278
                [% END %]
279
            </dl>
280
        </div> <!-- /.col-sm-4... -->
281
    </div> <!-- /.row -->
204
    </div> <!-- /.row -->
282
205
283
[% INCLUDE 'intranet-bottom.inc' %]
206
[% INCLUDE 'intranet-bottom.inc' %]
284
- 

Return to bug 31162