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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-14 / +17 lines)
Lines 229-238 Link Here
229
229
230
                    [% INCLUDE 'serials-toolbar.inc' %]
230
                    [% INCLUDE 'serials-toolbar.inc' %]
231
231
232
                    [% IF ( done_searched ) %]
232
                    [% IF ( mana ) %]
233
                        <h2>Serials subscriptions ([% total | html %] found)</h2>
233
                        [% IF ( done_searched ) %]
234
                            <h2>Mana subscriptions ([% total | html %] found)</h2>
235
                        [% ELSE %]
236
                            <h2>Mana subscriptions search</h2>
237
                        [% END %]
234
                    [% ELSE %]
238
                    [% ELSE %]
235
                        <h2>Serials subscriptions search</h2>
239
                        [% IF ( done_searched ) %]
240
                            <h2>Serials subscriptions ([% total | html %] found)</h2>
241
                        [% ELSE %]
242
                            <h2>Serials subscriptions search</h2>
243
                        [% END %]
236
                    [% END %]
244
                    [% END %]
237
245
238
                    [% UNLESS ( done_searched ) %]
246
                    [% UNLESS ( done_searched ) %]
Lines 255-261 Link Here
255
                                                <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
263
                                                <input type="text" id="ean" name="EAN_filter" value="[% EAN_filter | html %]" />
256
                                            </li>
264
                                            </li>
257
                                        [% END %]
265
                                        [% END %]
258
                                        <li>
266
                                        <li class="local">
259
                                            <label for="callnumber">Call number:</label>
267
                                            <label for="callnumber">Call number:</label>
260
                                            <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter | html %]" />
268
                                            <input type="text" id="callnumber" name="callnumber_filter" value="[% callnumber_filter | html %]" />
261
                                        </li>
269
                                        </li>
Lines 263-273 Link Here
263
                                            <label for="publisher">Publisher:</label>
271
                                            <label for="publisher">Publisher:</label>
264
                                            <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
272
                                            <input type="text" id="publisher" name="publisher_filter" value="[% publisher_filter | html %]" />
265
                                        </li>
273
                                        </li>
266
                                        <li>
274
                                        <li class="local">
267
                                            <label for="bookseller">Vendor:</label>
275
                                            <label for="bookseller">Vendor:</label>
268
                                            <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter | html %]" />
276
                                            <input type="text" id="bookseller" name="bookseller_filter" value="[% bookseller_filter | html %]" />
269
                                        </li>
277
                                        </li>
270
                                        <li>
278
                                        <li class="local">
271
                                            <label for="branch">Library:</label>
279
                                            <label for="branch">Library:</label>
272
                                            <select id="branch" name="branch_filter">
280
                                            <select id="branch" name="branch_filter">
273
                                                <option value="">All</option>
281
                                                <option value="">All</option>
Lines 275-285 Link Here
275
                                                [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
283
                                                [% PROCESS options_for_libraries libraries => Branches.all( selected => branch_filter, unfiltered => 1 ) %]
276
                                            </select>
284
                                            </select>
277
                                        </li>
285
                                        </li>
278
                                        <li>
286
                                        <li class="local">
279
                                            <label for="location">Location:</label>
287
                                            <label for="location">Location:</label>
280
                                            [% PROCESS 'av-build-dropbox.inc' name="location_filter", category="LOC", default=location_filter, all=1 %]
288
                                            [% PROCESS 'av-build-dropbox.inc' name="location_filter", category="LOC", default=location_filter, all=1 %]
281
                                        </li>
289
                                        </li>
282
                                        <li>
290
                                        <li class="local">
283
                                            <label for="to">Expires before:</label>
291
                                            <label for="to">Expires before:</label>
284
                                            <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="flatpickr" />
292
                                            <input type="text" id="to" name="expiration_date_filter" value="[% expiration_date_filter | $KohaDates %]" size="10" maxlength="10" class="flatpickr" />
285
                                        </li>
293
                                        </li>
Lines 518-528 Link Here
518
            });
526
            });
519
527
520
            [% IF ( mana ) %]
528
            [% IF ( mana ) %]
521
                $("label[for=callnumber], input#callnumber").hide();
529
                $(".local").hide();
522
                $("label[for=bookseller], input#bookseller").hide();
523
                $("label[for=branch], select#branch").hide();
524
                $("label[for=to], input#to").hide();
525
                $("label[for=location], select#location_filter").hide();
526
                [% FOR field IN additional_fields_for_subscription %]
530
                [% FOR field IN additional_fields_for_subscription %]
527
                      $("label[for=additional_field_[% field.id | $raw %]], input#additional_field_[% field.id | $raw %]").hide();
531
                      $("label[for=additional_field_[% field.id | $raw %]], input#additional_field_[% field.id | $raw %]").hide();
528
                [% END %]
532
                [% END %]
529
- 

Return to bug 29301