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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-7 / +9 lines)
Lines 3-8 Link Here
3
[% USE Koha %]
3
[% USE Koha %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% USE AdditionalContents %]
5
[% USE AdditionalContents %]
6
[% USE KohaPlugins %]
6
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
7
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
8
[% SET LoginEnabled = ( Koha.Preference('opacuserlogin') == 1 ) %]
9
[% SET LoginEnabled = ( Koha.Preference('opacuserlogin') == 1 ) %]
Lines 16-21 Link Here
16
[% SET RecallsEnabled = ( Koha.Preference('UseRecalls') == 1 ) && LoginEnabled %]
17
[% SET RecallsEnabled = ( Koha.Preference('UseRecalls') == 1 ) && LoginEnabled %]
17
[% SET ArticleRequestsEnabled = ( Koha.Preference('ArticleRequests') == 1 ) && LoginEnabled %]
18
[% SET ArticleRequestsEnabled = ( Koha.Preference('ArticleRequests') == 1 ) && LoginEnabled %]
18
[% SET MultiHolds = ( Koha.Preference('DisplayMultiPlaceHold') == 1 ) && HoldsEnabled %]
19
[% SET MultiHolds = ( Koha.Preference('DisplayMultiPlaceHold') == 1 ) && HoldsEnabled %]
20
[% SET CoverImagePlugins = KohaPlugins.get_plugins_opac_cover_images %]
19
21
20
[% BLOCK delete_shelf %]
22
[% BLOCK delete_shelf %]
21
    <form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="deleteshelf[% shelf.shelfnumber | html %]" class="d-inline">
23
    <form action="/cgi-bin/koha/opac-shelves.pl" method="post" id="deleteshelf[% shelf.shelfnumber | html %]" class="d-inline">
Lines 384-395 Link Here
384
                                                    [% END %]
386
                                                    [% END %]
385
                                                    <td>
387
                                                    <td>
386
                                                        <div class="coverimages">
388
                                                        <div class="coverimages">
387
                                                            <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% itemsloo.biblionumber | html %]">
389
                                                            [% IF ( itemsloo.title ) %]
388
                                                                [% IF ( itemsloo.title ) %]
390
                                                                [% img_title = itemsloo.title %]
389
                                                                    [% img_title = itemsloo.title %]
391
                                                            [% ELSE %]
390
                                                                [% ELSE %]
392
                                                                [% img_title = itemsloo.biblionumber %]
391
                                                                    [% img_title = itemsloo.biblionumber %]
393
                                                            [% END %]
392
                                                                [% END %]
394
                                                            <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% itemsloo.biblionumber | html %]" data-isbn="[% itemsloo.normalized_isbn | html %]" data-title="[% img_title | html %]">
393
395
394
                                                                [% IF ( OPACLocalCoverImages ) %]
396
                                                                [% IF ( OPACLocalCoverImages ) %]
395
                                                                    <span title="[% img_title | html %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
397
                                                                    <span title="[% img_title | html %]" class="[% itemsloo.biblionumber | html %]" id="local-thumbnail[% loop.count | html %]"></span>
Lines 812-817 Link Here
812
814
813
[% INCLUDE 'opac-bottom.inc' %]
815
[% INCLUDE 'opac-bottom.inc' %]
814
[% BLOCK jsinclude %]
816
[% BLOCK jsinclude %]
817
[% CoverImagePlugins | $raw %]
815
[% IF OpenLibraryCovers || OpenLibrarySearch %]
818
[% IF OpenLibraryCovers || OpenLibrarySearch %]
816
    [% Asset.js("js/openlibrary.js") | $raw %]
819
    [% Asset.js("js/openlibrary.js") | $raw %]
817
[% END %]
820
[% END %]
818
- 

Return to bug 38422