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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-4 / +8 lines)
Lines 239-254 Link Here
239
                                    [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
239
                                    [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %]
240
                                        <tr>
240
                                        <tr>
241
                                            [% # Cell 1: Checkbox %]
241
                                            [% # Cell 1: Checkbox %]
242
                                            [% IF ( SEARCH_RESULT.title ) %]
243
                                                [% check_title = SEARCH_RESULT.title %]
244
                                            [% ELSE %]
245
                                                [% check_title = SEARCH_RESULT.biblionumber %]
246
                                            [% END %]
242
                                            <td class="select selectcol">
247
                                            <td class="select selectcol">
243
                                                [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
248
                                                [% IF Koha.Preference( 'opacbookbag' ) == 1 %]
244
                                                    <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" /> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
249
                                                    <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" aria-label="Select search result: [% check_title | html %]" /> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
245
                                                [% ELSE %]
250
                                                [% ELSE %]
246
                                                    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
251
                                                    [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
247
                                                        <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" /> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
252
                                                        <input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" aria-label="Select search result: [% check_title | html %]"/> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
248
                                                    [% ELSE %]
253
                                                    [% ELSE %]
249
                                                        [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
254
                                                        [% IF Koha.Preference( 'RequestOnOpac' ) == 1 %]
250
                                                            [% UNLESS ( SEARCH_RESULT.norequests ) %]
255
                                                            [% UNLESS ( SEARCH_RESULT.norequests ) %]
251
                                                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" /> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
256
                                                                [% IF Koha.Preference( 'opacuserlogin' ) == 1 %]<input type="checkbox" class="cb" id="bib[% SEARCH_RESULT.biblionumber | html %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber | html %]" aria-label="Select search result: [% check_title | html %]"/> <label for="bib[% SEARCH_RESULT.biblionumber | html %]"></label>
252
                                                                [% END %]
257
                                                                [% END %]
253
                                                            [% END %]
258
                                                            [% END %]
254
                                                        [% END # IF RequestOnOpac %]
259
                                                        [% END # IF RequestOnOpac %]
255
- 

Return to bug 25244