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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt (-9 / +11 lines)
Lines 47-54 Link Here
47
                [% INCLUDE 'messages.inc' %]
47
                [% INCLUDE 'messages.inc' %]
48
48
49
        [% IF ( op == 'edit_form' ) %]
49
        [% IF ( op == 'edit_form' ) %]
50
          <form method="post" id="rules_form" action="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">
51
              [% INCLUDE 'csrf-token.inc' %]
52
            <h1>Rules for automatic item modifications by age</h1>
50
            <h1>Rules for automatic item modifications by age</h1>
53
            <div id="toolbar" class="btn-toolbar sticky">
51
            <div id="toolbar" class="btn-toolbar sticky">
54
                <div class="btn-group">
52
                <div class="btn-group">
Lines 75-90 Link Here
75
        [% END %]
73
        [% END %]
76
74
77
        [% FOR message IN messages %]
75
        [% FOR message IN messages %]
78
          [% IF message.type == "error" %]
76
            [% SET message_class = "alert-info" %]
79
            <div class="alert alert-warning">
77
            [% IF message.type == "error" %]
80
          [% END %]
78
                [% message_class = "alert-warning" %]
81
          [% IF message.code == "unable_to_load_configuration" %]
79
            [% END %]
82
            An error occurs: Unable to load the configuration.
80
            <div class="alert [% message_class | html %]">
83
          [% END %]
81
                [% IF message.code == "unable_to_load_configuration" %]
84
          </div>
82
                    An error occurs: Unable to load the configuration.
83
                [% END %]
84
            </div>
85
        [% END %]
85
        [% END %]
86
86
87
        [% IF op == 'edit_form' %]
87
        [% IF op == 'edit_form' %]
88
          <form method="post" id="rules_form" action="/cgi-bin/koha/tools/automatic_item_modification_by_age.pl">
89
              [% INCLUDE 'csrf-token.inc' %]
88
            <div id="edit_rules">
90
            <div id="edit_rules">
89
                <div id="rules">
91
                <div id="rules">
90
                [% FOR rule IN rules %]
92
                [% FOR rule IN rules %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt (-17 / +20 lines)
Lines 60-79 Link Here
60
    <h1>Batch item deletion</h1>
60
    <h1>Batch item deletion</h1>
61
61
62
    [% FOREACH message IN messages %]
62
    [% FOREACH message IN messages %]
63
      [% IF message.type == 'success' %]
63
        [% SET message_type = "alert-info" %]
64
        <div class="alert alert-info">
64
        [% IF message.type == 'success' %]
65
      [% ELSIF message.type == 'warning' %]
65
            [% message_type = "alert-info" %]
66
        <div class="alert alert-warning">
66
        [% ELSIF message.type == 'warning' %]
67
      [% ELSIF message.type == 'error' %]
67
            [% message_type = "alert-warning" %]
68
        <div class="alert alert-warning" style="margin:auto;">
68
        [% ELSIF message.type == 'error' %]
69
      [% END %]
69
            [% message_type = "alert-warning" %]
70
      [% IF message.code == 'cannot_enqueue_job' %]
70
        [% END %]
71
          <span>Cannot enqueue this job.</span>
71
        <div class="alert [% message_type | html %]">
72
      [% END %]
72
            [% IF message.code == 'cannot_enqueue_job' %]
73
      [% IF message.error %]
73
                <span>Cannot enqueue this job.</span>
74
        <span>(The error was: [% message.error | html %], see the Koha log file for more information).</span>
74
            [% END %]
75
      [% END %]
75
            [% IF message.error %]
76
      </div>
76
                <span>(The error was: [% message.error | html %], see the Koha log file for more information).</span>
77
            [% END %]
78
        </div>
77
    [% END %]
79
    [% END %]
78
80
79
81
Lines 89-95 Link Here
89
            </thead>
91
            </thead>
90
            <tbody>
92
            <tbody>
91
                [% FOREACH notfoundbarcode IN notfoundbarcodes %]
93
                [% FOREACH notfoundbarcode IN notfoundbarcodes %]
92
                    <tr><td>[% notfoundbarcode |html %]</td></td>
94
                    <tr><td>[% notfoundbarcode |html %]</td></tr>
93
                [% END %]
95
                [% END %]
94
            </tbody>
96
            </tbody>
95
        </table>
97
        </table>
Lines 104-110 Link Here
104
            </thead>
106
            </thead>
105
            <tbody>
107
            <tbody>
106
                [% FOREACH notfounditemnumber IN notfounditemnumbers %]
108
                [% FOREACH notfounditemnumber IN notfounditemnumbers %]
107
                    <tr><td>[% notfounditemnumber |html %]</td></td>
109
                    <tr><td>[% notfounditemnumber |html %]</td></tr>
108
                [% END %]
110
                [% END %]
109
            </tbody>
111
            </tbody>
110
        </table>
112
        </table>
Lines 120-126 Link Here
120
            </thead>
122
            </thead>
121
            <tbody>
123
            <tbody>
122
                [% FOREACH barcode IN cannot_be_deleted %]
124
                [% FOREACH barcode IN cannot_be_deleted %]
123
                    <tr><td>[% barcode | html %]</td></td>
125
                    <tr><td>[% barcode | html %]</td></tr>
124
                [% END %]
126
                [% END %]
125
            </tbody>
127
            </tbody>
126
        </table>
128
        </table>
Lines 215-220 Link Here
215
217
216
    </div>
218
    </div>
217
219
220
218
[% MACRO jsinclude BLOCK %]
221
[% MACRO jsinclude BLOCK %]
219
    [% Asset.js("js/tools-menu.js") | $raw %]
222
    [% Asset.js("js/tools-menu.js") | $raw %]
220
    [% INCLUDE 'datatables.inc' %]
223
    [% INCLUDE 'datatables.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-10 / +12 lines)
Lines 83-95 Link Here
83
        [% END %]
83
        [% END %]
84
84
85
        [% FOREACH message IN messages %]
85
        [% FOREACH message IN messages %]
86
          [% IF message.type == 'success' %]
86
            [% SET message_class = "alert-info" %]
87
            <div class="alert alert-info">
87
            [% IF message.type == 'success' %]
88
          [% ELSIF message.type == 'warning' %]
88
                [% message_class = "alert-info" %]
89
            <div class="alert alert-warning">
89
            [% ELSIF message.type == 'warning' %]
90
          [% ELSIF message.type == 'error' %]
90
                [% message_class = "alert-warning" %]
91
            <div class="alert alert-warning" style="margin:auto;">
91
            [% ELSIF message.type == 'error' %]
92
          [% END %]
92
                [% message_class = "alert-warning" %]
93
            [% END %]
94
            <div class="alert [% message_class | html %]">
93
          [% IF message.code == 'cannot_enqueue_job' %]
95
          [% IF message.code == 'cannot_enqueue_job' %]
94
              <span>Cannot enqueue this job.</span>
96
              <span>Cannot enqueue this job.</span>
95
          [% END %]
97
          [% END %]
Lines 120-126 Link Here
120
                    </thead>
122
                    </thead>
121
                    <tbody>
123
                    <tbody>
122
                        [% FOREACH notfoundbarcode IN notfoundbarcodes %]
124
                        [% FOREACH notfoundbarcode IN notfoundbarcodes %]
123
                            <tr><td>[% notfoundbarcode |html %]</td></td>
125
                            <tr><td>[% notfoundbarcode |html %]</td></tr>
124
                        [% END %]
126
                        [% END %]
125
                    </tbody>
127
                    </tbody>
126
                </table>
128
                </table>
Lines 143-149 Link Here
143
                    </thead>
145
                    </thead>
144
                    <tbody>
146
                    <tbody>
145
                        [% FOREACH notfounditemnumber IN notfounditemnumbers %]
147
                        [% FOREACH notfounditemnumber IN notfounditemnumbers %]
146
                            <tr><td>[% notfounditemnumber |html %]</td></td>
148
                            <tr><td>[% notfounditemnumber |html %]</td></tr>
147
                        [% END %]
149
                        [% END %]
148
                    </tbody>
150
                    </tbody>
149
                </table>
151
                </table>
Lines 224-230 Link Here
224
                            <legend>Options</legend>
226
                            <legend>Options</legend>
225
                            <ol>
227
                            <ol>
226
                                <li>
228
                                <li>
227
                                    <div class="hint">This option checks in items to remove them from patron accounts.</br>Items are not marked found, nor do damaged/withdrawn statuses prevent this return, nor are item locations updated. This feature is intended to allow removal of checkouts from patron accounts without affecting fines or other statuses.</div></br>
229
                                    <div class="hint">This option checks in items to remove them from patron accounts.<br />Items are not marked found, nor do damaged/withdrawn statuses prevent this return, nor are item locations updated. This feature is intended to allow removal of checkouts from patron accounts without affecting fines or other statuses.</div><br />
228
                                    <div class="subfield_line">
230
                                    <div class="subfield_line">
229
                                        <label for="mark_items_returned">Check in items:</label>
231
                                        <label for="mark_items_returned">Check in items:</label>
230
                                        <select id="mark_items_returned" name="mark_items_returned" class="input_marceditor select2" style="width: 50px">
232
                                        <select id="mark_items_returned" name="mark_items_returned" class="input_marceditor select2" style="width: 50px">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt (-20 / +24 lines)
Lines 57-84 Link Here
57
57
58
  <h1>Batch record deletion</h1>
58
  <h1>Batch record deletion</h1>
59
  [% FOREACH message IN messages %]
59
  [% FOREACH message IN messages %]
60
    [% SET message_class = "alert-info" %]
60
    [% IF message.type == 'success' %]
61
    [% IF message.type == 'success' %]
61
      <div class="alert alert-info">
62
        [% message_class = "alert-info" %]
62
    [% ELSIF message.type == 'warning' %]
63
    [% ELSIF message.type == 'warning' %]
63
      <div class="alert alert-warning">
64
        [% message_class = "alert-warning" %]
64
    [% ELSIF message.type == 'error' %]
65
    [% ELSIF message.type == 'error' %]
65
      <div class="alert alert-warning" style="margin:auto;">
66
        [% message_class = "alert-warning" %]
66
    [% END %]
67
    [% IF message.code == 'biblio_not_exists' %]
68
      <span>The biblionumber [% message.biblionumber | html %] does not exist in the database.</span>
69
    [% ELSIF message.code == 'authority_not_exists' %]
70
      <span>The authority ID [% message.authid | html %] does not exist in the database.</span>
71
    [% ELSIF message.code == 'cannot_enqueue_job' %]
72
        <span>Cannot enqueue this job.</span>
73
    [% ELSIF message.code == 'biblio_not_exists' %]
74
        <span>Bibliographic record [% message.biblionumber | html %] does not exist in the database.</span>
75
    [% ELSIF message.code == 'authority_not_exists' %]
76
        <span>Authority record [% message.authid | html %] does not exist in the database.</span>
77
    [% END %]
67
    [% END %]
68
    <div class="alert [% message_class | html %]">
69
        [% IF message.code == 'biblio_not_exists' %]
70
            <span>The biblionumber [% message.biblionumber | html %] does not exist in the database.</span>
71
        [% ELSIF message.code == 'authority_not_exists' %]
72
            <span>The authority ID [% message.authid | html %] does not exist in the database.</span>
73
        [% ELSIF message.code == 'cannot_enqueue_job' %]
74
            <span>Cannot enqueue this job.</span>
75
        [% ELSIF message.code == 'biblio_not_exists' %]
76
            <span>Bibliographic record [% message.biblionumber | html %] does not exist in the database.</span>
77
        [% ELSIF message.code == 'authority_not_exists' %]
78
            <span>Authority record [% message.authid | html %] does not exist in the database.</span>
79
        [% END %]
78
80
79
    [% IF message.error %]
81
        [% IF message.error %]
80
      <span>(The error was: [% message.error | html %], see the Koha log file for more information).</span>
82
        <span>(The error was: [% message.error | html %], see the Koha log file for more information).</span>
81
    [% END %]
83
        [% END %]
82
    </div>
84
    </div>
83
  [% END %]
85
  [% END %]
84
  [% IF op == 'form' %]
86
  [% IF op == 'form' %]
Lines 156-161 Link Here
156
    </form>
158
    </form>
157
  [% ELSIF op == 'list' %]
159
  [% ELSIF op == 'list' %]
158
    [% IF records %]
160
    [% IF records %]
161
        [% SET form_id = "selectauths" %]
162
        [% IF recordtype == 'biblio' %]
163
            [% SET form_id = "selectrecords" %]
164
        [% END %]
165
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="[% form_id | html %]">
159
      [% IF recordtype == 'biblio' %]
166
      [% IF recordtype == 'biblio' %]
160
        <div class="btn-toolbar selections-toolbar">
167
        <div class="btn-toolbar selections-toolbar">
161
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
168
          <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
Lines 166-172 Link Here
166
        </div>
173
        </div>
167
174
168
        <div class="page-section">
175
        <div class="page-section">
169
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectrecords">
170
          <table id="biblios" class="records">
176
          <table id="biblios" class="records">
171
            <thead>
177
            <thead>
172
              <tr>
178
              <tr>
Lines 200-206 Link Here
200
          | <a id="clearall" href="#"><i class="fa fa-times"></i> Clear all</a>
206
          | <a id="clearall" href="#"><i class="fa fa-times"></i> Clear all</a>
201
          | <a id="clearlinkedtobiblio" href="#">Clear used authorities</a>
207
          | <a id="clearlinkedtobiblio" href="#">Clear used authorities</a>
202
        </div>
208
        </div>
203
        <form action="/cgi-bin/koha/tools/batch_delete_records.pl" method="post" id="selectauths">
204
            [% INCLUDE 'csrf-token.inc' %]
209
            [% INCLUDE 'csrf-token.inc' %]
205
          <table id="authorities" class="records">
210
          <table id="authorities" class="records">
206
            <thead>
211
            <thead>
Lines 232-238 Link Here
232
          <a class="cancel" href="/cgi-bin/koha/tools/batch_delete_records.pl">Cancel</a>
237
          <a class="cancel" href="/cgi-bin/koha/tools/batch_delete_records.pl">Cancel</a>
233
        </fieldset>
238
        </fieldset>
234
      </form>
239
      </form>
235
      </div>
236
    [% ELSE %]
240
    [% ELSE %]
237
      There are no record IDs defined.
241
      There are no record IDs defined.
238
    [% END %]
242
    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt (-3 / +4 lines)
Lines 65-76 Link Here
65
                        <div class="alert alert-info">
65
                        <div class="alert alert-info">
66
66
67
                            [% FOREACH message IN messages %]
67
                            [% FOREACH message IN messages %]
68
                                <div>
68
                                [% IF message.type == 'success' %]
69
                                [% IF message.type == 'success' %]
69
                                    <div><i class="fa fa-check success"></i>
70
                                    <i class="fa fa-check success"></i>
70
                                [% ELSIF message.type == 'warning' %]
71
                                [% ELSIF message.type == 'warning' %]
71
                                    <div><i class="fa-solid fa-triangle-exclamation warn"></i>
72
                                    <i class="fa-solid fa-triangle-exclamation warn"></i>
72
                                [% ELSIF message.type == 'error' %]
73
                                [% ELSIF message.type == 'error' %]
73
                                    <div><i class="fa fa-exclamation error"></i>
74
                                    <i class="fa fa-exclamation error"></i>
74
                                [% END %]
75
                                [% END %]
75
                                [% IF message.error %]
76
                                [% IF message.error %]
76
                                    <span>(The error was: [% message.error | html %]. See the Koha logfile for more information).</span>
77
                                    <span>(The error was: [% message.error | html %]. See the Koha logfile for more information).</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-3 / +4 lines)
Lines 59-70 Link Here
59
                        <div class="alert alert-info">
59
                        <div class="alert alert-info">
60
60
61
                            [% FOREACH message IN messages %]
61
                            [% FOREACH message IN messages %]
62
                                <div>
62
                                [% IF message.type == 'success' %]
63
                                [% IF message.type == 'success' %]
63
                                    <div><i class="fa fa-check success"></i>
64
                                    <i class="fa fa-check success"></i>
64
                                [% ELSIF message.type == 'warning' %]
65
                                [% ELSIF message.type == 'warning' %]
65
                                    <div><i class="fa-solid fa-triangle-exclamation warn"></i>
66
                                    <i class="fa-solid fa-triangle-exclamation warn"></i>
66
                                [% ELSIF message.type == 'error' %]
67
                                [% ELSIF message.type == 'error' %]
67
                                    <div><i class="fa fa-exclamation error"></i>
68
                                    <i class="fa fa-exclamation error"></i>
68
                                [% END %]
69
                                [% END %]
69
                                [% IF message.code == 'no_action_defined_for_the_template' %]
70
                                [% IF message.code == 'no_action_defined_for_the_template' %]
70
                                    <span>The selected template (id=[% message.mmtid | html %]) does not exist or no action is defined.</span>
71
                                    <span>The selected template (id=[% message.mmtid | html %]) does not exist or no action is defined.</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt (-5 / +5 lines)
Lines 195-215 Link Here
195
                    <p>
195
                    <p>
196
                        <input id="delete" type="radio" name="radio" value="delete" />
196
                        <input id="delete" type="radio" name="radio" value="delete" />
197
                        <label for="delete">Permanently delete these patrons</label>
197
                        <label for="delete">Permanently delete these patrons</label>
198
                        <div class="hint">
198
                        <span class="hint">
199
                            Delete patrons directly from the database. Patron data will not be recoverable.
199
                            Delete patrons directly from the database. Patron data will not be recoverable.
200
                        </div>
200
                        </span>
201
                    </p>
201
                    </p>
202
                    <p>
202
                    <p>
203
                        <input id="trash" type="radio" name="radio" value="trash" />
203
                        <input id="trash" type="radio" name="radio" value="trash" />
204
                        <label for="trash">Move these patrons to the trash</label>
204
                        <label for="trash">Move these patrons to the trash</label>
205
                        <div class="hint">
205
                        <span class="hint">
206
                            Move patrons to the deleted patrons table. They can be deleted permanently by the <code>cleanup_database</code> script.
206
                            Move patrons to the deleted patrons table. They can be deleted permanently by the <code>cleanup_database</code> script.
207
                        </div>
207
                        </span>
208
                    </p>
208
                    </p>
209
                    <p>
209
                    <p>
210
                        <input id="testrun" type="radio" name="radio" value="testrun" checked="checked" />
210
                        <input id="testrun" type="radio" name="radio" value="testrun" checked="checked" />
211
                        <label for="testrun">Test run: Do not remove any patrons.</label>
211
                        <label for="testrun">Test run: Do not remove any patrons.</label>
212
                        <input type="hidden" name="do_delete" value="[% patrons_to_delete.size | html %]" /></fieldset>
212
                        <input type="hidden" name="do_delete" value="[% patrons_to_delete.size | html %]" />
213
                    </p>
213
                    </p>
214
                </fieldset>
214
                </fieldset>
215
            [% END %]
215
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/export.tt (-6 / +6 lines)
Lines 289-299 Link Here
289
                    <fieldset class="rows">
289
                    <fieldset class="rows">
290
                        <legend> Choose a file </legend>
290
                        <legend> Choose a file </legend>
291
                        [% IF ( dbfiles && (dbfiles.size > 0) ) %]
291
                        [% IF ( dbfiles && (dbfiles.size > 0) ) %]
292
                            <ul>
292
                            <ol>
293
                                [% FOREACH dbfile IN dbfiles %]
293
                                [% FOREACH dbfile IN dbfiles %]
294
                                    <li><input type="radio" name="filename" value="[% dbfile | html %]" />[% dbfile | html %]</li>
294
                                    <li class="radio"><label><input type="radio" name="filename" value="[% dbfile | html %]" />[% dbfile | html %]</label></li>
295
                                [% END %]
295
                                [% END %]
296
                            </ul>
296
                            </ol>
297
                        [% ELSE %]
297
                        [% ELSE %]
298
                            <p style="clear:both">Unfortunately, no backups are available.</p>
298
                            <p style="clear:both">Unfortunately, no backups are available.</p>
299
                        [% END %]
299
                        [% END %]
Lines 316-326 Link Here
316
                    <fieldset class="rows">
316
                    <fieldset class="rows">
317
                        <legend> Choose a file </legend>
317
                        <legend> Choose a file </legend>
318
                        [% IF ( conffiles && (conffiles.size > 0) ) %]
318
                        [% IF ( conffiles && (conffiles.size > 0) ) %]
319
                            <ul>
319
                            <ol>
320
                                [% FOREACH conffile IN conffiles %]
320
                                [% FOREACH conffile IN conffiles %]
321
                                    <li><input type="radio" name="filename" value="[% conffile | html %]">[% conffile | html %]</input></li>
321
                                    <li class="radio"><label><input type="radio" name="filename" value="[% conffile | html %]" />[% conffile | html %]</label></li>
322
                                [% END %]
322
                                [% END %]
323
                                </ul>
323
                            </ol>
324
                        [% ELSE %]
324
                        [% ELSE %]
325
                            <p style="clear:both">Unfortunately, no backups are available.</p>
325
                            <p style="clear:both">Unfortunately, no backups are available.</p>
326
                        [% END %]
326
                        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-6 / +5 lines)
Lines 52-61 Link Here
52
            <main>
52
            <main>
53
                [% INCLUDE 'messages.inc' %]
53
                [% INCLUDE 'messages.inc' %]
54
54
55
    <div class="row">
56
     <div class="col-sm-6">
57
        <h1>Import patrons</h1>
55
        <h1>Import patrons</h1>
56
        <div class="row">
58
        [% IF ( uploadborrowers ) %]
57
        [% IF ( uploadborrowers ) %]
58
            <div class="col-sm-6">
59
            <h2>Import results</h2>
59
            <h2>Import results</h2>
60
            <ul>
60
            <ul>
61
                <li>
61
                <li>
Lines 218-231 Link Here
218
                    </ul>
218
                    </ul>
219
                </div>
219
                </div>
220
            [% END %]
220
            [% END %]
221
            </div>
221
        [% ELSE %]
222
        [% ELSE %]
223
            <div class="col-sm-6">
222
            <ul>
224
            <ul>
223
                <li>Select a file to import into the borrowers table</li>
225
                <li>Select a file to import into the borrowers table</li>
224
                <li>If a card number exists in the table, you can choose whether to ignore the new one or overwrite the old one.</li>
226
                <li>If a card number exists in the table, you can choose whether to ignore the new one or overwrite the old one.</li>
225
            </ul>
227
            </ul>
226
    </div>
227
    <div class="row">
228
        <div class="col-sm-6">
229
228
230
    <form method="post" action="[% SCRIPT_NAME | html %]" enctype="multipart/form-data">
229
    <form method="post" action="[% SCRIPT_NAME | html %]" enctype="multipart/form-data">
231
        [% INCLUDE 'csrf-token.inc' %]
230
        [% INCLUDE 'csrf-token.inc' %]
Lines 391-399 Link Here
391
            <input type="submit" class="btn btn-primary" value="Import" />
390
            <input type="submit" class="btn btn-primary" value="Import" />
392
        </fieldset>
391
        </fieldset>
393
    </form>
392
    </form>
394
[% END %]
395
393
396
</div>
394
</div>
395
[% END %]
397
396
398
<div class="col-sm-6">
397
<div class="col-sm-6">
399
    <div class="page-section bg-info">
398
    <div class="page-section bg-info">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/inventory.tt (-28 / +38 lines)
Lines 16-21 Link Here
16
    [% t("Koha") | html %]
16
    [% t("Koha") | html %]
17
[% END %]</title>
17
[% END %]</title>
18
[% INCLUDE 'doc-head-close.inc' %]
18
[% INCLUDE 'doc-head-close.inc' %]
19
[% FILTER collapse %]
20
    <style>
21
        .branchgridrow {
22
            display: flex;
23
            flex-wrap: wrap;
24
        }
25
    </style>
26
[% END %]
19
</head>
27
</head>
20
28
21
<body id="tools_inventory" class="tools">
29
<body id="tools_inventory" class="tools">
Lines 107-115 Link Here
107
                        <legend>Item location filters</legend>
115
                        <legend>Item location filters</legend>
108
                        <ol>
116
                        <ol>
109
                            <li>
117
                            <li>
110
                                <label for="branch">Location: </label>
118
                                <span class="label">Location: </span>
111
                                <input type="radio" name="branch" value="homebranch"> Home library</input>
119
                                <label><input type="radio" name="branch" value="homebranch" /> Home library</label>
112
                                <input type="radio" name="branch" value="holdingbranch"> Current library</input>
120
                                <label><input type="radio" name="branch" value="holdingbranch" /> Current library</label>
113
                            </li>
121
                            </li>
114
122
115
                            <li>
123
                            <li>
Lines 160-177 Link Here
160
                            <li>
168
                            <li>
161
                                <label for="maxlocation">...and: </label>
169
                                <label for="maxlocation">...and: </label>
162
                                <input type="text" name="maxlocation" id="maxlocation" value="[% maxlocation | html %]" />
170
                                <input type="text" name="maxlocation" id="maxlocation" value="[% maxlocation | html %]" />
163
                                <li>
171
                            </li>
164
                                    <label for="class_source">Call number classification scheme</label>
172
                            <li>
165
                                    <select name="class_source" id="class_source">
173
                                <label for="class_source">Call number classification scheme</label>
166
                                        [% FOREACH class_source IN class_sources %]
174
                                <select name="class_source" id="class_source">
167
                                            [% IF class_source.cn_source == pref_class %]
175
                                    [% FOREACH class_source IN class_sources %]
168
                                                <option value="[% class_source.cn_source | html %]" selected="selected">[% class_source.description | html %] (default)</option>
176
                                        [% IF class_source.cn_source == pref_class %]
169
                                            [% ELSE %]
177
                                            <option value="[% class_source.cn_source | html %]" selected="selected">[% class_source.description | html %] (default)</option>
170
                                                <option value="[% class_source.cn_source | html %]">[% class_source.description | html %]</option>
178
                                        [% ELSE %]
171
                                            [% END %]
179
                                            <option value="[% class_source.cn_source | html %]">[% class_source.description | html %]</option>
172
                                        [% END %]
180
                                        [% END %]
173
                                    </select>
181
                                    [% END %]
174
                                </li>
182
                                </select>
175
                            </li>
183
                            </li>
176
                        </ol>
184
                        </ol>
177
                    </fieldset>
185
                    </fieldset>
Lines 227-247 Link Here
227
                            </li>
235
                            </li>
228
                            <li>
236
                            <li>
229
                                <label>Item types: </label>
237
                                <label>Item types: </label>
230
                                <div class="branchselector">
238
                                <div class="row">
231
                                    <p><a href="#" id="checkallitemtypes"> <i class="fa fa-check"></i> Select all</a> | <a href="#" id="checknoneitemtypes"> <i class="fa fa-times"></i> Clear all</a></p>
239
                                    <div class="col-md-9">
232
                                    <div class="branchgridrow">
240
                                        <div class="branchselector">
233
                                        [% FOREACH itemtype IN itemtypes %]
241
                                            <p><a href="#" id="checkallitemtypes"> <i class="fa fa-check"></i> Select all</a> | <a href="#" id="checknoneitemtypes"> <i class="fa fa-times"></i> Clear all</a></p>
234
                                            <div class="branchgriditem">
242
                                            <div class="branchgridrow">
235
                                                <input id="itemtype-[% itemtype.itemtype | html %]" class="branch_select" type="checkbox" name="itemtype-[% itemtype.itemtype | html %]" value="[% itemtype.itemtype | html %]" />
243
                                                <!-- prettier-ignore-start -->
236
                                                <label for="itemtype-[% itemtype.itemtype | html %]">[% itemtype.description | html %]</label>
244
                                                [% FOREACH itemtype IN itemtypes %]
245
                                                    <div class="branchgriditem">
246
                                                        <input id="itemtype-[% itemtype.itemtype | html %]" class="branch_select" type="checkbox" name="itemtype-[% itemtype.itemtype | html %]" value="[% itemtype.itemtype | html %]" />
247
                                                        <label for="itemtype-[% itemtype.itemtype | html %]">[% itemtype.description | html %]</label>
248
                                                    </div>
249
                                                [% END %]
250
                                                <!-- prettier-ignore-end -->
237
                                            </div>
251
                                            </div>
238
                                            [% IF loop.count() % 4 == 0 && !loop.last() %]
252
                                        </div>
239
                                                </div>
253
                                    </div> <!-- /.col-md-9 -->
240
                                                <div class="branchgridrow">
254
                                </div> <!-- /.row -->
241
                                            [% END %]
242
                                        [% END %]
243
                                    </div>
244
                                </div>
245
                            </li>
255
                            </li>
246
                        </ol>
256
                        </ol>
247
                    </fieldset>
257
                    </fieldset>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt (-1 / +1 lines)
Lines 124-130 Link Here
124
124
125
                [% ELSE %]
125
                [% ELSE %]
126
126
127
                    <h1>[% tx("Actions for template '{template_name}'", template_name = template_name ) | html %]</em></h1>
127
                    <h1>[% tx("Actions for template '{template_name}'", template_name = template_name ) | html %]</h1>
128
128
129
                    [% IF ( ActionsLoop ) %]
129
                    [% IF ( ActionsLoop ) %]
130
                        <div class="page-section">
130
                        <div class="page-section">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt (-2 / +4 lines)
Lines 161-168 Link Here
161
                    <fieldset class="action"><input type="submit" class="btn btn-primary" value="Save changes" /></fieldset>
161
                    <fieldset class="action"><input type="submit" class="btn btn-primary" value="Save changes" /></fieldset>
162
                </form>
162
                </form>
163
            [% ELSE %]
163
            [% ELSE %]
164
                <div class="warning">You don't have patron categories defined, or the patron categories are not set to receive overdue notices.</div>
164
                <div class="alert alert-warning">
165
                <div class="warning">If this is not what you were expecting, go to <a href="../admin/categories.pl">patron categories</p></div>
165
                    <p>You don't have patron categories defined, or the patron categories are not set to receive overdue notices.</p>
166
                    <p>If this is not what you were expecting, go to <a href="/cgi-bin/koha/admin/categories.pl">patron categories</a></p>
167
                </div>
166
            [% END %]
168
            [% END %]
167
169
168
            </main>
170
            </main>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt (-4 / +3 lines)
Lines 139-149 Link Here
139
                                <label for="image">
139
                                <label for="image">
140
                                [% IF ( filetype == 'image' ) %]<input type="radio" id="image" name="filetype" value="image" checked="checked" />[% ELSE %]<input type="radio" id="image" name="filetype" value="image" />[% END %] Image file</label>
140
                                [% IF ( filetype == 'image' ) %]<input type="radio" id="image" name="filetype" value="image" checked="checked" />[% ELSE %]<input type="radio" id="image" name="filetype" value="image" />[% END %] Image file</label>
141
                            </li>
141
                            </li>
142
                            [% IF ( filetype == 'image' ) %]
142
                            [% IF ( filetype != 'image' ) %]
143
                                <li id="cardnum">
143
                                [% SET card_class = "d-none" %]
144
                            [% ELSE %]
145
                                <li id="cardnum" style="display: none">
146
                            [% END %]
144
                            [% END %]
145
                            <li id="cardnum" class="[% card_class | html %]">
147
                                <label for="cardnumber">Enter patron card number: </label>
146
                                <label for="cardnumber">Enter patron card number: </label>
148
                                <input type="text" id="cardnumber" name="cardnumber" value="[% cardnumber | html %]" size="15" />
147
                                <input type="text" id="cardnumber" name="cardnumber" value="[% cardnumber | html %]" size="15" />
149
                                <span class="required">Required</span>
148
                                <span class="required">Required</span>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-1 / +1 lines)
Lines 94-100 Link Here
94
                </li>
94
                </li>
95
                <li>
95
                <li>
96
                    <label for="text" class="required">Text: </label>
96
                    <label for="text" class="required">Text: </label>
97
                    <textarea name="text" id="text" class="required" required="required" />[% quote.text | html %]</textarea>
97
                    <textarea name="text" id="text" class="required" required="required">[% quote.text | html %]</textarea>
98
                    <span class="required">Required</span>
98
                    <span class="required">Required</span>
99
                </li>
99
                </li>
100
            </ol>
100
            </ol>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt (-7 / +9 lines)
Lines 52-64 Link Here
52
                [% INCLUDE 'messages.inc' %]
52
                [% INCLUDE 'messages.inc' %]
53
53
54
        [% FOREACH message IN messages %]
54
        [% FOREACH message IN messages %]
55
          [% IF message.type == 'success' %]
55
            [% SET message_class = "alert-info" %]
56
            <div class="alert alert-info">
56
            [% IF message.type == 'success' %]
57
          [% ELSIF message.type == 'warning' %]
57
                [% message_class = "alert-info" %]
58
            <div class="alert alert-warning">
58
            [% ELSIF message.type == 'warning' %]
59
          [% ELSIF message.type == 'error' %]
59
                [% message_class = "alert-warning" %]
60
            <div class="alert alert-warning" style="margin:auto;">
60
            [% ELSIF message.type == 'error' %]
61
          [% END %]
61
                [% message_class = "alert-warning" %]
62
            [% END %]
63
            <div class="alert [% message_class | html %]">
62
          [% IF message.code == 'cannot_enqueue_job' %]
64
          [% IF message.code == 'cannot_enqueue_job' %]
63
              <span>Cannot enqueue this job.</span>
65
              <span>Cannot enqueue this job.</span>
64
          [% END %]
66
          [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-28 / +28 lines)
Lines 389-395 Link Here
389
                                <p> [% sritemstotal | html %] items are still attached to this rota, those items will remain at their current stage libraries.</p>
389
                                <p> [% sritemstotal | html %] items are still attached to this rota, those items will remain at their current stage libraries.</p>
390
                            [% END %]
390
                            [% END %]
391
                        [% END %]
391
                        [% END %]
392
                        <p>
392
                        <div>
393
                            <form id="delete_rota_[% rota_id | html %]" method="post" action="/cgi-bin/koha/tools/stockrotation.pl">
393
                            <form id="delete_rota_[% rota_id | html %]" method="post" action="/cgi-bin/koha/tools/stockrotation.pl">
394
                                [% INCLUDE 'csrf-token.inc' %]
394
                                [% INCLUDE 'csrf-token.inc' %]
395
                                <input type="hidden" name="op" value="cud-delete_rota" />
395
                                <input type="hidden" name="op" value="cud-delete_rota" />
Lines 397-403 Link Here
397
                                <button class="btn btn-default btn-xs approve" type="submit"><i class="fa fa-fw fa-check"></i> Yes</button>
397
                                <button class="btn btn-default btn-xs approve" type="submit"><i class="fa fa-fw fa-check"></i> Yes</button>
398
                            </form>
398
                            </form>
399
                            <a class="btn btn-default btn-xs deny" href="/cgi-bin/koha/tools/stockrotation.pl"><i class="fa fa-fw fa-times"></i> No</a>
399
                            <a class="btn btn-default btn-xs deny" href="/cgi-bin/koha/tools/stockrotation.pl"><i class="fa fa-fw fa-times"></i> No</a>
400
                        </p>
400
                        </div>
401
                    </div>
401
                    </div>
402
                [% ELSIF (op == 'confirm_delete_stage') %]
402
                [% ELSIF (op == 'confirm_delete_stage') %]
403
403
Lines 411-417 Link Here
411
                                [% END %]
411
                                [% END %]
412
                            </ul>
412
                            </ul>
413
                        [% END %]
413
                        [% END %]
414
                        <p>
414
                        <div>
415
                            <form id="delete_stage_[% stage.stage_id | html %]" method="post" action="/cgi-bin/koha/tools/stockrotation.pl">
415
                            <form id="delete_stage_[% stage.stage_id | html %]" method="post" action="/cgi-bin/koha/tools/stockrotation.pl">
416
                                [% INCLUDE 'csrf-token.inc' %]
416
                                [% INCLUDE 'csrf-token.inc' %]
417
                                <input type="hidden" name="op" value="cud-delete_stage" />
417
                                <input type="hidden" name="op" value="cud-delete_stage" />
Lines 419-425 Link Here
419
                                <button class="btn btn-default btn-xs approve" type="submit"><i class="fa fa-fw fa-check"></i> Yes</button>
419
                                <button class="btn btn-default btn-xs approve" type="submit"><i class="fa fa-fw fa-check"></i> Yes</button>
420
                            </form>
420
                            </form>
421
                            <a class="btn btn-default btn-xs deny" href="?op=manage_stages&amp;rota_id=[% stage.rota.rota_id | uri %]"><i class="fa fa-fw fa-times"></i> No</a>
421
                            <a class="btn btn-default btn-xs deny" href="?op=manage_stages&amp;rota_id=[% stage.rota.rota_id | uri %]"><i class="fa fa-fw fa-times"></i> No</a>
422
                        </p>
422
                        </div>
423
                    </div>
423
                    </div>
424
                [% ELSIF (op == 'manage_items') %]
424
                [% ELSIF (op == 'manage_items') %]
425
425
Lines 514-525 Link Here
514
                                            </td>
514
                                            </td>
515
                                            <td>
515
                                            <td>
516
                                                [%- FOREACH this_stage IN stages -%]
516
                                                [%- FOREACH this_stage IN stages -%]
517
                                                    [% SET stage_class = "stage" %]
517
                                                    [%- IF this_stage.stage_id == sritem.stage.stage_id -%]
518
                                                    [%- IF this_stage.stage_id == sritem.stage.stage_id -%]
518
                                                        <span class="stage highlight_stage">
519
                                                        [% stage_class = stage_class _ " highlight_stage" %]
519
                                                    [%- ELSE -%]
520
                                                        <span class="stage">
521
                                                    [%- END -%]
520
                                                    [%- END -%]
522
                                                    [%- Branches.GetName(this_stage.branchcode_id) | html -%] ([%- this_stage.duration | html -%])
521
                                                    <span class="[% stage_class | html %]">
522
                                                        [%- Branches.GetName(this_stage.branchcode_id) | html -%] ([%- this_stage.duration | html -%])
523
                                                    </span>&raquo;
523
                                                    </span>&raquo;
524
                                                [%- END -%]
524
                                                [%- END -%]
525
                                                [%- IF stages.size > 0 -%]
525
                                                [%- IF stages.size > 0 -%]
Lines 530-559 Link Here
530
                                                [%- IF stages.size < 2 -%]
530
                                                [%- IF stages.size < 2 -%]
531
                                                    <a class="btn btn-default btn-xs" title="Rota has a single stage, advancing will have no effect" disabled>
531
                                                    <a class="btn btn-default btn-xs" title="Rota has a single stage, advancing will have no effect" disabled>
532
                                                [%- ELSE -%]
532
                                                [%- ELSE -%]
533
                                                    [%- IF !transfer -%]
533
                                                    [% SET button_title = "" %]
534
                                                        <a id="move_to_next_stage_[% sritem.id | html %]_[% rota.id | html %]" class="btn btn-default btn-xs submit-form-link" href="#" data-item_id="[% sritem.id | html %]" data-rota_id="[% rota.id | html %]" date-stage_id="[% sritem.stage.stage_id | html %]" data-action="/cgi-bin/koha/tools/stockrotation.pl" data-method="post" data-op="cud-move_to_next_stage">
534
                                                    [% IF transfer %]
535
                                                    [%- ELSE -%]
535
                                                        [% button_title = "Item is in transit, it will be directed to new stage when checked in" %]
536
                                                        <a id="move_to_next_stage_[% sritem.id | html %]_[% rota.id | html %]" class="btn btn-default btn-xs submit-form-link" href="#" data-item_id="[% sritem.id | html %]" data-rota_id="[% rota.id | html %]" date-stage_id="[% sritem.stage.stage_id | html %]" data-action="/cgi-bin/koha/tools/stockrotation.pl" data-method="post" data-op="cud-move_to_next_stage" title="Item is in transit, it will be directed to new stage when checked in">
536
                                                    [% END %]
537
                                                    [%- END -%]
537
                                                    <a id="move_to_next_stage_[% sritem.id | html %]_[% rota.id | html %]" class="btn btn-default btn-xs submit-form-link" href="#" data-item_id="[% sritem.id | html %]" data-rota_id="[% rota.id | html %]" date-stage_id="[% sritem.stage.stage_id | html %]" data-action="/cgi-bin/koha/tools/stockrotation.pl" data-method="post" data-op="cud-move_to_next_stage" title="[% button_title | html %]">
538
                                                        <i class="fa fa-arrow-right"></i> Move to next stage</a>
538
                                                    <i class="fa fa-arrow-right"></i> Move to next stage</a>
539
                                                [%- END -%]
539
                                                [%- END -%]
540
540
541
                                                [%- IF !transfer -%]
541
                                                [%- IF !transfer -%]
542
                                                        <a id="toggle_in_demand_[% sritem.id | html %]_[% rota.id | html %]" class="btn btn-default btn-xs submit-form-link" href="#" data-item_id="[% sritem.id | html %]" data-rota_id="[% rota.id | html %]" date-stage_id="[% sritem.stage.stage_id | html %]" data-action="/cgi-bin/koha/tools/stockrotation.pl" data-method="post" data-op="cud-toggle_in_demand" title="Item is in transit, it will be directed to new stage when checked in">
542
                                                    <a id="toggle_in_demand_[% sritem.id | html %]_[% rota.id | html %]" class="btn btn-default btn-xs submit-form-link" href="#" data-item_id="[% sritem.id | html %]" data-rota_id="[% rota.id | html %]" date-stage_id="[% sritem.stage.stage_id | html %]" data-action="/cgi-bin/koha/tools/stockrotation.pl" data-method="post" data-op="cud-toggle_in_demand" title="Item is in transit, it will be directed to new stage when checked in">
543
                                                        [%- IF sritem.indemand -%]
543
                                                        [%- IF sritem.indemand -%]
544
                                                            <i class="fa fa-fire"></i> Remove &quot;In demand&quot;</button>
544
                                                            <i class="fa fa-fire"></i> Remove &quot;In demand&quot;
545
                                                        [%- ELSE -%]
545
                                                        [%- ELSE -%]
546
                                                            <i class="fa fa-fire"></i> Add &quot;In demand&quot;</button>
546
                                                            <i class="fa fa-fire"></i> Add &quot;In demand&quot;
547
                                                        [%- END -%]
547
                                                        [%- END -%]
548
                                                    </a>
548
                                                    </a>
549
                                                [%- END -%]
549
                                                [%- END -%]
550
550
551
                                                [%- IF !transfer -%]
551
                                                [%- IF !transfer -%]
552
                                                    <a id="remove_item_from_stage_[% item_id | html %]_[% rota.id | html %]" class="btn btn-default btn-xs submit-form-link" action="/cgi-bin/koha/tools/stockrotation.pl" data-op="cud-remove_item_from_stage" data-item_id="[% sritem.id | html %]" data-stage_id="[% sritem.stage.stage_id | html %]" data-rota_id="[% rota.id | html %]" data-method="post" data-confirmation-msg="[% t('Are you sure you wish to remove this item from its rota?') | html %]">
552
                                                    <a id="remove_item_from_stage_[% item_id | html %]_[% rota.id | html %]" class="btn btn-default btn-xs submit-form-link" action="/cgi-bin/koha/tools/stockrotation.pl" data-op="cud-remove_item_from_stage" data-item_id="[% sritem.id | html %]" data-stage_id="[% sritem.stage.stage_id | html %]" data-rota_id="[% rota.id | html %]" data-method="post" data-confirmation-msg="[% t('Are you sure you wish to remove this item from its rota?') | html %]">
553
                                                    <i class="fa fa-trash-can"></i> Remove from rota</a>
553
                                                [%- ELSE -%]
554
                                                [%- ELSE -%]
554
                                                    <a class="btn btn-default btn-xs" disabled="disabled">
555
                                                    <a class="btn btn-default btn-xs" disabled="disabled"><i class="fa fa-trash-can"></i> Remove from rota</a>
555
                                                [%- END -%]
556
                                                [%- END -%]
556
                                                    <i class="fa fa-trash-can"></i>Remove from rota</a>
557
                                            </td>
557
                                            </td>
558
                                        </tr>
558
                                        </tr>
559
                                    [% END %]
559
                                    [% END %]
Lines 640-658 Link Here
640
                [% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
640
                [% IF ( op == 'manage_stages' || op == 'manage_items' ) %]
641
                    <div id="menu">
641
                    <div id="menu">
642
                        <ul>
642
                        <ul>
643
                            [% SET item_class = "" %]
643
                            [% IF op == 'manage_stages' %]
644
                            [% IF op == 'manage_stages' %]
644
                                <li class="active">
645
                                [% item_class = "active" %]
645
                            [% ELSE %]
646
                                <li>
647
                            [% END %]
646
                            [% END %]
648
                                    <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_stages&amp;rota_id=[% rota_id | uri %]">Manage stages</a>
647
                            <li class="[% item_class | html %]">
649
                                </li>
648
                                <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_stages&amp;rota_id=[% rota_id | uri %]">Manage stages</a>
649
                            </li>
650
                            [% SET item_class = "" %]
650
                            [% IF op == 'manage_items' %]
651
                            [% IF op == 'manage_items' %]
651
                                <li class="active">
652
                                [% item_class = "active" %]
652
                            [% ELSE %]
653
                                <li>
654
                            [% END %]
653
                            [% END %]
655
                                    <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_items&amp;rota_id=[% rota_id | uri %]">Manage items</a>
654
                            <li class="[% item_class | html %]">
655
                                <a href="/cgi-bin/koha/tools/stockrotation.pl?op=manage_items&amp;rota_id=[% rota_id | uri %]">Manage items</a>
656
                            </li>
656
                            </li>
657
                        </ul>
657
                        </ul>
658
                    </div>
658
                    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload-images.tt (-11 / +11 lines)
Lines 178-187 Link Here
178
178
179
                <div class="row">
179
                <div class="row">
180
                    [% IF ( cover_images ) %]
180
                    [% IF ( cover_images ) %]
181
                        <div class="col-sm-9">
181
                        [% SET column_class = "col-sm-9" %]
182
                    [% ELSE %]
182
                    [% ELSE %]
183
                        <div class="col-sm-12">
183
                        [% SET column_class = "col-sm-12" %]
184
                    [% END %]
184
                    [% END %]
185
                    <div class="[% column_class | html %]">
185
186
186
                        <form method="get" action="/cgi-bin/koha/tools/upload-cover-image.pl" id="uploadfile" enctype="multipart/form-data">
187
                        <form method="get" action="/cgi-bin/koha/tools/upload-cover-image.pl" id="uploadfile" enctype="multipart/form-data">
187
                            <fieldset class="rows" >
188
                            <fieldset class="rows" >
Lines 247-259 Link Here
247
                                    [% END %]
248
                                    [% END %]
248
                                    <li class="radio">
249
                                    <li class="radio">
249
                                        <label for="replace">
250
                                        <label for="replace">
250
                                        [% IF AllowMultipleCovers == 0 %]
251
                                            [% IF AllowMultipleCovers == 0 %]
251
                                            <input type="checkbox" id="replace" name="replace" value="" disabled="disabled" checked="checked" />
252
                                                <input type="checkbox" id="replace" name="replace" value="" disabled="disabled" checked="checked" />
252
                                            Existing covers will be replaced
253
                                                Existing covers will be replaced
253
                                        [% ELSE %]
254
                                            [% ELSE %]
254
                                            <input type="checkbox" id="replace" name="replace" value="1" />
255
                                                <input type="checkbox" id="replace" name="replace" value="1" />
255
                                            Replace existing covers
256
                                                Replace existing covers
256
                                        [% END %]
257
                                            [% END %]
258
                                        </label>
257
                                    </li>
259
                                    </li>
258
                                </ol>
260
                                </ol>
259
                            </fieldset>
261
                            </fieldset>
Lines 310-317 Link Here
310
        var biblionumber = "[% biblionumber | html %]";
312
        var biblionumber = "[% biblionumber | html %]";
311
    </script>
313
    </script>
312
    [% Asset.js("js/upload-images.js") | $raw %]
314
    [% Asset.js("js/upload-images.js") | $raw %]
313
314
    </script>
315
[% END %]
315
[% END %]
316
316
317
[% INCLUDE 'intranet-bottom.inc' %]
317
[% INCLUDE 'intranet-bottom.inc' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-1 / +5 lines)
Lines 294-300 Link Here
294
                                            [% ELSIF loopro.module == "SYSTEMPREFERENCE" || loopro.module == "REPORTS" || loopro.module == "NEWS" %]
294
                                            [% ELSIF loopro.module == "SYSTEMPREFERENCE" || loopro.module == "REPORTS" || loopro.module == "NEWS" %]
295
                                                <div class="loginfo" id="loginfo[% loopro.action_id | html %]">[% loopro.info | trim | html %]</div>
295
                                                <div class="loginfo" id="loginfo[% loopro.action_id | html %]">[% loopro.info | trim | html %]</div>
296
                                                <div class="compare_info" id="compare_info[% loopro.action_id | html %]">
296
                                                <div class="compare_info" id="compare_info[% loopro.action_id | html %]">
297
                                                    <label><input type="checkbox" name="diff" id="action_id[% loopro.action_id | html %]" data-actionid="[% loopro.action_id | html %]" data-filter="[% FOREACH info IN loopro.info.split(' \| ') %][% IF loop.first %][% info | html %][% END %][% END %]" class="compare" /> Compare</label>
297
                                                    <!-- prettier-ignore-start -->
298
                                                    <label>
299
                                                        [% SET split_info = loopro.info.split(' \| ') %]
300
                                                        <input type="checkbox" name="diff" id="action_id[% loopro.action_id | html %]" data-actionid="[% loopro.action_id | html %]" data-filter="[% FOREACH info IN split_info %][% IF loop.first %][% info | html %][% END %][% END %]" class="compare" /> Compare</label>
301
                                                    <!-- prettier-ignore-end -->
298
                                                </div>
302
                                                </div>
299
                                            [% ELSIF loopro.module == "NOTICES" %]
303
                                            [% ELSIF loopro.module == "NOTICES" %]
300
                                                <div class="loginfo" id="loginfo[% loopro.action_id | html %]">[% loopro.info | trim | html %]</div>
304
                                                <div class="loginfo" id="loginfo[% loopro.action_id | html %]">[% loopro.info | trim | html %]</div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-14 / +16 lines)
Lines 287-319 Link Here
287
                                        [% UNLESS ( item_level_itypes ) %]
287
                                        [% UNLESS ( item_level_itypes ) %]
288
                                            <th>Item type</th>
288
                                            <th>Item type</th>
289
                                        [% END %]
289
                                        [% END %]
290
                                        [% SET sort_class = 'dt-orderable-asc dt-orderable-desc' %]
290
                                        [% IF sortfield == 'title' %]
291
                                        [% IF sortfield == 'title' %]
291
                                            <th class="sorting_[% direction | html %]">
292
                                            [% sort_class = sort_class _ " dt-ordering-" _ direction %]
292
                                        [% ELSE %]
293
                                            <th class="sorting">
294
                                        [% END %]
293
                                        [% END %]
294
                                        <th class="[% sort_class | html %]">
295
                                            <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;sortfield=title&amp;direction=[% IF sortfield != 'title' %]asc[% ELSE %][% new_direction | uri %][% END %]">Title</a>
295
                                            <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;sortfield=title&amp;direction=[% IF sortfield != 'title' %]asc[% ELSE %][% new_direction | uri %][% END %]">Title</a>
296
                                            <span class="dt-column-order"></span>
296
                                        </th>
297
                                        </th>
298
                                        [% SET sort_class = 'dt-orderable-asc dt-orderable-desc' %]
297
                                        [% IF sortfield == 'author' %]
299
                                        [% IF sortfield == 'author' %]
298
                                            <th class="sorting_[% direction | html %]">
300
                                            [% sort_class = sort_class _ " dt-ordering-" _ direction %]
299
                                        [% ELSE %]
300
                                            <th class="sorting">
301
                                        [% END %]
301
                                        [% END %]
302
                                        <th class="[% sort_class | html %]">
302
                                            <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;sortfield=author&amp;direction=[% IF sortfield != 'author' %]asc[% ELSE %][% new_direction | uri %][% END %]">Author</a>
303
                                            <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;sortfield=author&amp;direction=[% IF sortfield != 'author' %]asc[% ELSE %][% new_direction | uri %][% END %]">Author</a>
304
                                            <span class="dt-column-order"></span>
303
                                        </th>
305
                                        </th>
306
                                        [% SET sort_class = 'dt-orderable-asc dt-orderable-desc' %]
304
                                        [% IF sortfield == 'dateadded' %]
307
                                        [% IF sortfield == 'dateadded' %]
305
                                            <th class="sorting_[% direction | html %]">
308
                                            [% sort_class = sort_class _ " dt-ordering-" _ direction %]
306
                                        [% ELSE %]
307
                                            <th class="sorting">
308
                                        [% END %]
309
                                        [% END %]
310
                                        <th class="[% sort_class | html %]">
309
                                            <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;sortfield=dateadded&amp;direction=[% IF sortfield != 'dateadded' %]asc[% ELSE %][% new_direction | uri %][% END %]">Date added</a>
311
                                            <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;sortfield=dateadded&amp;direction=[% IF sortfield != 'dateadded' %]asc[% ELSE %][% new_direction | uri %][% END %]">Date added</a>
312
                                            <span class="dt-column-order"></span>
310
                                        </th>
313
                                        </th>
314
                                        [% SET sort_class = 'dt-orderable-asc dt-orderable-desc' %]
311
                                        [% IF sortfield == 'itemcallnumber' %]
315
                                        [% IF sortfield == 'itemcallnumber' %]
312
                                            <th class="sorting_[% direction | html %]">
316
                                            [% sort_class = sort_class _ " dt-ordering-" _ direction %]
313
                                        [% ELSE %]
314
                                            <th class="sorting">
315
                                        [% END %]
317
                                        [% END %]
318
                                        <th class="[% sort_class | html %]">
316
                                            <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;sortfield=itemcallnumber&amp;direction=[% IF sortfield != 'itemcallnumber' %]asc[% ELSE %][% new_direction | uri %][% END %]">Call number</a>
319
                                            <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&amp;shelfnumber=[% shelf.shelfnumber | uri %]&amp;sortfield=itemcallnumber&amp;direction=[% IF sortfield != 'itemcallnumber' %]asc[% ELSE %][% new_direction | uri %][% END %]">Call number</a>
320
                                            <span class="dt-column-order"></span>
317
                                        </th>
321
                                        </th>
318
                                    </tr>
322
                                    </tr>
319
                                </thead>
323
                                </thead>
Lines 337-343 Link Here
337
                                                [% itemsloo.XSLTBloc | $raw %]
341
                                                [% itemsloo.XSLTBloc | $raw %]
338
                                            [% ELSE %]
342
                                            [% ELSE %]
339
                                                [% INCLUDE 'biblio-title.inc' biblio=itemsloo link = 1 %]
343
                                                [% INCLUDE 'biblio-title.inc' biblio=itemsloo link = 1 %]
340
                                                </a>
341
                                            [% END %]
344
                                            [% END %]
342
                                            <p class="hold">
345
                                            <p class="hold">
343
                                                [% IF ( itemsloo.notforloan ) %]
346
                                                [% IF ( itemsloo.notforloan ) %]
344
- 

Return to bug 38664