Bug 29002: (follow-up) Fix biblio-view-menu on bookings tab

Another rebase change, we moved from can_ in Auth.pm to Koha.Preference

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Martin Renvoize 2023-05-19 16:39:39 +01:00 committed by Tomas Cohen Arazi
parent 358aea5eeb
commit 674d240f03
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -12,7 +12,7 @@
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% biblio_object_id | url %]">Normal</a>
</li>
[%- IF ( can_view_MARC ) -%]
[%- IF Koha.Preference('viewMARC') -%]
[%- IF ( marcview ) -%]
<li class="active">
[%- ELSE -%]
@ -22,7 +22,7 @@
</li>
[%- END -%]
[%- IF ( can_view_labeledMARC ) -%]
[%- IF Koha.Preference('viewLabeledMARC') -%]
[%- IF ( labeledmarcview ) -%]
<li class="active">
[%- ELSE -%]
@ -32,7 +32,7 @@
</li>
[%- END -%]
[%- IF ( can_view_ISBD ) -%]
[%- IF Koha.Preference('viewISBD') -%]
[%- IF ( isbdview ) -%]
<li class="active">
[%- ELSE -%]