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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-39 / +42 lines)
Lines 201-254 Link Here
201
                                        <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
201
                                        <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
202
                                        | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
202
                                        | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
203
                                    </div>
203
                                    </div>
204
                                    <table id="biblios" class="records">
204
                                    <div class="page-section">
205
                                        <thead>
205
                                        <table id="biblios" class="records">
206
                                            <tr>
206
                                            <thead>
207
                                                <th>&nbsp;</th>
208
                                                <th>Biblionumber</th>
209
                                                <th>Title</th>
210
                                                <th>&nbsp;</th>
211
                                            </tr>
212
                                        </thead>
213
                                        <tbody>
214
                                            [% FOR biblio IN records %]
215
                                                <tr>
207
                                                <tr>
216
                                                    <td><input type="checkbox" name="record_id" value="[% biblio.biblionumber | html %]" /></td>
208
                                                    <th>&nbsp;</th>
217
                                                    <td>[% biblio.biblionumber | html %]</td>
209
                                                    <th>Biblionumber</th>
218
                                                    <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.title | html %]</a></td>
210
                                                    <th>Title</th>
219
                                                    <td class="actions">
211
                                                    <th>&nbsp;</th>
220
                                                        <a href="/cgi-bin/koha/svc/records/preview?record_type=biblio&record_id=[% biblio.biblionumber | uri %]&mmtid=[% mmtid | uri %]&overlay_context=batchmod" class="previewMARC btn btn-default btn-xs" data-record_type="biblio" data-record_id="[% biblio.biblionumber | html %]" data-mmtid="[% mmtid | html %]" title="Preview MARC"><i class="fa fa-eye"></i> Show MARC</a>
221
                                                    </td>
222
                                                </tr>
212
                                                </tr>
223
                                            [% END %]
213
                                            </thead>
224
                                        </tbody>
214
                                            <tbody>
225
                                    </table> <!-- /#biblios -->
215
                                                [% FOR biblio IN records %]
216
                                                    <tr>
217
                                                        <td><input type="checkbox" name="record_id" value="[% biblio.biblionumber | html %]" /></td>
218
                                                        <td>[% biblio.biblionumber | html %]</td>
219
                                                        <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio.biblionumber | uri %]">[% biblio.title | html %]</a></td>
220
                                                        <td class="actions">
221
                                                            <a href="/cgi-bin/koha/svc/records/preview?record_type=biblio&record_id=[% biblio.biblionumber | uri %]&mmtid=[% mmtid | uri %]&overlay_context=batchmod" class="previewMARC btn btn-default btn-xs" data-record_type="biblio" data-record_id="[% biblio.biblionumber | html %]" data-mmtid="[% mmtid | html %]" title="Preview MARC"><i class="fa fa-eye"></i> Show MARC</a>
222
                                                        </td>
223
                                                    </tr>
224
                                                [% END %]
225
                                            </tbody>
226
                                        </table> <!-- /#biblios -->
227
                                    </div>
226
                                    <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected biblios!</div>
228
                                    <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected biblios!</div>
227
                                [% ELSE %]
229
                                [% ELSE %]
228
                                    <div class="btn-toolbar selections-toolbar">
230
                                    <div class="btn-toolbar selections-toolbar">
229
                                        <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
231
                                        <a id="selectall" href="#"><i class="fa fa-check"></i> Select all</a>
230
                                        | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
232
                                        | <a id="clearall" href="#"><i class="fa fa-remove"></i> Clear all</a>
231
                                    </div>
233
                                    </div>
232
                                    <table id="authorities" class="records">
234
                                    <div class="page-section">
233
                                        <thead>
235
                                        <table id="authorities" class="records">
234
                                            <tr>
236
                                            <thead>
235
                                                <th></th>
236
                                                <th>AuthID</th>
237
                                                <th>Summary</th>
238
                                                <th>&nbsp;</th>
239
                                            </tr>
240
                                        </thead>
241
                                        <tbody>
242
                                            [% FOR authority IN records %]
243
                                                <tr>
237
                                                <tr>
244
                                                    <td><input type="checkbox" name="record_id" value="[% authority.authid | html %]" data-usage="[% authority.count_usage | html %]" /></td>
238
                                                    <th></th>
245
                                                    <td><a href="/cgi-bin/koha/authorities/detail.pl?authid=[% authority.authid | uri %]">[% authority.authid | html %]</a></td>
239
                                                    <th>AuthID</th>
246
                                                    <td>[% PROCESS authresult summary=authority.summary authid=authority.authid %]</td>
240
                                                    <th>Summary</th>
247
                                                    <td class="actions"><a href="/cgi-bin/koha/svc/records/preview?record_type=authority&record_id=[% authority.authid | uri %]&mmtid=[% mmtid | uri %]&overlay_context=batchmod" data-record_type="authority" data-record_id="[% authority.authid | html %]" data-mmtid="[% mmtid | html %]" class="previewMARC btn btn-default btn-xs"><i class='fa fa-eye'></i> Show MARC</a>
241
                                                    <th>&nbsp;</th>
248
                                                </tr>
242
                                                </tr>
249
                                            [% END %]
243
                                            </thead>
250
                                        </tbody>
244
                                            <tbody>
251
                                    </table> <!-- /#authorities -->
245
                                                [% FOR authority IN records %]
246
                                                    <tr>
247
                                                        <td><input type="checkbox" name="record_id" value="[% authority.authid | html %]" data-usage="[% authority.count_usage | html %]" /></td>
248
                                                        <td><a href="/cgi-bin/koha/authorities/detail.pl?authid=[% authority.authid | uri %]">[% authority.authid | html %]</a></td>
249
                                                        <td>[% PROCESS authresult summary=authority.summary authid=authority.authid %]</td>
250
                                                        <td class="actions"><a href="/cgi-bin/koha/svc/records/preview?record_type=authority&record_id=[% authority.authid | uri %]&mmtid=[% mmtid | uri %]&overlay_context=batchmod" data-record_type="authority" data-record_id="[% authority.authid | html %]" data-mmtid="[% mmtid | html %]" class="previewMARC btn btn-default btn-xs"><i class='fa fa-eye'></i> Show MARC</a>
251
                                                    </tr>
252
                                                [% END %]
253
                                            </tbody>
254
                                        </table> <!-- /#authorities -->
255
                                    </div>
252
                                    <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected authorities!</div>
256
                                    <div class="note"><i class="fa fa-exclamation"></i> Reminder: this action will modify all selected authorities!</div>
253
                                [% END %]
257
                                [% END %]
254
                                <fieldset class="action">
258
                                <fieldset class="action">
255
- 

Return to bug 32241