Bug 41674: Use LinkPref for CurbsidePickup

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Jonathan Druart 2026-06-19 13:59:18 +02:00 committed by Pedro Amorim
parent a746db644c
commit 8526f2ac3b
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
[% USE raw %] [% USE raw %]
[% USE KohaSpan %] [% USE KohaSpan %]
[% USE Koha %] [% USE Koha %]
[% USE LinkPref %]
[% USE Asset %] [% USE Asset %]
[% USE TablesSettings %] [% USE TablesSettings %]
[% PROCESS 'i18n.inc' %] [% PROCESS 'i18n.inc' %]
@ -57,7 +58,7 @@
[% UNLESS Koha.Preference('CurbsidePickup') %] [% UNLESS Koha.Preference('CurbsidePickup') %]
[% SET pref_CurbsidePickup_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CurbsidePickup">CurbsidePickup</a>' %] [% SET pref_CurbsidePickup_link = '<a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=CurbsidePickup">CurbsidePickup</a>' %]
<div class="alert alert-info">The [% pref_CurbsidePickup_link | $raw | $KohaSpan %] preference is not enabled, do not forget to enable it to turn the feature on.</div> <div class="alert alert-info">The [% "CurbsidePickup" | html | $LinkPref %] preference is not enabled, do not forget to enable it to turn the feature on.</div>
[% END %] [% END %]
<form method="post" class="form"> <form method="post" class="form">
[% INCLUDE 'csrf-token.inc' %] [% INCLUDE 'csrf-token.inc' %]