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

(-)a/installer/data/mysql/mandatory/userpermissions.sql (-1 / +1 lines)
Lines 110-116 INSERT INTO permissions (module_bit, code, description) VALUES Link Here
110
   (13, 'import_patrons', 'Import patron data'),
110
   (13, 'import_patrons', 'Import patron data'),
111
   (13, 'edit_patrons', 'Perform batch modification of patrons'),
111
   (13, 'edit_patrons', 'Perform batch modification of patrons'),
112
   (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower checkout history)'),
112
   (13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower checkout history)'),
113
   (13, 'batch_extend_due_dates', 'Perform batch extend due dates'),
113
   (13, 'batch_modify_due_dates', 'Perform batch modify due dates'),
114
   (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
114
   (13, 'batch_upload_patron_images', 'Upload patron images in a batch or one at a time'),
115
   (13, 'schedule_tasks', 'Schedule tasks to run'),
115
   (13, 'schedule_tasks', 'Schedule tasks to run'),
116
   (13, 'items_batchmod', 'Perform batch modification of items'),
116
   (13, 'items_batchmod', 'Perform batch modification of items'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/permissions.inc (-2 / +2 lines)
Lines 532-540 Link Here
532
            Delete old borrowers and anonymize circulation history (deletes borrower checkout history)
532
            Delete old borrowers and anonymize circulation history (deletes borrower checkout history)
533
        </span>
533
        </span>
534
        <span class="permissioncode">([% name | html %])</span>
534
        <span class="permissioncode">([% name | html %])</span>
535
    [%- CASE 'batch_extend_due_dates' -%]
535
    [%- CASE 'batch_modify_due_dates' -%]
536
        <span class="sub_permission batch_extend_due_dates_subpermission">
536
        <span class="sub_permission batch_extend_due_dates_subpermission">
537
            Perform batch extend due dates
537
            Perform batch modify due dates
538
        </span>
538
        </span>
539
        <span class="permissioncode">([% name | html %])</span>
539
        <span class="permissioncode">([% name | html %])</span>
540
    [%- CASE 'edit_calendar' -%]
540
    [%- CASE 'edit_calendar' -%]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc (-1 / +1 lines)
Lines 38-44 Link Here
38
                    <li><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></li>
38
                    <li><a href="/cgi-bin/koha/tools/modborrowers.pl">Batch patron modification</a></li>
39
                [% END %]
39
                [% END %]
40
                [% IF ( CAN_user_tools_batch_extend_due_dates ) %]
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>
41
                    <li><a href="/cgi-bin/koha/tools/batch_modify_due_dates.pl">Batch modify due dates</a></li>
42
                [% END %]
42
                [% END %]
43
                [% IF ( CAN_user_tools_moderate_tags ) %]
43
                [% IF ( CAN_user_tools_moderate_tags ) %]
44
                    <li><a href="/cgi-bin/koha/tags/review.pl">Tags</a></li>
44
                    <li><a href="/cgi-bin/koha/tags/review.pl">Tags</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt (-4 / +4 lines)
Lines 15-21 Link Here
15
    [% ELSIF ( view == 'report' ) %]
15
    [% ELSIF ( view == 'report' ) %]
16
        [% t("Results") | html %] &rsaquo;
16
        [% t("Results") | html %] &rsaquo;
17
    [% END %]
17
    [% END %]
18
    [% t("Batch extend due dates") | html %] &rsaquo;
18
    [% t("Batch modify due dates") | html %] &rsaquo;
19
    [% t("Tools") | html %] &rsaquo;
19
    [% t("Tools") | html %] &rsaquo;
20
    [% t("Koha") | html %]
20
    [% t("Koha") | html %]
21
[% END %]</title>
21
[% END %]</title>
Lines 35-45 Link Here
35
        [% END %]
35
        [% END %]
36
        [% IF ( view == 'list' || view == 'report' ) %]
36
        [% IF ( view == 'list' || view == 'report' ) %]
37
            [% WRAPPER breadcrumb_item %]
37
            [% WRAPPER breadcrumb_item %]
38
                <a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch extend due dates</a>
38
                <a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch modify due dates</a>
39
            [% END %]
39
            [% END %]
40
        [% ELSE %]
40
        [% ELSE %]
41
            [% WRAPPER breadcrumb_item bc_active= 1 %]
41
            [% WRAPPER breadcrumb_item bc_active= 1 %]
42
                <span>Batch extend due dates</span>
42
                <span>Batch modify due dates</span>
43
            [% END %]
43
            [% END %]
44
        [% END %]
44
        [% END %]
45
        [% IF ( view == 'list' ) %]
45
        [% IF ( view == 'list' ) %]
Lines 60-66 Link Here
60
                <main>
60
                <main>
61
                    [% INCLUDE 'messages.inc' %]
61
                    [% INCLUDE 'messages.inc' %]
62
62
63
                    <h1>Batch extend due dates</h1>
63
                    <h1>Batch modify due dates</h1>
64
64
65
                    [% IF ( messages ) %]
65
                    [% IF ( messages ) %]
66
                        <div class="alert alert-info">
66
                        <div class="alert alert-info">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt (-3 / +2 lines)
Lines 85-92 Link Here
85
                        [% END %]
85
                        [% END %]
86
86
87
                        [% IF ( CAN_user_tools_batch_extend_due_dates ) %]
87
                        [% 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>
88
                            <dt><a href="/cgi-bin/koha/tools/batch_extend_due_dates.pl">Batch modify due dates</a></dt>
89
                            <dd>Modify the due date checkouts in batch</dd>
89
                            <dd>Modify checkout due dates in batch</dd>
90
                        [% END %]
90
                        [% END %]
91
91
92
                        [% IF ( CAN_user_tools_moderate_tags ) %]
92
                        [% IF ( CAN_user_tools_moderate_tags ) %]
93
- 

Return to bug 38687