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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-23 / +22 lines)
Lines 96-104 Link Here
96
                    [% ELSE %]
96
                    [% ELSE %]
97
                        <a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a>
97
                        <a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a>
98
                    [% END %]
98
                    [% END %]
99
              </fieldset>
99
                </fieldset>
100
            </div>
100
            </div> <!-- /.dialog.message -->
101
        [% END %]
101
        [% END # /IF show %]
102
102
103
        [% IF ( barcode_not_unique ) %]
103
        [% IF ( barcode_not_unique ) %]
104
            <div class="dialog alert">
104
            <div class="dialog alert">
Lines 132-138 Link Here
132
                    <h4>The following barcodes were found: </h4>
132
                    <h4>The following barcodes were found: </h4>
133
                [% END %]
133
                [% END %]
134
            [% END %]
134
            [% END %]
135
        [% END %] <!-- /notfoundbarcodes -->
135
        [% END # /IF notfoundbarcodes.size %]
136
136
137
        [% IF ( notfounditemnumbers.size ) %]
137
        [% IF ( notfounditemnumbers.size ) %]
138
            <div class="dialog alert">
138
            <div class="dialog alert">
Lines 154-160 Link Here
154
                    <h4>The following itemnumbers were found: </h4>
154
                    <h4>The following itemnumbers were found: </h4>
155
                [% END %]
155
                [% END %]
156
            [% END %]
156
            [% END %]
157
        [% END %] <!-- /notfounditemnumbers -->
157
        [% END # /IF notfounditemnumbers.size %]
158
158
159
159
160
        <form name="f" action="batchMod.pl" method="post">
160
        <form name="f" action="batchMod.pl" method="post">
Lines 194-200 Link Here
194
                                <label for="checkheader[% loop.count | html %]">[% item_header_loo.header_value | html %]</label>
194
                                <label for="checkheader[% loop.count | html %]">[% item_header_loo.header_value | html %]</label>
195
                            </span>
195
                            </span>
196
                        [% END %]
196
                        [% END %]
197
                    </p>
197
                    </p> <!-- /#selections -->
198
198
199
                    <table id="itemst">
199
                    <table id="itemst">
200
                        <thead>
200
                        <thead>
Lines 242-248 Link Here
242
                                            [% ELSE %]
242
                                            [% ELSE %]
243
                                                <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="No holds on this record" >
243
                                                <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% item_loo.biblionumber | uri %]" title="No holds on this record" >
244
                                            [% END %]
244
                                            [% END %]
245
                                        [% END %]
245
                                        [% END # /IF item_loo.holds %]
246
                                        [% IF item_loo.holds %]
246
                                        [% IF item_loo.holds %]
247
                                            [% item_loo.item_holds | html %]/[% item_loo.holds | html %]
247
                                            [% item_loo.item_holds | html %]/[% item_loo.holds | html %]
248
                                        [% ELSE %]
248
                                        [% ELSE %]
Lines 256-266 Link Here
256
                                        </td>
256
                                        </td>
257
                                    [% END %]
257
                                    [% END %]
258
                                </tr>
258
                                </tr>
259
                            [% END %]
259
                            [% END # /FOREACH item_loo %]
260
                        </tbody>
260
                        </tbody>
261
                    </table>
261
                    </table> <!-- /#itemst -->
262
                </div>
262
                </div> <!-- /#cataloguing_additem_itemlist -->
263
            [% END %]<!-- /item_loop -->
263
            [% END # /IF item_loop %]
264
264
265
            [% IF ( simple_items_display || job_completed ) %]
265
            [% IF ( simple_items_display || job_completed ) %]
266
                [% IF ( too_many_items_display ) %]
266
                [% IF ( too_many_items_display ) %]
Lines 274-281 Link Here
274
                            </li>
274
                            </li>
275
                        [% END %]
275
                        [% END %]
276
                    </ul>
276
                    </ul>
277
                [% END %]
277
                [% END # /IF too_many_items_display %]
278
            [% END %]<!-- /simple_items_display -->
278
            [% END # /IF simple_items_display %]
279
279
280
            [% IF ( show ) %]
280
            [% IF ( show ) %]
281
281
Lines 286-292 Link Here
286
                    [% FOREACH itemnumber IN itemnumbers_array %]
286
                    [% FOREACH itemnumber IN itemnumbers_array %]
287
                        <input type="hidden" name="itemnumber" value="[% itemnumber | html %]" />
287
                        <input type="hidden" name="itemnumber" value="[% itemnumber | html %]" />
288
                    [% END %]
288
                    [% END %]
289
                [% END %]<!-- /too_many_items -->
289
                [% END # /IF too_many_items_process %]
290
290
291
                [% UNLESS (too_many_items_process) %]
291
                [% UNLESS (too_many_items_process) %]
292
                    <div id="cataloguing_additem_newitem">
292
                    <div id="cataloguing_additem_newitem">
Lines 334-340 Link Here
334
                                                <input type="hidden" tabindex="1" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="255" value="[%- mv.value | html -%]" />
334
                                                <input type="hidden" tabindex="1" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="255" value="[%- mv.value | html -%]" />
335
                                            [% ELSIF ( mv.type == 'textarea' ) %]
335
                                            [% ELSIF ( mv.type == 'textarea' ) %]
336
                                                <textarea tabindex="1" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="255">[%- mv.value | html -%]"</textarea>
336
                                                <textarea tabindex="1" id="[%- mv.id | html -%]" name="field_value" class="input_marceditor" size="50" maxlength="255">[%- mv.value | html -%]"</textarea>
337
                                            [%- END -%]
337
                                            [%- END # /IF mv.type == ... -%]
338
338
339
                                            <span name="regex_fields" style="display: none;">
339
                                            <span name="regex_fields" style="display: none;">
340
                                                s/<input type="text" id="[% mv.id | html %]" name="regex_search" placeholder="regex pattern" />/
340
                                                s/<input type="text" id="[% mv.id | html %]" name="regex_search" placeholder="regex pattern" />/
Lines 361-369 Link Here
361
                                                </a>
361
                                                </a>
362
                                            [% END %]
362
                                            [% END %]
363
                                            <span class="hint" id="hint[% ite.tag | html %][% ite.subfield | html %][% ite.random | html %]"></span>
363
                                            <span class="hint" id="hint[% ite.tag | html %][% ite.subfield | html %][% ite.random | html %]"></span>
364
                                        </div>
364
                                        </div> <!-- /.subfield_line -->
365
                                    </li>
365
                                    </li>
366
                                [% END %]
366
                                [% END # /FOREACH ite %]
367
                            </ol>
367
                            </ol>
368
                        </fieldset>
368
                        </fieldset>
369
369
Lines 391-401 Link Here
391
                            <input type="submit" id="mainformsubmit" value="Save" />
391
                            <input type="submit" id="mainformsubmit" value="Save" />
392
                            <a href="/cgi-bin/koha/tools/batchMod.pl" class="cancel">Cancel</a>
392
                            <a href="/cgi-bin/koha/tools/batchMod.pl" class="cancel">Cancel</a>
393
                        </fieldset>
393
                        </fieldset>
394
                    </div>
394
                    </div> <!-- /#cataloguing_additem_newitem -->
395
                [% ELSE %]
395
                [% ELSE %]
396
                    <p><a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a></p>
396
                    <p><a href="/cgi-bin/koha/tools/batchMod.pl">Return to batch item modification</a></p>
397
                [% END %]
397
                [% END # /UNLESS too_many_items_process %]
398
            [% ELSE %] <!-- // show -->
398
            [% ELSE # IF show %]
399
                <fieldset class="action">
399
                <fieldset class="action">
400
                    [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
400
                    [% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%]
401
                        [% IF searchid %]
401
                        [% IF searchid %]
Lines 408-414 Link Here
408
                    [% ELSE %]
408
                    [% ELSE %]
409
                        <a class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-check-square-o"></i> Return to batch item modification</a>
409
                        <a class="btn btn-default" href="/cgi-bin/koha/tools/batchMod.pl"><i class="fa fa-check-square-o"></i> Return to batch item modification</a>
410
                    [% END %]
410
                    [% END %]
411
                </fieldset>
411
                </fieldset> <!-- /.action -->
412
            [% END %]
412
            [% END #/IF show %]
413
        </form>
413
        </form>
414
[% INCLUDE 'intranet-bottom.inc' %]
414
[% INCLUDE 'intranet-bottom.inc' %]
415
- 

Return to bug 26959